Tear down this lab
If you are attending an in-person workshop and were provided with an AWS account by the instructor:
- There is no need to tear down the lab. Feel free to continue exploring. Log out of your AWS account when done.
If you are using your own AWS account:
- You may leave these resources deployed for as long as you want. When you are ready to delete these resources, see the following instructions
Remove AWS CloudFormation provisioned resources
How to delete an AWS CloudFormation stack
If you are already familiar with how to delete an AWS CloudFormation stack, then skip to the next section: Delete workshop CloudFormation stacks
- Go to the AWS CloudFormation console: https://console.aws.amazon.com/cloudformation
- Select the CloudFormation stack to delete and click Delete
- In the confirmation dialog, click Delete stack
- The Status changes to DELETE_IN_PROGRESS
- Click the refresh button to update and status will ultimately progress to DELETE_COMPLETE
- When complete, the stack will no longer be displayed. To see deleted stacks use the drop down next to the Filter text box.
- To see progress during stack deletion
- Click the stack name
- Select the Events column
- Refresh to see new events
Delete workshop CloudFormation stacks
- First delete the HealthCheckLab CloudFormation stack
- Wait for the HealthCheckLab CloudFormation stack to complete (it will no longer be shown on the list of actice stacks)
- Then delete the WebApp1-VPC CloudFormation stack
Remove CloudWatch logs
After deletion of the WebApp1-VPC CloudFormation stack is complete then delete the CloudWatch Logs:
- Open the CloudFormation console at https://console.aws.amazon.com/cloudwatch/.
- Click Logs in the left navigation.
- Click the radio button on the left of the WebApp1-VPC-VPCFlowLogGroup-<some unique ID>.
- Click the Actions Button then click Delete Log Group.
- Verify the log group name then click Yes, Delete.
References & useful resources