I am having a bit of hard time to fully understand the concept of a VPN over a public VIF, in the first presentaiton of the course in the considerations slide it says that in order to have a VPN over DX you need it to be over a Public Virtual Interface.
As I currently understand it, VPN's purpose is to connect our data center to an AWS VPC, in the VPN over web scenario in the course we created a VPC VPGW infront of a CGW .
In the following links - https://aws.amazon.com/premiumsupport/knowledge-center/public-private-interface-dx/
They create a Private Virtual Interface , which is connected to one or more Virtual Private Gateway of one ore more VPC's , not a Public Virtual Interface.
What am I please missing ?
Also, can perhaps a Public Virtual Interface be connected both to VPCs and both to S3 etc or you need public and private to connect directly both to VPCs and other services ?
Thank you in advance !
Sorry for English and typos - not native speaker .