Stop and restart an environment

You can stop an environment if you need to suspend but not terminate the resources within the environment. When you stop an environment, all of the resources within the environment are also stopped, including Data Lakes and Data Hubs. You can also restart the environment.

Required role: EnvironmentAdmin or Owner

Steps

  1. Navigate to the environment in Management Console > Environments.
  2. Click Actions > Stop Environment and confirm the action.
  3. To restart the environment, click Actions > Start Environment.

Use the following command to stop an environment:

cdp environments stop-environment --environment-name <ENVIRONMENT_NAME>

Use the following commands to start an environment:

cdp environments start-environment --environment-name <ENVIRONMENT_NAME> [--with-datahub-start]

Use the following commands to start an environment and all Data Hubs running in it:

cdp environments start-environment --environment-name <ENVIRONMENT_NAME> --with-datahub-start