Resource Cleanup

Resource Cleanup

EC2

  1. Access the Control Panel: Go to the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. Select Instances: In the navigation pane, select Instances.

  3. Choose the Instance to Terminate: Select the instance you want to terminate, then choose Instance state, and select Terminate instance.

  4. Confirm Termination: When prompted for confirmation, select Terminate.

Delete VPC Using Console Interface

When you delete a VPC using the Amazon VPC console interface, we will also delete the following VPC components for you:

  1. DHCP options
  2. Egress-only internet gateways
  3. Gateway endpoints
  4. Internet gateways
  5. Network ACLs
  6. Route tables
  7. Security groups
  8. Subnets

To Delete Your VPC Using the Console Interface

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

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

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

  • In the navigation pane, choose Your VPCs.

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

  • If there are resources you need to delete or terminate before we can delete the VPC, we’ll display them. Delete or terminate these resources and try again. If not, we’ll display the resources we’ll delete along with the VPC. Review the list and then proceed to the next step.

  • (Optional) If you have a Site-to-Site VPN connection, you have the option to delete it. If you plan to use the customer gateway with another VPC, we recommend keeping the Site-to-Site VPN connection and customer gateways. Otherwise, you’ll need to reconfigure your customer gateway device after you create a new Site-to-Site VPN connection.

  • When prompted for confirmation, enter delete and then choose Delete.

Delete AD