Difference between virtual private gateway VPG and customer gateway CG in aws
To establish VPN connection in AWS ,need Customer Gateway (CG ) and Virtual Private Gateway (VPG) . Its similar traditional site to site VPN . The difference is one end is your office router or appliance and another end is AWS router . But in AWS side you can see everything as virtual resources. They made it very user friendly GUI to setup VPN connection.
Now lets see what is the difference between customer gateway and virtual private gateway .
Connectivity between Client office /DC to AWS VPC.
Customer Gateway :
A customer gateway is the anchor on your side of that connection. It can be a physical or software appliance. Ex: Cisco ASA router can be a customer gateway to configure VPN. AWS supports most of the major vendors router device to configure VPN . If the specific device type not found you can raise try with generic model . If still its not working you can open a case . AWS technical will look and advise.
Virtual Private Gateway:
The anchor on the AWS side of the VPN connection is called a virtual private gateway.Simply we can say router kind of device in AWS side . But you wont get any information about that and no need to configure much on this part. Just click to create VPG and attach to required VPC. AWS will automatically assign two public IP.