Clean up resources
Clean up resources
- Delete Security group.
aws ec2 delete-security-group --group-id **SG ID**
- Delete Subnet
aws ec2 delete-subnet --subnet-id **Subnet ID**
- Delete Route table
aws ec2 delete-route-table --route-table-id **RTB ID**
- Detach Internet Gateway
aws ec2 detach-internet-gateway --internet-gateway-id **IGW ID** --vpc-id **VPC ID**
- Delete Internet gateway
aws ec2 delete-internet-gateway --internet-gateway-id **IGW**
- Perform a VPC deletion
aws ec2 delete-vpc --vpc-id **VPC ID**