Plugin Title | Unused Virtual Private Gateway |
Cloud | AWS |
Category | EC2 |
Description | Ensures that unused Virtual Private Gateways (VGWs) are removed. |
More Info | Unused VGWs should be remove to follow best practices and to avoid reaching the service limit. |
AWS Link | https://docs.aws.amazon.com/vpn/latest/s2svpn/delete-vpn.html |
Recommended Action | Remove the unused Virtual Private Gateways (VGWs) |
To detach a virtual private gateway using the console
- In the navigation pane, choose Virtual Private Gateways.
- Select the virtual private gateway and choose Actions, Detach from VPC.
- Choose Yes, Detach.
If you no longer require a detached virtual private gateway, you can delete it. You can't delete a virtual private gateway that's still attached to a VPC. detach it first as mentioned in the above steps.
To delete a virtual private gateway using the console
- In the navigation pane, choose Virtual Private Gateways.
- Select the virtual private gateway to delete and choose Actions, Delete Virtual Private Gateway.