You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Connecting your on-premises network to GCP is a fundamental requirement for hybrid cloud architectures. GCP offers several connectivity options: Cloud VPN for encrypted tunnels over the internet, Dedicated Interconnect for private, high-bandwidth connections, and Partner Interconnect for private connections through a service provider. Choosing the right option depends on bandwidth needs, latency requirements, cost, and how quickly you need the connection.
Cloud VPN provides encrypted IPsec tunnels between your on-premises network and your GCP VPC over the public internet. It is the quickest and most cost-effective way to establish hybrid connectivity.
HA VPN provides a 99.99% SLA with two interfaces and automatic failover:
# Create an HA VPN gateway
gcloud compute vpn-gateways create my-ha-vpn \
--network=my-vpc \
--region=europe-west2
# Create a Cloud Router for BGP
gcloud compute routers create my-router \
--network=my-vpc \
--region=europe-west2 \
--asn=65001
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.