Category "google-compute-engine"

gcloud compute config-ssh results in permission denied

I'm trying to ssh into a gce instance: C:\Users\Kevin>gcloud compute config-ssh You should now be able to use ssh/scp with your instances. For example, try r

Google Cloud Kubernetes GCE_STOCKOUT

i have a very serious problem. We have a google kubernetes engine running and were hosting on zone europe-west3-c, after trying to update the docker container I

GCP create an instance template from an existing VM

I am attempting to create an instance template from an existing powered off VM. The VM is a pretty basic Centos Linux box. After a bit of googling the problem

How to set up a health check on an individual GCE - Internal IP

I want to create an uptime health check for an application running on GCE with Internal IP. I've noticed that Uptime checks in GCP only supports external IP a

GCP Compute Engine won't show memory metrics

I want my compute engine VM to show memory usage metrics in the console, I went to this page and install Ops-Agents, restart the service and went to the VM obse

etcd.service failed because a timeout was exceeded

I am working through "learn kubernetes the hard way" and am at the "bootstrapping the etcd cluster" step: https://github.com/kelseyhightower/kubernetes-the-hard

Why is my GCP Load Balancer Certificate stuck at provisioning?

I've set up everything according to the documentation: For the certificate provisioning process to proceed, all of the following conditions must be met:

Managing multiple google cloud VM instances / compute engines at the same time

I have created a few servers on google cloud. I made them in VM instances. They run the same script everyday but each server runs with different arguments. How

How to connect to GCP VM instance with password using SSH?

I able to connect to my VM instance in GCP with a SSH key. I added user with the sudo useradd -m -s /bin/bash -G {groups} {new user name} command, and changed

Traefik on Kubernetes (GCE/GKE) behind GCE Load Balancer

I've implemented Traefik on Kubernetes following the User Guide. That gives me an ingress-controller and I was able to create an ingress and the traefik-ingress

IAP tunnel to VM

I’ve a question regarding Compute VM and its associated privileges. I have ‘Owner’ privileges at Project level. I created a VM but was not abl

PG bouncer running on vm instance stops connecting to cloud sql

The issue: I'm not sure how to begin problem solving this or where to look for errors. Setup: Running a node.js backend via GCR and it's hitting a postgres db o

How to set $HOME before startup script in Google Compute Engine

In my use case, I am trying to use the $HOME variable to identify my app server path in the instance startup. I am using Google compute engine with a startup

Compute Engine API - How to create an instance with container?

I'm trying to create a GCE instance "with a container" (as supported by gcloud CLI) by using POST https://www.googleapis.com/compute/v1/projects/{project}/zones

Github Self-Hosted runner registration auth fails in GCE

I am setting up self hosted runner on the Google compute engine by following the steps as advised by GitHub for Enterprise as follows. //Create a folder $ mkdir

in-browser SSH - IP address range

One of the options to ssh into the instance is in-browser ssh. It only works if I allow SSH from 0.0.0.0/0 IP range. Is there a way to get the range of specifi

Removing disks with gcloud

Trying to remove disks with the gcloud cli, I want to do something like this: gcloud compute disks delete $(gcloud compute disks list --filter="labels=(some-lab

startup script yum install fails with "signature could not be verified for google-cloud-sdk"

I reran the startup script using following command: sudo google_metadata_script_runner --script-type startup All the yum install commands are failing with foll

Jenkins does not start properly after reboot on GCE

If I need to restart Jenkins due to installing a plugin for instance the slaves are never turned on. I am using Google Compute Engine. I followed this tutorial:

Why does Google Cloud Storage freeze when I try to upload a large folder (2.5GB of images)?

After getting frustrated with Azure, I decided to try GCP. I wanted to try training a deep learning image classification model using GCP. To start off, I went t