Cleanup Resources
Cleanup Resources
After completing the workshop, we will proceed with the cleanup of resources.
Delete Auto Scaling Group
In the EC2 management interface, on the left navigation pane, scroll down and select Auto Scaling Groups.
- Select the Auto Scaling Group FCJ-Management-ASG
- Click the Actions button at the top right of the screen
- Choose Delete

Delete Load Balancer
In the EC2 management interface, on the left navigation pane, scroll down and select Load Balancer.
- Select the Load Balancer FCJ-Management-LB
- Click the Actions button at the top right of the screen
- Choose Delete load balancer

Delete Target Group
In the EC2 management interface, on the left navigation pane, scroll down and select Target Group.
- Select the Target Group FCJ-Management-TG
- Click the Actions button at the top right of the screen
- Choose Delete

Delete Launch Template
In the EC2 management interface, on the left navigation pane, scroll down and select Launch Templates.
- Select the Launch Template FCJ-Management-TG
- Click the Actions button at the top right of the screen
- Choose Delete template

Deregister AMI
In the EC2 management interface, on the left navigation pane, scroll down and select AMIs.
- Select the AMI FCJ-Management-AMI
- Click the Actions button at the top right of the screen
- Choose Deregister AMI

Terminate EC2 Instance
In the EC2 management interface, on the left navigation pane, select Instances.
- Select the FCJ-Management instance
- Click the Instance state button at the top right of the screen
- Choose Terminate (delete) instance

Delete RDS Database
- Access RDS
- On the left navigation pane, select Databases
- Select the database instance fcj-management-db-instance related to the lab.
- Click Modify.

In the Modify DB Instance section, scroll down to the bottom:
- Uncheck Enable deletion protection
- Click Continue

Continue in the Schedule modifications section:
- Select Apply immediately
- Click Modify DB instance

Proceed to delete the DB instance:
- Select the database instance fcj-management-db-instance
- Click the Actions button at the top right of the screen
- Choose Delete

- Select I acknowledge that upon instance deletion, automated, including system snapshots and point-in-time recovery, will no longer be available
- Enter delete me
- Click Delete

Delete Subnet Group
- Select Subnet groups
- Select the subnet group fcj-management-subnet-group
- Click Delete
