How to create a High availability VPN gateway

0 votes
How to create a High availability HA VPN gateway?
Nov 13, 2019 in GCP by anonymous
• 19,610 points
1,279 views

1 answer to this question.

0 votes

You can create a HA VPN gateway without the following resources and configure those resources later.

  • VPN tunnels

  • A peer VPN gateway resource

  • BGP sessions

You must create these resources before your gateway can become operational.

Create an HA VPN gateway. When the gateway is created, two external IP addresses are automatically allocated, one for each gateway interface.

In the following commands, replace the options as noted below:

  • Replace network with the name of your GCP network.

  • Replace region with the GCP region where you need to create the gateway and tunnel.

  • Replace gw-name with the name of the gateway.

gcloud compute vpn-gateways create gw-name \ --network network \ --region region

The gateway you create should look similar to the following example output. Note that a public IP address has been automatically assigned to each gateway interface:

 Created [https://www.googleapis.com/compute/v1/projects/project-id/regions/us-central1/vpnGateways/ha-vpn-gw-a].
 NAME        INTERFACE0    INTERFACE1   NETWORK   REGION
 ha-vpn-gw-a 203.0.113.16  203.0.113.23 network-a us-central1
answered Nov 13, 2019 by Sirajul
• 59,230 points

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer

How to create a Google Cloud Filestore instance?

Create an instance by running the instances create command, ...READ MORE

answered Oct 23, 2019 in GCP by Sirajul
• 59,230 points
1,672 views
0 votes
1 answer

How to create a cloud storage bucket in GCP?

Buckets are the basic containers that hold your ...READ MORE

answered Oct 24, 2019 in GCP by Sirajul
• 59,230 points
2,564 views
0 votes
1 answer

Migrate from Classic VPN to HA VPN gateways.

To move from Classic VPN to HA ...READ MORE

answered Nov 13, 2019 in GCP by Sirajul
• 59,230 points
1,301 views
0 votes
1 answer

Create a classic VPN using dynamic routing.

Classic VPN gateway and one tunnel using ...READ MORE

answered Nov 13, 2019 in GCP by Sirajul
• 59,230 points
1,003 views
0 votes
1 answer

Connect a HA VPN gateway to a Classic VPN gateway using a tunnel

GCP does not support creating a tunnel from a ...READ MORE

answered Nov 13, 2019 in GCP by Sirajul
• 59,230 points
1,092 views
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP