How to do it...

The steps are as follows:

  1. Browse to the VPC console. Select the Virtual Private Gateways option under the VPN Connections on the left menu. Click on Create Virtual Private Gateway:
 Create Virtual Private Gateway
  1. Provide the Name tag and  you can click on Yes, Create. You can see the State as detached:

Virtual private gateway created and detached
  1. Click on Attach to VPC. Select the VPC with which you want to attach the VGW. Click on Yes, Attach:
 Attaching Virtual Private Gateway to VPC
  1. You can see that the state has ...

Get AWS Networking Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.