Resource Cleanup

Resource Cleanup

1. EC2

  1. To terminate an instance using the console.

  2. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  3. In the navigation pane, select Instances.

  4. Select the instance, and choose Instance state, Terminate instance.

  5. Select Terminate when prompted for confirmation.

2. VPC

  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. Terminate all instances in your VPC. For more information, see Terminate Your Instance in the Amazon EC2 User Guide for Linux Instances.

  3. Open the Amazon VPC console at https://console.aws.amazon.com/vpc/.

  4. In the navigation pane, select Your VPCs.

  5. Select the VPC you want to delete and choose Actions, Delete VPC.

  6. If there are resources you need to delete or terminate before we can delete your VPC, we will list them. Delete or terminate these resources and try again. Otherwise, we will list the resources we will delete along with the VPC. Review the list and proceed to the next step.

  7. (Optional) If you have a Site-to-Site VPN connection, you may choose the option to delete it. If you plan to use a customer gateway with another VPC, we recommend that you keep the Site-to-Site VPN connection and the customer gateways. Otherwise, you will need to reconfigure your customer gateway device after creating a new Site-to-Site VPN connection.

  8. When prompted for confirmation, enter delete and then select Delete