Containers
An environment’s service runs as one or more containers on AWS Fargate, spread across two availability zones in the environment’s region. Each container is checked every 30 seconds to confirm the app still accepts connections on itsPORT, and a container that fails three
checks in a row is replaced.
Deploys and container replacements never take the app down: a new container is always started and
checked before the one it replaces is stopped. To also keep serving through an app crash or the loss
of a whole availability zone, run two or more containers, so the others handle traffic while one is
replaced. Each container is billed separately.