Questions tagged [google-compute-engine]

Google Compute Engine offers scalable and flexible virtual machine computing capabilities in the cloud.

Google Compute Engine (GCE) is the Infrastructure as a Service (IaaS) component of Google Cloud Platform which is built on the global infrastructure that runs Google's search engine, Gmail, YouTube and other services. Google Compute Engine enables users to launch virtual machines (VMs) on demand. VMs can be launched from the standard images or custom images created by users. GCE users must authenticate based on OAuth 2.0 before launching the VMs. Google Compute Engine can be accessed via the Developer Console, RESTful API or command-line interface (CLI).

Useful links

1463 questions
3
votes
1 answer

Google Cloud Platform Network Routing

I currently have a 3rd-party vendor connecting to us over a VPN to our collocation. I am trying to move that VPN to a Google Cloud Platform VPN. I can/have created a few VPNs to a project and that is all very simple. My problem lies in the…
Nick H
  • 31
  • 2
3
votes
3 answers

Unable to reach a python flask-enabled web server on gce

I am running a very simple http server on a VM in GCE. The code is very simple from flask import Flask, render_template, request, json, abort app = Flask(__name__) @app.route('/', methods=['GET']) def heartbeat(): return 'hello' if __name__ ==…
Anthony Kong
  • 3,288
  • 11
  • 57
  • 96
3
votes
2 answers

What is the difference between zones in the same region in Google Compute Engine?

What kind of differences are there between different zones in the same region in Google Compute Engine? For example, in Eastern Asia-Pacific, you can access to a set of different zones in Taipei Taoyuan. However, it shows the…
Blaszard
  • 352
  • 2
  • 6
  • 14
3
votes
2 answers

Kernel Panic on CentOS - Google Compute Engine Instance

I'm getting a kernel panic error in a CentOS instance of Google Compute Engine. I'm able to see the error and already figure out how to solve it, but I can't get into the GRUB menu trough the serial console. dracut: Mounted root filesystem…
3
votes
2 answers

gcloud compute instance create failed - required 'compute.subnetworks.use' permission

Gcloud returned the following error when attempting to create the instance on GCE. The command was initiated from a GCE instance with the scope set to 'Full API access to all Google cloud services' and has project-wide SSH keys blocked. ERROR:…
sunnyyip
  • 31
  • 1
  • 4
3
votes
2 answers

GCE project-wide SSH keys not propogating

I have noticed in my GCE cluster that when I add an SSH key to the project metadata that it is then automatically added to /home/[user]/.ssh/authorized_keys. This is the behaviour I expect (and desire for the task I am doing at the moment). However,…
3
votes
1 answer

How to run Ansible's gce.py script from inside an instance running in the cloud?

My goal is to create a compute engine instance in Google cloud from which I can run ansible scripts to further create additional instances that will run containers via GKE. I've figured out a number of things already: How to create an instance…
3
votes
2 answers

EXTERNAL: The user does not have access to service account "default"

When trying to create a new container I get the error "EXTERNAL: The user does not have access to service account "default" ". This has recently started happening. This happens from any user including admin accounts. Any ideas?
3
votes
2 answers

Is there any way to disable at least TLS 1.0 in GCE HTTPS Load Balancer?

I'm trying to pass the Trustwave pci DSS scan but i can't because it fails in "TLSv1.0 supported" and i think the problem is in GCE HTTPS loadbalancer that enables TLSv 1.0, 1.1 and 1.2 by default…
3
votes
1 answer

Remote server blocked

I have a build server on linode which several of my google compute engine instances pull from. I've not changed any configuration, but as of today I'm no longer able to connect to my compute instances from that server. All traffic on all ports…
RLHawk
  • 143
  • 6
3
votes
1 answer

DDOS mitigation of GCE

I am hoping to start shared hosting service on Google Compute Engine. Does the Google infrastructure have any DDOS mitigation built-in? This article here says it does. "Compute Engine makes use of Google’s global network and load balancing…
user3528340
  • 133
  • 4
3
votes
2 answers

How to unblock my IP after failed sftp login attempts to google cloud compute instance

We just started using google cloud compute engine, and to connect to the server using sftp a couple of colleagues did a number of failed login attempts. Now we cannot access our google cloud engine vm instance from our office anymore, on any port…
mister j
  • 31
  • 1
  • 3
3
votes
2 answers

How to get notifications when Google Compute Engine automatically migrate an instance

I want to be alerted when instances are migrated. I can see the list of operations in Console (http://d.pr/i/16fpz), but how to get it in realtime (via email or in Slack)?
Art
  • 157
  • 1
  • 4
3
votes
2 answers

getting a new permanent IP address on google cloud compute

I've created a few instances in google compute engine by using the web interface. I want to start doing it at the command line instead so that I can create more and automate the process. The web interface tells me what command I could use when…
3
votes
2 answers

Monitoring MongoDB 3 using StackDriver in GCE

Has anyone successfully managed to monitor a MongoDB 3 cluster (or standalone db) with StackDriver in GCE ? I've setup a MongoDB 3.0.6 cluster in GCE (replica set with 2 replica and 1 arbiter) I'm trying to monitor it through StackDriver provided by…