Clean up resources

Delete ECS service

  1. Open the Amazon ECS console at ECS.

  2. On the navigation bar, select the Region with your cluster.

  3. In the navigation pane, choose Clusters and select the name of the Cluster associated with the lab.

  4. On the Cluster page, select Services

  5. Select Delete.

  6. Select Force delete and confirm the deletion of the service. Clean Stack CloudFormation

Delete repository

  1. Access ECR.

  2. Select the Region containing the repository

  3. Select Repositories

  4. Select Private and select the repositories related to the lab.

  5. Select Delete

Clean Stack CloudFormation

Clean Stack CloudFormation

Empty the S3 Bucket

  1. Access the S3 console
  2. Select General purpose buckets in the left navigation bar
  3. Select the lab’s Bucket
  4. Click Empty
  5. Type Permanently delete to confirm
  6. Click Empty (Delete)

Clean Stack CloudFormation

Clean Stack CloudFormation

Delete CloudFormation Stack

  1. Access CloudFormation
  2. Select Stacks
  3. Select the stack related to the lab.
  4. Select Delete

Clean Stack CloudFormation