Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Delete an environment

Focus mode
Delete an environment - AWS Proton

You can delete an AWS Proton environment by using the AWS Proton console or the AWS CLI.

Note

You can't delete an environment that has any associated component. To delete such an environment, you should first delete all components that are running in the environment. For more information about components, see AWS Proton components.

AWS Management Console

Delete an environment using the console as described in the following two options.

In the list of environments.
  1. In the AWS Proton console, choose Environments.

  2. In the list of environments, select the radio button to the left of the environment that you want to delete.

  3. Choose Actions and then Delete.

  4. A modal prompts you to confirm the delete action.

  5. Follow the instructions and choose Yes, delete.

In the environment detail page.
  1. In the AWS Proton console, choose Environments.

  2. In the list of environments, choose the name of the environment that you want to delete.

  3. In the environment detail page, choose Actions and then Delete.

  4. A modal prompts you to confirm that you want to delete.

  5. Follow the instructions and choose Yes, delete.

AWS CLI

Use the AWS CLI to delete an environment.

Don't delete an environment if services or service instances are deployed to the environment.

Run the following command:

$ aws proton delete-environment \ --name "MySimpleEnv"

Response:

{ "environment": { "arn": "arn:aws:proton:region-id:123456789012:environment/MySimpleEnv", "createdAt": "2021-04-02T17:29:55.472000+00:00", "deploymentStatus": "DELETE_IN_PROGRESS", "lastDeploymentAttemptedAt": "2021-04-02T17:48:26.307000+00:00", "lastDeploymentSucceededAt": "2021-04-02T17:48:26.307000+00:00", "name": "MySimpleEnv", "protonServiceRoleArn": "arn:aws:iam::123456789012:role/ProtonServiceRole", "templateMajorVersion": "1", "templateMinorVersion": "1", "templateName": "simple-env" } }

Delete an environment using the console as described in the following two options.

In the list of environments.
  1. In the AWS Proton console, choose Environments.

  2. In the list of environments, select the radio button to the left of the environment that you want to delete.

  3. Choose Actions and then Delete.

  4. A modal prompts you to confirm the delete action.

  5. Follow the instructions and choose Yes, delete.

In the environment detail page.
  1. In the AWS Proton console, choose Environments.

  2. In the list of environments, choose the name of the environment that you want to delete.

  3. In the environment detail page, choose Actions and then Delete.

  4. A modal prompts you to confirm that you want to delete.

  5. Follow the instructions and choose Yes, delete.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.