EXTREMELY IMPORTANT: This is a mandatory step after you complete the workshop. Failing to clean up resources will cause your AWS account to continue incurring costs, especially for services like NAT Gateway, Application Load Balancer, and EC2.
To ensure nothing is missed, we must delete the resources in the reverse order of their creation.
🔒 Execution Steps
You need to delete both distributions created for the Frontend (S3) and Backend (ALB).
This action will also automatically terminate the EC2 instances managed by the ASG.
project-backend-asg and click Delete.delete to confirm and complete the action.project-backend-alb, go to Actions, and choose Delete load balancer.confirm to confirm.project-backend-target-group, go to Actions, and choose Delete.Instances not managed by the ASG must be terminated manually.
project-bastion-host-ec2 and project-backend-ec2 instances (if the latter wasn’t already terminated by the ASG).project-backend-lauch-template, go to Actions, and choose Delete template.project-backend-ec2-ami, go to Actions, and choose Deregister AMI.You must first delete all objects inside the bucket.
project-frontend-030925 bucket.This is the final step, which will delete the VPC and its associated resources like Subnets, Route Tables, Internet Gateway, and most importantly, the NAT Gateway.
project-vpc.delete and confirm.project-keypair, go to Actions, and choose Delete.