Google Compute Engine offers scalable and flexible virtual machine computing capabilities in the cloud.
Questions tagged [google-compute-engine]
6707 questions
51
votes
4 answers
How to stop gcloud container engine clusters
I use gcloud to provision kubernetes clusters, and use container engine to do so.
Aside from the production cluster, I would like to create short-lived clusters, for testing etc'.
Instead of recreating clusters, I would like to have a test cluster…

pazams
- 969
- 1
- 8
- 10
46
votes
4 answers
How to specify static IP address for Kubernetes load balancer?
I have a Kubernetes cluster running on Google Compute Engine and I would like to assign static IP addresses to my external services (type: LoadBalancer). I am unsure about whether this is possible at the moment or not. I found the following sources…

Marco Lamina
- 3,326
- 4
- 22
- 22
46
votes
4 answers
Getting "I won't open a connection to" when connecting to FTP server from Google Compute Engine
I ssh'ed to my Google Compute Engine's VM. And want to ftp to another server from there. It asked my username and password, I could login without problem. But when I do ls or get, I receive this error:
500 I won't open a connection to 10.240.XX.XX…

Nur Pinar
- 461
- 1
- 4
- 4
46
votes
1 answer
What does 'Compute Engine Network Internet Egress' mean to Google Cloud?
I've started a simple Tomcat webserver in Google Cloud Platform, this month I was charged for a service called 'Compute Engine Network Internet Egress from Americas to China: 2636.552 Gibibyte (Project:xxx)' and for the service 'Compute Engine…

nanndoj
- 6,580
- 7
- 30
- 42
46
votes
11 answers
Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
After creating the instance, I can login using gcutil or ssh. I tried copy/paste from the ssh link listed at the bottom of the instance and get the same error message.

user2416533
- 461
- 1
- 4
- 3
44
votes
9 answers
How to request GPU quota increase in Google Cloud
I've been trying to request an increase in my GPU quota for Compute Engine since Google Cloud says I have 0 when I try to launch an instance. I upgraded my account, but I can't seem to figure out what I need to do to increase my quota. I've looked…

Jacques Thibodeau
- 859
- 1
- 8
- 21
44
votes
5 answers
How to change Region / Zone in Google Cloud?
I am very new to Google Cloud. I was able to setup a wordpress site and am working on it now. However, it appears that my vm instance is using the following asia-east1-a for its zone. I was able to change the Region and Zone using gcloud commands…

Tamer Ziady
- 613
- 1
- 5
- 10
43
votes
2 answers
How to use multiple service accounts with gcloud?
I have two Google Cloud service accounts; one for each of my two projects.
# ACCOUNTS
editor@someproj-1.iam.gserviceaccount.com
editor@someproj-2.iam.gserviceaccount.com
I can tell gcloud which account I need to use before executing a…

fredrik
- 9,631
- 16
- 72
- 132
43
votes
1 answer
Google Cloud Platform delete or stop instances without prompt
I can use Google compute api to start instances with no problem.
I am actually using a script for some light auto-scaling.
I boot these instances from a snapshot successfully with no block.
However, deleting the instances asks me for…

user3480774
- 853
- 3
- 10
- 18
43
votes
2 answers
Share a persistent disk between Google Compute Engine VMs
From Google's documentation:
It is possible to attach a persistent disk to more than one instance. However, if you attach a persistent disk to multiple instances, all instances must attach the persistent disk in read-only mode. It is not possible…

flaubert
- 593
- 1
- 5
- 10
40
votes
14 answers
Rename Google Compute Engine VM Instance
How do I rename a Google Compute Engine VM instance?
I created a new LAMP server and I'd like to rename it in the "VM Instances" dashboard.
I've tried renaming the Custom metadata, but that didn't seem to replicate to the dashboard.

mickeylieu
- 403
- 1
- 4
- 5
39
votes
7 answers
ResumableUploadAbortException: 403 Insufficient Permission
I am using Google Cloud Storage and Google Compute Engine and am trying to upload to my bucket from my VM. My bucket has read/write permissions and so does anyone that has access to it. They are labeled as Owner. I can download from my bucket fine.…

superuserdo
- 1,637
- 3
- 21
- 33
37
votes
3 answers
What is the difference between Google Compute Engine, App Engine and Container Engine in Google Cloud?
What is the actual difference between Google Compute Engine, App Engine and Container Engine in Google Cloud Compute? When to use what?
Is there any good example to understand all of these three engines?

0xAliHn
- 18,390
- 23
- 91
- 111
37
votes
3 answers
gcloud compute execute command remotely
Currently, if I want to execute something on a VM, I copy files over like this:
gcloud compute --project copy-files --zone /home/roman/source/dir roman@:/some/path
Then I need to SSH into it manually like…

Roman
- 8,826
- 10
- 63
- 103
37
votes
3 answers
How do you get or generate a URL to the object in a bucket?
I'm storing objects in buckets on google cloud storage. I would like to provide a http url to the object for download. Is there a standard convention or way to expose files stored in cloud storage as http urls?

adam-singer
- 4,489
- 4
- 21
- 25