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
2 answers

partition and format local ssd in start script

I am trying to set up a "scratch" local SSD on Google Cloud Platform / Google Compute Engine in a start script for a preemptable instance to be run on VM creation. No valuable data is on the VM when this script is run. After creating a VM with a…
Paul
  • 1,634
  • 15
  • 19
3
votes
1 answer

TCP request is getting drop on Google cloud load balancer

We are using TCP Google Cloud Loadbalancer for one of our services. The architecture is the following: There is a TCP load balancer on which a range of ports are allowed on frontend and its backend instances are connected and there instances…
3
votes
4 answers

Enable In this update the Windows OS support for PCID performance optimization is enabled Windows Server 2012 R2

I've been following this article regarding the update of Google Compute VMs running Windows Server 2012 R2 and getting mixed results. In the Microsoft Article everything is flagged as True. Below are two screen shots from two different VMs running…
3
votes
3 answers

How to Turn on IP Forwarding for Interface If Forwarding Rule Was Already Created

I am trying to turn on IP Forwarding for an interface of an instance hosted in Google Cloud. I have a f1 micro VM instance on Google Compute Engine. I've created an IP forwarding rule with gcloud succesfuly here. Command compute forwarding-rules…
3
votes
4 answers

Is it possible to see output startup script in compute engine

My Compute Engine vm when deployed run a startup script. Everything seems working well, but there is one command in the startup script which I think it doesn't. I run the command apt-get update && apt-get upgrade -y This should install the newest…
3
votes
1 answer

An internal error occurred while creating a Google Cloud Storage bucket

I have started my google cloud setup today. Tried to follow instructions in interactive tutorial. Setting up my First App that uses Node.js worked fine. But deploying app to Compute Engine failed with following error. ERROR: (gcloud.app.deploy)…
shanti kumar
  • 31
  • 1
  • 2
3
votes
2 answers

GKE's Container-Optimized OS Out-Of-Memory freezes

I have issue with Container-Optimized OS on GKE. If I run this simple command https://pastebin.com/raw/0WPAnAzn to consume all the RAM, at some point host freezes and doesn't respond to anything. Expected behaviour: the process should be killed by…
3
votes
1 answer

GCP, Common labels for all project resources

Google Cloud recently released labels feature (https://cloud.google.com/compute/docs/labeling-resources). Looks very handy. Is it possible to label all project resources with some 'common' labels which can be redefined on resource level? Example:…
Dmitry
  • 125
  • 1
  • 6
3
votes
1 answer

Google Compute Engine not resizing disk on boot

According to google's documentation: If you create or resize a root persistent disk or create a disk from an image or a snapshot, your virtual machine instance can automatically resize the partition to recognize the additional space after you…
3
votes
1 answer

Cannot establish an external ftp server connection in *active* mode from Google Compute Instance ftp client

Running a Google Compute Instance with an internal interface mapped to a temporary public IP... it seems impossible to establish an active ftp connection with an external ftp server. I saw another post without any solutions about active mode…
3
votes
2 answers

Can't connect to Google Cloud server via HTTP or HTTPS

This must be a very simple beginner's question. I created an instance on the Google Cloud Platform, with a Windows 2012 Server on it. I can RDP into it, but I can't connect to it via HTTP or HTTPS (by typing the IP address in the browser address…
3
votes
1 answer

Installing StackDriver Logging agent on cos image

I'm trying to setup the logging agent for StackDriver on a cos image but its reporting its an unsupported system. My thought is to create a "sidecar" container similar to how an AppEngine Flexible VM would bring its logs into stackdriver, however…
3
votes
2 answers

Resize a Google Cloud Platform Persistent Disk in a Single-Node File Server (ZFS server)

I've set up a file server several months ago using the click-to-deploy method on Google Cloud Launcher (https://cloud.google.com/launcher/docs/single-node-fileserver). This created a ZFS server in a VM and a 500 GB persistent disk. I have updated…
3
votes
1 answer

Is there software I can load on my web servers to know how much of my traffic is going to china?

I have 15 VMs on Google Cloud and would like to know which one is causing my egress data to china. How can I tell which one is doing the all that traffic? It has probably been hacked and would like to fix it.
Frank Barcenas
  • 605
  • 6
  • 18
3
votes
1 answer

Possible to restore snapshot to existing VM Google Compute Engine?

I know it's possible to place a snapshot on a new VM and you'd be able to delete the old if you don't need it anymore, but I was wondering if it's possible to just restore the snapshot on the existing VM? All I can see are the options to create a…
Asitis
  • 97
  • 8