Clean up resources

Please follow these step to clean up the resource:

  1. Terminate EC2 instance
  • Access the EC2 Management Console.
  • In the left navigation bar, select Instances.
  • Select created EC2 Instances related to the lab.
  • Click Actions.
  • Click Manage Instance State.
  • Select Terminate.
  • Click Change State. Deployment
  1. Delete Stack of CloudFormation
  • Access CloudFormation console.
  • Choose the stack relating to lab.
  • Click delete. Deployment
  1. Delete the VPC
  • Access VPC console.
  • Choose VPC relating to the lab.
  • Click delete.

When you delete Stack and VPC respectively, all related resources such as Subnets, Route table, Internet Gateway are also deleted.

  1. Delete DB Instance
  • Access the RDS Management Console.
  • In the left navigation bar, select Databases.
  • Select all DB Instances related to the lab.
  • Click Actions.
  • Click Delete.
  • Enter delete me in the empty field.
  • Click Delete. Deployment
  • You also need to access Subnet groups and delete the related one. Deployment
  1. Delete RDS snapshots
  • Access the RDS Management Console.
  • In the left navigation bar, select Snapshots.
  • Select all snapshots related to the lab.
  • Click Actions.
  • Click Delete snapshot.
  • Click Delete. Deployment
  1. Delete Security groups
  • Access the VPC Console.
  • In the left navigation bar, select Security Groups.
  • Select all Security Groups related to the lab.
  • Click Actions.
  • Click Delete security groups.
  • Click Delete. Deployment