GCP GCE Update gcloud SDK to use VPN tools

0 votes

I've been using GCE and gcloud for a few weeks now. A new set of VPN tools were released in alpha last Dec. 3rd (https://cloud.google.com/compute/docs/vpn), and I need to start testing with them.

The problem is that gcloud doesn't seem to recognise this new set of tools, and I get errors like:

$ gcloud compute target-vpn-gateways create --region us-central1 --network default vpn1
ERROR: (gcloud.compute) Invalid choice: 'target-vpn-gateways'.
$ gcloud compute vpn-tunnels describe
ERROR: (gcloud.compute) Invalid choice: 'vpn-tunnels'

target-vpn-gateways and vpn-tunnels are just not part of the command groups.

So, I though of updating the core and compute components, but they're all up to date. This seems so new that there's no information at this time in Google Cloud documentation about updating the SDK to be able to use these VPN tools.

Any ideas? 

Mar 30 in GCP by Rahul
• 3,380 points
30 views

1 answer to this question.

0 votes

Google Cloud Platform support is still in limited preview state. What this means is that API calls only work for specifically whitelisted projects and that the normal gcloud build doesn't yet include VPN support.

As I understand it your best bet for getting your project whitelisted is to go through the GCP sales office: https://cloud.google.com/contact/

answered Mar 31 by Korak
• 5,820 points

Related Questions In GCP

0 votes
1 answer

How to update a firewall rule in GCP Cloud?

Hi@akhtar, You can create a rule that allows TCP ...READ MORE

answered Nov 9, 2020 in GCP by MD
• 95,360 points
397 views
0 votes
0 answers

Why do I need to use a security solution like Centrify on GCP?

Why do I need to use a ...READ MORE

Mar 14 in GCP by Rahul
• 3,380 points
15 views
0 votes
2 answers

How to install gcp in Python?

If you're accessing BigQuery in python, you ...READ MORE

answered Aug 20, 2018 in GCP by Priyaj
• 58,080 points
945 views
0 votes
1 answer
0 votes
1 answer

GCP v/s AWS : Which cloud provider to choose?

Depends on what exactly you are looking ...READ MORE

answered Sep 23, 2019 in GCP by Sirajul
• 59,170 points
312 views
0 votes
1 answer

Why do I need to use a security solution like Centrify on GCP?

The main benefit is that access can ...READ MORE

answered Mar 17 in GCP by Korak
• 5,820 points
30 views
0 votes
1 answer

Google Cloud VPN - Egress from GCP to on-premise pricing clarification

IPSec traffic are charged as if the ...READ MORE

answered Mar 20 in GCP by Korak
• 5,820 points
72 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP