Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [google-compute-engine]

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

0
votes
0answers
12 views

Google Compute engine: How to do load balancing with Wordpress from exist instance [on hold]

Actually I can do load balancing on Google Compute Engine, but new instance just empty instance no nginx, mysql or wordpress. Yes, I don't have idea to scaling up new one from exist master instance. ...
0
votes
1answer
12 views

Cloud Storage access from PHP aplication

We configure PHP applications on 2 servers with databases in CloudSQL, they require read /write static content in a CloudStorage bucket from PHP applications. What I did was install GCS Fuse to mount ...
-1
votes
0answers
12 views

Pass SIGTERM to binary started with Ansible

I'm trying to run a large number of processes on gCloud preemptible instances. I start the processes with Ansible as an async task. How to ensure that the commands started with ansible catches the ...
0
votes
1answer
32 views

Can firewall rules be applied to internal GCLB?

tl;dr We're experiencing issues with services behind internal Google Cloud Load Balancer not being able to reply when response is over a certain size. Upon some tcpdump'ing and wireshark'ing, it ...
-3
votes
1answer
67 views

Google Cloud Compute Engine CentOS 7 Sudo command

Till Friday 12/10/2018 I was able to run sudo commands (Ex:sudo mongodump --db iot_ac). Today When I tried to run any command as root(sudo),i get the below message(Connected through SSH): We trust ...
0
votes
0answers
38 views

GCEMetadataScripts: ERROR main.go

We migrated a Windows 2008 R2 server to GCP Compute Engine. Awesome and it works. However, in the event log we see this error FILLING up the Application Event log - Source: GCEMetadataScripts ...
0
votes
0answers
59 views

Call to undefined function imagewebp() Jetware Optimized LEMP Stack PHP 7 image for gcloud

I have on Compute Engine the Jetware Optimized Lemp Stack Php 7 vm istance , loaded from the google cloud platform marketplace: Jetware Optimized Lemp Stack Php 7 jetware: Linux lemp7-optimized-g2-1-...
0
votes
1answer
34 views

Googe Cloud - VM-metadata controlled scopes - Alpha Access

I want to run gcloud from inside a GCE VM that's using VM-metadata controlled scopes, since otherwise gcloud installed on a local machine will typically already be using broad scopes to include all ...
1
vote
1answer
38 views

GCP auto scaler : How to configure auto scaler to scale up only if CPU usage has crossed 70% for more than 5 minutes?

I have a managed instance group with an HTTP(S) LB in front of it. Currently, I have set up an auto-scaler policy to scale up or down based on CPU utilization and the threshold is set to 70%. But I ...
0
votes
2answers
34 views

google_compute_instance_group Creation Issue

I am trying to create an instance group using the example in the terraform doc at https://www.terraform.io/docs/providers/google/r/compute_instance_group.html . resource "...
0
votes
1answer
60 views

PAM deny rule not applied on Ubuntu in Google Cloud

I added auth requisite pam_deny.so as the first line of every file in /etc/pam.d/ (including sshd), but SSH connections still succeed without a problem. This is on a default Google Cloud Ubuntu ...
0
votes
0answers
47 views

How to connect to VM

how are I trying to create a proxy server with the CCProxy program and an instance of Windows server 2012 in Compute engine already configures the program but the problem I have is that the VM is ...
0
votes
1answer
30 views

Terraform & GCP: How to get inventory of current disks?

My goal is to utilize terraform's "google_compute_snapshot" feature (https://www.terraform.io/docs/providers/google/r/compute_snapshot.html) to schedule daily snapshots for all disks in a project. ...
0
votes
0answers
23 views

How to attach physical SSD disk in gce using KOPS?

I want to setup a cluster using GCE instance using kops. I am unable to find the parameter corresponding to add local disk number in kops. In AWS, we can choose machine type which has pre-defined no....
0
votes
2answers
57 views

eliminate boot time of cloud instance

I am working on an automated project that requires high computing power at irregular intervals. My original ideas to solve this problem in economically efficient way was to create a couple of google ...
0
votes
1answer
84 views

api_server.cc:184 Metadata request unsuccessful: Server responded with 'Bad Request' (400): Transport endpoint is not connected

We are using google cloud instances with container option, we are seeing below error every minute in stack driver logs. we are not sure what is this error for. api_server.cc:184 Metadata request ...
0
votes
1answer
51 views

Can GCP do port mirroring at the subnet level?

Can I define a custom network in Google Cloud Platform in such a way so that I can get the equivalent behavior of Port Mirroring in my VPC as one would configure on a hardware switch? The goal is to ...
0
votes
2answers
78 views

Google Compute Engine - Can't connect via SSH? VM loses network access?

EDIT: This was an out-of-control application process, not GCE. Here's the issue, and answered below: I just had some kind of outage with my CE VM on a trial account, but I don't see any outage ...
0
votes
0answers
9 views

Not able to login after migrating libvert on-prem boot disk to Google cloud platform using cloud endure migration service [duplicate]

I migrated the vm from libvirt to Google Cloud Platform using Cloudendure. The initial sync is complete and is in Data Replication stage from over a week. Once the VM is launched using test mode and ...
0
votes
0answers
14 views

Docker-machine and Google Compute Engine: GPUs?

Looking at the docs for the GCE driver for Docker Machine, it seems that it's not possible to spawn a machine that has a GPU attached. In contrast to AWS, where there are specific machine types that ...
0
votes
1answer
67 views

ERROR GET request error retrieving metadata (GCP VM error log)

I saw some error log in my GCP vm (ubuntu 16.04), what does it means? and without networking at that time. Sep 27 00:16:11 myhost google-clock-skew: ERROR GET request error retrieving metadata. . Sep ...
0
votes
3answers
29 views

Create Gcloud maintenance to restart instance if stops responding on port 80

we're using Google Cloud Platform, and running an instance Ubuntu which has Apache listening on port 80. Sometimes the instance stops responding, and the server goes down in Cloudflare (but that's ...
-1
votes
2answers
99 views

Google Cloud VPN with multiple on-premises networks

I have a project on GCP and I want to setup site-to-site VPN between this project and multiple geographical branches. I successfully setup VPN between Cloud VPN and one of the branches. The problem ...
1
vote
4answers
87 views

Best solution for docker volume persistance [closed]

I'd like to setup proper way to persist docker volumes. Currently all our docker volumes are local only, so in case of server failure our data are lost. I'm thinking about buying two servers and ...
0
votes
1answer
65 views

Cannot ssh to ubuntu gcp instance

I migrated the vm from libvirt to Google Cloud Platform using Cloudendure. The initial sync is complete and is in Data Replication stage from over a week. Once the VM is launched using test mode and ...
0
votes
1answer
46 views

How do I use Google Cloud VPN to connect to a client's network, when the client has reserved all possible internal IP addresses?

Goal I would like to make use of an API by a 3rd party. This 3rd party requires that I establish a VPN connection to their network. As such, they need a remote peer IP address to establish the VPN, ...
0
votes
2answers
93 views

Google Cloud Compute Enable PTR Record - Invalid value for field 'resource.publicPtrDomainName

I have followed the proceedure in google cloud documentation...https://cloud.google.com/compute/docs/instances/create-ptr-record verify domain ownership (done and verified) in google cloud console, ...
0
votes
1answer
48 views

GCP: external ip becomes unreachable sporadically

We have a bunch of compute engine VMs on GCP with static external ip addresses. We observe the external ip addresses become unavailable once and then. http, ssh or ICMP connections are not accepted. ...
0
votes
1answer
65 views

Google Cloud VPC Alias IP Routing Across Zones

I have a multi-cluster/multi-zone k8s platform running on Google Kubernetes Engine. The underlying GCP VPC network is running in global routing mode. The k8s services are assigned internal IP (...
0
votes
0answers
36 views

npm install ldf-server on gcloud debian instance

I try to install it via sudo npm install -g ldf-server But it gives me error: /usr/bin/ldf-server -> /usr/lib/node_modules/ldf-server/bin/ldf-server > hdt@1.5.0 install /usr/lib/node_modules/...
-1
votes
1answer
86 views

DirectX or Hyper-V In google cloud? [closed]

Okay so basically i want to run some programs thath need Directx , a good alternative would be RemoteFX with Hyper-V but google cloud plataform dosnt support Hyper-V. And RDP dosnt support Directx. I ...
0
votes
1answer
30 views

Is there a way to set metadata to a set of VMs?

Is there a way to apply metadata to a group of VM instances? Also is there a group of all metadata key/value pairs that are supported/predefined?
-1
votes
1answer
30 views

Google Cloud Managed Instance Group Rolling Update for Webbservers

I'm looking for the right solution for my problem. The problem is this: Performing a rolling update on all the webservers in the instance group without serving different content at the same time and ...
0
votes
1answer
31 views

GCP firewall only allowing SSH access from Google's own IP ranges

I've been experimenting with GCP and have configured GCP's firewall rules to allow my company's public IP and my own dynamic IP to be able to SSH into the instances (on their respective static public ...
-2
votes
0answers
43 views

Any way to install nvidia gpu driver 390 on ubuntu18 google cloud

After installed cuda9.2 by run file, tried to run nvidia-smi, but it said no connection to nvidia gpu driver. Tried several ways to install nvidia gpu driver 390, all not successful. Also tried using ...
0
votes
2answers
30 views

Unable to delete a subnet I created in GCP

I have a subnet in GCP, under the default network, called xxx-general If I try to delete this subnet (as it's no longer required), I get an error: Failed to delete the subnet. Error: The subnetwork ...
1
vote
0answers
259 views

GCP Managed Instance verification

I have a GCP Managed Instance Group with 1 instance running Windows Server. The VM is created and I ran the below code to confirm the instance is RUNNING. gcloud compute instances describe <...
0
votes
1answer
19 views

How to synchronize 2 GCE VM instances in an Instance Group on Google Compute Engine?

I plan to setup an environment on Google Compute Engine using Managed Instance Groups. I will be running Linux on the VMs. I am new to Google cloud and am unable to find a method to keep all copies ...
-1
votes
1answer
32 views

SSH into Google Compute Engine using automated deployment (i.e., CircleCI)

I am trying to SSH into my Compute Engine instance using CircleCI with a command that looks like this in config.yml: gcloud --quiet compute ssh [INSTANCE_NAME] --zone northamerica-northeast1-a --...
1
vote
2answers
60 views

permission denied when using service account with Google scp command

I want to use CircleCI to deploy my code to Compute Engine instance. I have created a Service Account user and use gcloud scp command below: gcloud --quiet compute scp --recurse dev/test/ [...
0
votes
1answer
53 views

CommandException: arg […] does not name a directory, bucket, or bucket subdir. for a directory on Compute Engine

I am trying to use gsutils command to deploy changes from CircleCI to a directory on my Compute Engine instance. The command I am using is: gsutil -m rsync -d -r dev/ [VM_INSTANCE_NAME]:/var/www/dev/ ...
0
votes
1answer
50 views

Cannot access from compute engine to on-premises machine over Google VPN Connection

It may be a trivial task but I could not manage and do not know how to debug. I have created a VPN Gateway and related tunnel to on-premises network. Route-based Tunnel is currently in established ...
1
vote
2answers
70 views

CentOS 7 with 2 NIC's on Google Cloud

I have 2 VPC's VPC1 - default google subnets VPC2 - single aditionl subnet not in VPC1 Server (instdual) setup with nic0 from VPC1 and nic1 from VPC2 Static public IP on both nic's Ping from ...
0
votes
1answer
44 views

Google Cloud VPC network peering - DNS not shared?

I've got two VPC Networks: A B They are linked with eachother trough VPC network peering. Machines from network A can reach machines from network B just fine via IP. However, they are not capable ...
0
votes
1answer
31 views

Why would GCE instance group manager recreate a VM?

The recreated VM instance got assigned a new external IP and caused other issues(e.g. couldn't connect to remote servers because the new IP was not being whitelisted...) Why would the instance group ...
0
votes
1answer
41 views

How do I connect a VM instance created on google cloud to a vmware workstation instance created on my local system using workstation player?

I have created a windows server vm instance in google cloud. It is a ADserver. Apart from that; I have created two external windows virtual machines in my local system on vmware workstation player. I ...
0
votes
1answer
46 views

Linking GCP Compute Engine with Google Suite SMTP Relay Service

Recently we want to connect GCP Compute Engine with Google suite email service. at this documentation told that Google Compute Engine does not allow outbound connections on port 25. By default, ...
1
vote
1answer
87 views

Email server with no smtp connection

Ubuntu 18.04 on Google Compute Dovecot + postfix I figure I should be able to connect to a port other than 465/587, and since I can relay all email through google there should be no issue with this ...
0
votes
2answers
451 views

SSH Permission denied (publickey)

I'm trying to ssh into a google cloud instance "ajc2" that I was given owner access to. This is the command that I am using: gcloud compute --project "clear-mountain-94802" ssh --zone "us-central1-c"...
0
votes
0answers
95 views

How to connect VPN external protected by password to GCP?

I already followed a video tutorial about connect VPN external from AWS to GCP. Actually my VPN external not from AWS but mikrotik (using email and password for login) different with that's video ...