# Environments

An application can be deployed to a zone, which is a combination of an environment and a region. This explains the rules governing the various environments. A list of all zones is also available.

NameDescriptionExpiryCluster sizes
dev Used for manual development testing. 14 days 1
perf Used for manual performance testing. 7 days min(3, spec)
test Used for automated system tests. 2 hours 1
staging Used for automated staging tests. 6 hours min(max(2, 0.1 * spec), spec)
prod Hosts all production deployments. No expiry max(2, spec)

## Production

Deployments in prod must have at least one more node than required to handle peak load. A cluster is a container or content cluster, and a regular application has a container and a content cluster. A minimal, typical prod deployment therefore has 4 nodes.

## Other environments

To keep the specified cluster sizes, for very particular testing, outside prod, specify environment and region variants. Example:

<nodes deploy:environment="perf" count="5"/>