Questions relating to the usage of the Google Cloud SDK's `gcloud` command-line tool.
Questions tagged [gcloud]
211 questions
0
votes
1 answer
Appengine deployment failed with custom docker file
I am trying to deploy my vue.js code on appengine with custom docker file but I am getting error
The docker file is working fine on my local machine. Can anyone please tell me what is the issue ?
here is my docker file
FROM node:9.11.1-alpine as…
0
votes
0 answers
Problems trying to SSH/reset SSH for gcloud compute
I'm trying to SSH into gcloud. I'm currently inside ~/.ssh and have some VNC keys stored in there that was given to me. I have followed instructions with gauth login and set my project id to clear-mountain-94802. Here is the image of what I see…

Andrew
- 21
- 1
- 3
0
votes
1 answer
terraform IAM vs cloud console IAM
I am using a Terraform google_project_iam_policy resource to manage a number of roles for a project.
I have noticed that it does not always remove a member from a role when I am expecting it to - seemingly sometimes (but not always) if I use the…

Ben Clifford
- 256
- 1
- 6
0
votes
1 answer
How to get application_default_credentials.json file in GCP?
I'm developing an application locally(python), I want to list the details of all the projects & their instances.
In order to perform this, I have generated application_default_credentials.json file by executing gcloud auth application-default login…

kiran
- 101
- 1
- 2
0
votes
1 answer
Encrypted config kubernetes on Google Cloud
I recently saw this page on the ability to encrypt secrets at rest. I am currently running kubernetes on Google Cloud, but I can't figure out how to set it up with the kube-apiserver. Any help is appreciated.
0
votes
1 answer
Sync files between GCLOUD instances of same group
Have four instances in GCLOUD with SO: Linux (Ubuntu). I have to replicate the files uploaded through ftp to one machine and then to the remaining 3 machines. I have been thinking to use Rsync, but I would like to know if there is another option or…

Luis Lopez
- 133
- 1
- 9
0
votes
1 answer
How to block port 80 in Google AppEngine
I want to block port 80 in Google AppEngine
For example, when I run:
sudo nmap -O .appspot.com
It shows:
Starting Nmap 7.60 ( https://nmap.org ) at 2018-02-06 16:36 EST
Nmap scan report for .appspot.com
PORT STATE…

npd
- 1
- 1
0
votes
0 answers
Dynamic firewall rules in Google cloud - granting access from all kubernetes nodes to one instance
Let's say that you have a kubernetes cluster with a few nodes in a project in google cloud, and you have one separate instance in that project that all the nodes should have access to.
How do you go about granting access to this instance…

Ulukai
- 909
- 2
- 12
- 29
0
votes
1 answer
gcloud docker -- push request canceled while waiting for connection
Trying to push docker image to gcloud and started getting this error.
gcloud docker -- push us.gcr.io/purple01-192114/purple_cloud:80only
The push refers to repository [us.gcr.io/purple01-192114/purple_cloud]
Get https://us.gcr.io/v2/: net/http:…

grabbag
- 163
- 2
- 6
0
votes
3 answers
can't access from rdp after change MAC address with powershell on Google compute enginge
I have changed the MAC address of a Google compute engine vm. After that, I can't access from rdp to that vm any more. The vm is not pingable also. I've tried to access from serial port with no luck. It just dropped me to a SAC console and I can't…

dezhi
- 113
- 5
0
votes
0 answers
`gcloud docker` command refreshing access token on each invocation
macOS
Google Cloud SDK 183.0.0
beta 2017.09.15
bq 2.0.27
core 2017.12.08
gcloud
gsutil 4.28
kubectl
I have tried revoking the login and logging in again but every command of gcloud docker refreshes the access token so it hangs about 30 seconds…

Axsuul
- 101
- 1
- 3
- 12
0
votes
1 answer
gcloud ubuntu instance not receiving port traffic
I have an Ubuntu 16.04 GCloud Compute Engine instance. I was using port 8085 with that instance with no issues until one day I stopped the instance and then started it again, right now I cannot access any thing on port 8085.
Stuff I tried:
I pinged…

Ayman
- 103
- 3
0
votes
1 answer
gcloud command to change instance type?
Looking for a quick gcloud example to change an instances type. For example I would like to change an instance from 32vcpus/64GB RAM to 2vcpus/4GB RAM. I know how to do it in the web interface.

Faraz H
- 3
- 1
0
votes
1 answer
unable to establish remote connection to mariadb (mysql) on centos7 on gcloud from mac or gscipt
newbie here
- Issue: unable to establish remote connection to mariadb (mysql) on centos7 from a mac or a gscript
- setup: I got 2 lamp machines: one test (107) and another one production (35)
107 - centos6.5 with mysql (vps in digitial ocean)
35 -…

Francisco Cortes
- 111
- 3
0
votes
1 answer
I can no longer SSH to a VM on GCP after breaking ssh configuration
I am starting to use GCP.
I fixed a server (redhat), connected to it (using SSH, directly from GCP console) and deployed my application, everything worked well
To try to fix something I played with the authorizations on some folder of my server. And…

Pierre
- 1