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, 2022 in GCP by Rahul
• 3,380 points
694 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, 2022 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,460 points
1,194 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, 2022 in GCP by Rahul
• 3,380 points
361 views
0 votes
1 answer

GCP App Engine Access to GCloud Storage without 'sharing publicly'

I believe that https://cloud.google.com/storage/docs/access-control/create-signed-urls-program will work for ...READ MORE

answered Nov 10, 2022 in GCP by Ashwini
• 5,430 points
853 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,020 points
1,732 views
0 votes
1 answer
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, 2022 in GCP by Korak
• 5,820 points
519 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, 2022 in GCP by Korak
• 5,820 points
953 views
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