Services and service types
On Muerte Cloud you deploy code as one or more services. This page explains what a service is, and how to choose the right type for what you're running.
A service is a unit of code that Muerte Cloud builds, runs and monitors for you. It might be an API server, a static frontend, an internal worker, or a scheduled job — but the deployment model is the same for all of them.
Each service runs on one or more instances: containerized environments on Muerte Cloud infrastructure. The instance type determines how much CPU and RAM each instance gets; the number of instances determines how much parallelism you have.
Service types#
When you create a new service, the first thing you pick is its type. Muerte Cloud has six service types for running code and three managed service types for storing data — nine in total.
Which service type is right for my code?
Answer four questions in order. The first "yes" wins:
- Does the code only serve prebuilt static files? Use a static site.
- Does it receive traffic from the public internet? Use a web service.
- Does it receive traffic, but only from other services in the same project? Use a private service.
- Does it run on a fixed schedule and then exit? Use a cron job. Otherwise, if it runs continuously without exposing a port, use a background worker.
Summary of service types#
| Type | Public URL | Private hostname | Runs | Typical use |
|---|---|---|---|---|
| Web service | Yes | Yes | Continuously | API servers, SSR frontends, Rails / Django apps |
| Static site | Yes (edge) | — | Build-time only | React, Vue, Astro, Hugo, docs sites |
| Private service | No | Yes | Continuously | Internal APIs, search, self-hosted infra |
| Background worker | No | No | Continuously | Queue consumers, Sidekiq / Celery workers |
| Workflow | No | No | On trigger, then exits | Multi-step pipelines, chained jobs |
| Cron job | No | No | On schedule, then exits | Nightly reports, cleanup scripts, ETL runs |
Managed datastores#
Alongside your services, Muerte Cloud also runs three fully managed datastore types. All three are provisioned inside your project's private network and are reachable from your other services with zero configuration.
For workloads that don't fit the managed offerings, web services, private services and background workers can attach a persistent disk and run their own datastore. Cron jobs and static sites cannot attach disks.