openstead
Services

Choose a service

Match each part of your application to the right Openstead service.

Suggest a change

A service is a separately configured and deployed part of your application. A project groups related services, such as a frontend, API, worker, and database. Openstead provides the infrastructure; you connect your code and choose how it runs.

Compare service types

ServiceUse it forHow it runsPublic URL
Web serviceAPIs, server-rendered websites, application backendsA continuously running application processYes
Static siteHTML, CSS, JavaScript, client-rendered frontendsFiles produced by a buildYes
Private serviceInternal HTTP services and application componentsA running process reachable through private networkingNo
Background workerQueue consumers and asynchronous processingA continuously running worker processNo
Cron jobPeriodic reports, cleanup, scheduled application commandsA fresh execution on a scheduleNo
PostgreSQLRelational application dataA managed database with persistent storagePrivate connections
MySQLMySQL applications, including LaravelA managed database with persistent storagePrivate connections
Key ValueRedis-compatible caches, queues, shared stateA managed Redis-compatible servicePrivate connections

Choose between a web service and a static site

Choose a web service when requests execute server code. Next.js server rendering, Django views, Laravel routes, and Express APIs need a running server.

Choose a static site when your build produces a directory that can be served as files. Vite frontends and exported Next.js sites are common examples. A static site cannot execute PHP or open a private database connection from the browser.

A frontend and API can be separate services. Configure the frontend with the API's public URL and configure the API's CORS policy for the frontend's origin.

Build an application from several services

For a typical application:

  1. Create a project.
  2. Add a database in the intended environment.
  3. Deploy the API as a web service and connect it to that database privately.
  4. Add a worker if the application processes jobs outside HTTP requests.
  5. Add a static frontend or serve the frontend from the web service.
  6. Attach custom domains to the public services.

Deploying one service does not automatically deploy the others. Review each service's source, variables, plan, and deployment status. Use a Blueprint when you want to describe related resources together.

Keep application data outside the container filesystem

Code and dependencies belong in the deployment artifact. Store relational data in a database, and store uploaded files in object storage or a persistent disk. Files written only to a running container can disappear when it is replaced.

For your first application, follow Deploy your first service.

Need a hand? Contact Openstead support.

On this page