Skip to main content

Choose How to Run Dex

View as Markdown

Dex Server runs in one of two places: in Dex Cloud, where Super Durable runs it for you, or on your own infrastructure. Your Workers run your Flow code in both cases, on your servers, your cloud, or your laptop. For development, dexcli dev runs a local server on your machine.

Dex CloudSelf-hosted
Who operates Dex ServerSuper Durable: storage, upgrades, capacity, and monitoringYou
Where Flow state is storedIn Dex Server's storage, which Super Durable operates. Flow inputs, Attributes, and Step results live there.In the object storage bucket you provide
Where your code runsYour Workers, on your servers, your cloud, or your laptop. Your code and your API credentials stay there.The same
How Workers connectOver TLS, with the server's API keyThrough the authentication and TLS you configure
UpgradesSuper Durable upgrades the serverYou upgrade it; upgrades roll forward. See Upgrades and compatibility
What you set upA server in Dex Cloud, which gets its own endpoint and API keyThe smallest real deployment: a server node, object storage, authentication, and TLS
Pricing, regions, and SLAContact Super DurableYou choose them: your cloud, your regions, your own availability targets
Get startedSign up for Dex CloudRun Dex in Production

Dex Cloud

Super Durable runs Dex Server for your application. Each server you create in Dex Cloud has its own endpoint and API key. Your Workers and Clients connect to that endpoint over TLS with the key.

Your code runs in your Workers, so your code and the credentials it uses for your own APIs stay on your side. Flow state, meaning Flow inputs, Attributes, and Step results, is stored by Dex Server, so in Dex Cloud it lives in storage that Super Durable operates.

To connect a Worker or a Client, pass the endpoint and the key:

Sign up for Dex Cloud, then create a server.

Self-hosted

You run dex-server-zd next to your Workers. It keeps every Flow in object storage, such as Amazon S3, and a hot standby can take over when the active node stops. You configure authentication, TLS, retention, and monitoring yourself. Run Dex in Production lists each item.

The Sustainable Use License lets you run Dex for your own business.

Local and production

ComponentLocal developmentProduction
Serverdexcli dev starts server-zddex-server-zd serve with object storage, or Dex Cloud
Webdexcli dev starts Dex WebA separate dex-web process, or dexcli web
ApplicationYour Worker processYour Worker service, scaled like any service

Run Locally covers the local side, and Run Dex in Production the production side.

Next