To delete the VPC and related resources:
- Delete the DB subnet group.
- Open the Amazon RDS console.
- In the navigation pane, select Subnet groups.
- Choose the DB subnet group related to the lab.
- Select Delete, then choose Delete in the confirmation window.
- Delete security groups.
- Open the Amazon VPC console.
- Choose VPC Dashboard, then select Security Groups.
- Select the security group related to the lab.
- Choose Actions, select Delete security groups, and then choose Delete to confirm.
- Delete NAT gateway.
- Open the Amazon VPC console.
- Choose VPC Dashboard, then select NAT Gateways.
- Select the NAT Gateway related to the lab.
- Choose Actions, select Delete NAT gateway.
- Confirm the deletion and select Delete.
- Delete the VPC.
- Open the Amazon VPC console.
- Choose VPC Dashboard, then select VPC.
- Select the VPC you want to delete.
- From Actions, select Delete VPC.
- On the confirmation page, enter delete and then choose Delete.