Clean up resources

Clean up resources

We will proceed to delete the resources in the following order

Terminate EC2 Instances.

  1. Terminate EC2 instance.
    • Access the Amazon EC2 console at EC2.
    • On the left navigation bar, select Intances
    • Select all EC2 Instances related to the lab.
    • Select Instance state
    • Select Terminate instance

Create VPC

  1. Confirm terminate.

Create VPC

Remove NAT Gateway and Elastic IP Address

  • Remove NAT Gateway and Elastic IP Address. AWS charges for wasted EIPs, so you need to double-check to avoid unintended charges.
  • Visit the Amazon VPC console page at VPC
  • On the left navigation bar, click NAT Gateway.
  • Select NAT Gateway.
  • Click Action.
  • Click Delete NAT Gateway.

Create VPC

  • Type delete.
  • Click Delete to confirm deletion of NAT Gateway

Create VPC

Create VPC

Delete delete Elastic IP Address.

  • Continue to delete Elastic IP Address.
  • Visit the Amazon VPC console page at https://console.aws.amazon.com/vpc/
  • On the left navigation bar, click Elastic IP.
  • Select the Elastic IP Address we created.
  • Click Action.
  • Click Release Elastic IP Address
  • Click Release.

Create VPC

Create VPC

Continue to do the same and delete in the following order:

  • VPN Site to Site connection.

Create VPC

Create VPC

  • Virtual Private Gateway.

Create VPC

Create VPC

Create VPC

Create VPC

  • Customer Gateway.

Create VPC

Create VPC

  • VPC ASG VPN

Create VPC

Create VPC

  • VPC ASG.

Create VPC

Create VPC