cloadyDocs
Docs11 min read

Core Concepts

The words the dashboard uses, and what each one means for your apps.

Workspace

A workspace holds your applications, your teammates, your integrations and your bill. It has a name and a short URL name — its slug (acme) — and its dashboard lives at cloady.com/w/acme.

One workspace covers every region and every environment; there is nothing to set up per location. Everyone you invite sees every app in it, and one subscription covers all of them (Capacity and price).

Application

An application — "app" in the dashboard — is one thing you have deployed: a WordPress site, a Node API, a Postgres database. It has a URL, logs, variables, storage and a deployment history, and you start one from three places:

  • Catalog — a ready-made app (WordPress, Postgres, n8n, …): pick it, name it, deploy.
  • GitHub — one of your repos, built by Cloady and redeployed when you push.
  • Upload — a folder or zip from your machine.

What an app is made of — its services and its volumes — is fixed when you create it, except that an app built from a GitHub repository with a compose file picks up changes to that file on each deploy. There is no upgrade onto a newer catalog release; deploy a fresh app and migrate.

Each app lives in one region and one environment, both chosen when you create it, and its name is unique inside your workspace and environment — so blog in production and blog in preview are two different apps, with their own data and their own URLs.

Renaming an app changes its URL, because the address follows the name. The change takes effect immediately and nothing else moves: data, variables and custom domains stay put, so you only have to update whatever linked to the old address. (For apps built from your own code, deployments made before a rename can no longer be rolled back to.)

Deleting an app deletes its data permanently — never delete an app in order to rename it.

Services and endpoints

  • A service is one container inside an app — a WordPress app has two, the site and its MariaDB database. Each appears on its own in Settings → Services with a terminal button, and the app's live logs can show each service separately.
  • An endpoint is a port a service listens on, plus its protocol. A published port is reachable from the internet; a port exposed only internally is reachable by the app's other services, by service name. Web ports get an https:// URL; database and game ports are raw TCP or UDP and get a host and a port number.

An app has one public hostname, answered by its primary endpoint — the first HTTP endpoint it declares, or its first TCP endpoint if it declares none. Other services get no hostname of their own; reach them from inside the app by service name. When an app publishes a TCP or UDP port alongside a website, connect to that port using the IPv6 address shown on the app's page.

Publish a port by listing it under ports: in your compose file; list it under expose: to keep it internal. Cloady reads a port's protocol from its number, so add /tcp or /udp to make a port raw, for example "25565:25565/tcp" for a game server or "443:443/tcp" for your own TLS service. Raw TCP and UDP ports are published over IPv6, on the app's own IPv6 address, which its page shows and its hostname's AAAA record points to.

SSH and SFTP

You can open a shell in any running service without installing an SSH server: Terminal opens one in the browser. For your own SSH client, press the key next to a service in Terminal to see its login: host ssh.cloady.io, port 22, a user name and a password, which never expire and open only that service. For files, press the key next to a volume in Files: it shows an SFTP login for that volume, for example for FileZilla, and its S3 keys. ssh.cloady.io serves SSH and SFTP on an IPv6 address only, so connect from a network with IPv6; the browser terminal works from anywhere.

Region

A region is where an app runs: usw1 (US West), use1 (US East), usc1 (US Central), eu1 (Germany), uk1 (United Kingdom), jpn1 (Japan), sin1 (Singapore), aus1 (Australia) and ind1 (India), of which the region menu offers the ones open for new apps. You pick one when you create the app, and can move it later with Transfer in the app's danger zone; an app with volumes is down while its data copies to the new region. Apps do not fail over between regions; if you need one in two places, deploy it twice.

There is nothing to switch on first. A new workspace can deploy to any region right away, free or paid. One error stops a deploy on those grounds:

  • payment_required — the app would cost money, since neither the free tier nor a free trial covers it (it takes the workspace past its free allowance, or your account's free tier is already in use in another workspace), and there is no card on file, or the card was declined. The workspace owner can add one in Account → Billing, or you can make the app smaller.

When a region has no room for a new app, the deploy shows Adding capacity… for a few minutes while a server joins the region. If none arrives the deploy fails; retry, or choose another region.

Capacity and price

You never pick a plan. A workspace's apps declare what they need — the limits in their compose files, multiplied by the scale you choose — and the total is priced on five plans:

PlanvCPURAMSSDPrice / month
Nano0.5 vCPU1 GB5 GB$3.00
Small1 vCPU2 GB50 GB$5.00
Medium4 vCPU8 GB200 GB$15.00
Large10 vCPU44 GB600 GB$65.00
Max16 vCPU92 GB1 TB$120.00
  • The total lands on the smallest plan that covers all three resources and is priced between that plan and the one below it. Reaching a plan's limits exactly costs that plan's price; anything in between costs in between, so the bill never jumps at a boundary and asking for more never costs less.
  • Prices are the same in every region, and you pay for what your apps declare, not for what they use. The free tier includes 10 GB of outbound traffic a month; paid capacity includes unlimited network traffic.
  • Each account gets one free workspace: of the workspaces whose apps fit inside 0.5 vCPU, 1 GB of RAM and 5 GB of SSD, the one with the oldest app pays nothing, and every other workspace pays for all its apps. It is a threshold, not a discount: once any one resource goes past it, the whole workspace is billed, and the free tier passes to the next workspace that fits. The free tier is one per person or organization: you can have several accounts, but only one of them may use it. The free tier is available in select regions.
  • Select regions also offer a free trial: there, an account's first small app, one that fits inside 0.5 vCPU, 1 GB of RAM and 5 GB of SSD, runs free for one month, with no card needed to start. Each account gets the trial once, and deleting the app doesn't give it back. While the app is on its trial it isn't counted in the workspace's price.
  • Cloady emails the owner three days before the trial month ends. Afterwards, if the workspace owner has a card on file, the app keeps running and is billed at its normal monthly price; without one it stops and keeps its data, and starting it again needs a card. Resizing a trial app beyond that size ends the trial. A dedicated app, one whose cloady.json declares "type": "dedicated", never gets the trial.
  • Increases are charged straight away for the rest of the period, and a declined card blocks the change rather than granting it. Decreases take effect at your next renewal, so you keep what you already paid for.

Environment

Every app is in one of three environments — production, preview or development:

  • Names do not collide across them: production blog and preview blog are separate apps.
  • They all count toward the workspace's usage and its one bill.
  • The hostname does not include the environment; the unique code in it already keeps a production and a preview blog apart.
  • Apps in development do not redeploy on a push unless you turn that on; production and preview do by default.

Region and environment are part of the dashboard URL (cloady.com/w/acme/usw1/production/a/blog); the switcher at the top changes which set of apps you are looking at.

A workspace is global across regions; each application sits in one region and environment cellWorkspace acmeidentity · members · integrations — global across every regioncloady.com/w/acmeregions →envs ↓usw1US Westeu1Germanysin1Japanproductionpreviewdevelopmentblogshopeu-apiedgeblog——scratch——Dashboard URLcloady.com/w/acme/usw1/production/a/blogthe same name may repeat in another environment

Domain

A domain is a hostname pointing at an app, managed in Settings → Domains:

  • Built-in — the cloady.io hostname every app gets. HTTPS is set up for you.

  • Custom — a hostname you own. Add it, then create the DNS record the panel shows: a CNAME to the built-in hostname for a subdomain, or the A and AAAA records it lists for a bare apex, which cannot be a CNAME. Once DNS resolves, Cloady gets a Let's Encrypt certificate for it; the panel tracks it as queued → pending → issued, and shows failed with a reason if the record never resolved.

  • Registered with Cloady — a domain you buy here, from the deploy field (type a name like acme.dev), from an app's Domains form when the name you type is still free, or from Workspace settings → Domains. It is registered for a year with WHOIS privacy, belongs to the workspace rather than to one app, and with Automatic DNS the domain and every subdomain already point at Cloady, so attaching shop.acme.dev to any app needs no DNS change. Cloady renews it a month before it expires, charged to the workspace's card, unless you turn auto-renew off.

The Open button uses the built-in hostname. Marking a domain primary (through the API or Terraform) only labels it in the list.

Workspace settings → Domains lists every domain in the workspace. A domain registered here gets a record editor (MX, TXT, CNAME and the rest, with presets for common mail providers); a domain on another DNS provider shows the records to add there and whether they resolve yet. Each app's own cloady.io hostname can carry records too, on names below it such as mail or _verify.

Resources and scaling

A workspace's usage is the sum of what its apps declare. There is no capacity to buy up front and no ceiling to run into.

Each service runs with a CPU and a memory limit — whatever the app declares, or 0.5 vCPU and 1 GB when it declares nothing. Settings → Resources scales those per app, from 0.5× to 4× in quarter steps, CPU and memory separately, and what an app costs is the sum of its services' limits at the current scale.

When you deploy a new app or scale one up, Cloady adds its limits to everything already deployed and prices the new total before anything is created. Inside the free allowance, or on a free trial, nothing is charged. Otherwise the card on file is charged for the difference; with no card, or a declined one, you get payment_required and nothing changes. The scale form shows the monthly difference before you save.

Storage behaves differently from CPU and memory. Volume sizes are set per volume in Settings → Resources, the scale factor never touches them, and a volume can grow but never shrink — the new size applies when you save and cannot be undone. The app's own page lists its volumes with how full each one is, and Browse files opens one.

URLs

Cloady uses two domains: cloady.com for the dashboard, where workspaces are paths (cloady.com/w/acme), and cloady.io for your deployed apps.

An app's hostname is its name, a short unique code, and the workspace name. It has the same form in every region and every environment, and each app gets its own code:

my-blog-k7q2v9ze-acme.cloady.io   production · usw1
my-blog-p3x8m1wd-acme.cloady.io   preview    · eu1

The first part is the app's slug, editable in Settings → General. It follows the app's name until you set it yourself; after that it stays put, and renaming the app no longer changes the URL.

Builds

An app from a GitHub repository or a folder is built from what Cloady finds in its root directory (Settings → Build, the repository root unless you set one), in this order:

  1. A compose file — docker-compose.yml, docker-compose.yaml, compose.yml or compose.yaml. Each service runs as described, and services with build: are built.
  2. A Dockerfile — built as it is.
  3. Anything else — Railpack detects the language and builds it.

Two variables point at files that live somewhere else. Set them in Settings → Environment, or in the Environment step before the first deploy:

VariableWhat it does
CLOADY_DOCKERFILE_PATHThe Dockerfile to build, such as api/Dockerfile or Dockerfile.prod. The root directory stays the build context, as with docker build -f api/Dockerfile .
CLOADY_COMPOSEFILE_PATHThe compose file to deploy, such as deploy/compose.prod.yml. Build contexts and config files in it are relative to its own folder, as in Docker Compose.

Both paths are relative to the root directory, and a file that doesn't exist is ignored, so the usual order above applies. A compose service's own build.dockerfile wins over CLOADY_DOCKERFILE_PATH. A changed path applies on the next deploy, except that the compose file of an uploaded folder is read only when the app is created.

The compose file can also be named in a cloady.json at the root directory, where it travels with the repository. CLOADY_COMPOSEFILE_PATH wins when both are set:

JSON
{ "composeFile": "deploy/compose.prod.yml" }

An app built without a compose file is served on port 3000 unless its PORT variable names another, such as PORT=8080 for an image that listens on 8080.

A deploy goes live once each of its web services accepts connections on its port. A service that still doesn't after an hour fails the deploy, and the error names the port it waited on. For an app whose first start takes longer, set CLOADY_READINESS_TIMEOUT_SEC to the seconds it needs, such as 7200 for two hours. A cloady.json can give it a default through envSchema:

JSON
{ "envSchema": { "CLOADY_READINESS_TIMEOUT_SEC": { "default": "7200" } } }

A container that keeps crashing during a deploy is restarted, with growing pauses in between, up to 10 times, which takes about half an hour. Then the deploy fails and Cloady steps in. If the app is built from code and its previous version still runs, Cloady goes back to that version. Otherwise, if the app's address or every service is down, Cloady stops the app and shows it as error until you press Start or deploy again. An app that starts crashing after a deploy went live keeps being restarted. Set CLOADY_MAX_RESTARTS to give a deploy more or fewer restarts. A cloady.json sets it the same way:

JSON
{ "envSchema": { "CLOADY_MAX_RESTARTS": { "default": "20" } } }

Environment variables

Settings → Environment holds the variables your app's services see. Values marked secret are hidden after saving and can be revealed one at a time, and you can paste a .env file to import many at once. A change takes effect on the next deploy — saving a variable does not restart what is already running, so use Redeploy to apply it right away.

Cloady sets a few itself, which you can reference from your own values with ${...}:

VariableValue
CLOADY_PRIMARY_URLhttps:// plus the app's hostname
CLOADY_PRIMARY_HOST, CLOADY_DOMAINthe app's hostname
CLOADY_WORKSPACE, CLOADY_SVCIDthe workspace slug, the app's slug
CLOADY_HOST_<SERVICE>the in-app address of another service

Next: see the Dashboard Guide for working in the UI, or the API Overview to drive Cloady programmatically.

On this page