release environments pause

Command reference doc for the Release CLI

Pause a running environment

Description

Pause a running ephemeral environment to save resources while preserving its state.

The environment's containers will be stopped but not removed, allowing you to resume the environment later without losing any data or configuration.

If the --wait flag is passed, the command will wait until the environment is fully paused before exiting. This is useful for automation scripts and CI/CD pipelines.

release environments pause [ENVIRONMENT_ID or HANDLE] [flags]

Examples


Pause an environment by ID:
> release environments pause v9mc2jlz --account my-account --app my-app

Pause an environment by handle:
> release environments pause my-feature-env --account my-account --app my-app

Pause an environment and wait for completion:
> release environments pause v9mc2jlz --account my-account --app my-app --wait

Using short form with alias:
> release envs stop my-feature-env --account my-account --app my-app

Options

--account <string>

Account name or ID (default: $RELEASE_ACCOUNT or "account" in config file)

--app <string>

App name or ID (default: $RELEASE_APP or "app" in config file)

--wait

Wait for environment pause to complete before exiting

Options inherited from parent commands

--config <string>

config file (default is $HOME/.release.yaml)

--debug

enable debug logging

Last updated

Was this helpful?