← Back to Concepts

The seven phases an application moves through

Deploy and Run — the same bytes, a different environment

Page 4 of 6

Deploy is conditional on where the application runs: on a cluster it renders and applies the API and worker manifests, waits for them to be ready and reports back. Locally there is nothing to deploy — the API and the worker are processes.

Which of those happens is decided by the environment, never by a flag on the command. An environment names a running platform instance and a substrate — host processes, a cluster, or plain containers — and the application is the same bytes in all of them. What differs is the environment and the organisation, which is what makes a promotion from a development environment to a real one a change of context rather than a rebuild.

Used in