Cleanup VPC

Cleanup VPC

Cleanup Route table

  1. Go to VPC service management console
  • Click Route tables.
  • Choose labPublicRT01.
  • Click Subnet associations.
  • Click Edit subnet associations. Cleanup
  1. At Edit subnet associations page.
  • Unchecked all available subnets.
  • Click Save associations. Cleanup
  1. Go to VPC service management console
  • Click Route tables.
  • Choose labPrivateRT01.
  • Click Subnet associations.
  • Click Edit subnet associations. Cleanup
  1. At Edit subnet associations page.
  • Unchecked all available subnets.
  • Click Save associations. Cleanup
  1. Go to VPC service management console
  • Click Route tables.
  • Choose labPrivateRT01 and labPublicRT01.
  • Click Actions.
  • Click Delete route table. Cleanup
  • At the popup, enter delete and click Delete. Cleanup

Cleanup NAT gateways

  1. Go to VPC service management console
  • Click NAT gateways.
  • Choose labNATGW01.
  • Click Actions.
  • Click Delete NAT gateway. Cleanup
  1. Go to VPC service management console
  • Click Elastic IPs.
  • Click on 52.6.199.235. Change 52.6.199.235 to your Elastic IP.
  • Click Actions.
  • Click Release Elastic IP addresses. Cleanup
  • At the popup, click Release. Cleanup

Cleanup Internet gateways

  1. Go to VPC service management console
  • Click Internet gateways.
  • Choose labIGW01.
  • Click Actions.
  • Click Detach from VPC. Cleanup
  • At the popup, click Detach internet gateway. Cleanup
  1. At VPC service management console page.
  • Click Internet gateways.
  • Choose labIGW01.
  • Click Actions.
  • Click Delete internet gateway. Cleanup
  • At the popup, type delete and click Delete internet gateway. Cleanup

Cleanup VPC

  1. Go to VPC service management console
  • Click Your VPCs.
  • Choose labVPC01.
  • Click Actions.
  • Click Delete VPC. Cleanup
  • At the popup, type delete and click Delete. Cleanup

Next, we will cleanup IAM roles and policies.