Tear down
The following instructions will remove the resources that have a cost for running them. Please note that
Security Groups and SSH key will exist. You may remove these also or leave for future use.
Terminate the instance:
- Sign in to the AWS Management Console, and open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.
- From the left console instance menu, select Instances.
- Select the instance you created to terminate.
- From the Actions button (or right click) select Instance State > Terminate.

- Verify this is the instance you want terminated, then click the Yes, Terminate button.
Delete the Application Load Balancer:
- Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.
- From the console dashboard, choose Load Balancers from the Load Balancing section.
- Choose the load balancer you created previously such as
lab-alb
and click Actions, then Delete. - Confirm by clicking Yes, Delete.
- From the console dashboard, choose Target Groups from the Load Balancing section.
- Choose the target group you created previously such as
lab-alb
and click Actions, then Delete.
Delete the AWS WAF stack:
- Open the CloudFormation console at https://console.aws.amazon.com/cloudformation/.
- Select the
lab-waf-regional
stack. - Click the Actions button, and then click Delete Stack.
- Confirm the stack, and then click the Yes, Delete button.