What’s the difference between VPN and VPC peering?
VPCs are within Google Cloud. VPNs are used for securing connections outside it.
VPC Peering - connect 2 vpc’s within Google Cloud.
VPN - connect Google Cloud VPC to an external network. it can be your own office, Datacenter, AWS environment and another Google Cloud VPC (it a stupid idea, but it’s possible).
Thanks for all.
It’s resolved. I understood.
It is not that stupid. Peerings have downsides as sharing the object count towards limits and not allowing transitive traffic. It makes sense some times to connect VPC with cloud VPN