Questions tagged [gcloud]

Questions relating to the usage of the Google Cloud SDK's `gcloud` command-line tool.

211 questions
0
votes
2 answers

can't ssh to download data from gcloud instance running centos6 to get moodle backup due to possible hack

I have a centos 6 lamp moodle server in a gcloud vm instance, 2 days ago users reported issues accessing moodle with a database connection error. Through my research this is what I found: restarting the instance didn't work and it actually cause an…
0
votes
1 answer

GCloud Compute Engine to local Hyper-V stuck on localhost login

I'm trying to get my GCE server off the cloud and onto a local virtual machine. I've been able to successfully get the server image into the correct format using this guide however I can't figure out how to sign in. Starting up the VM shows…
user29600
  • 419
  • 5
  • 17
  • 30
0
votes
1 answer

Migrating Multi Server Office to G Cloud

I have a client who is operating with 2 physical Windows servers: 1 Active Directory 1 Application Server, which runs 1 Hyper-V Terminal Server inside If we do a CloudEndure migration to G Cloud, will the Hyper-V translate and run? Does G Cloud…
0
votes
1 answer

GCloud cannot connect through ssh after vpn tunnel established

I have a VM on Google Cloud serving as vpn gateway. I have followed the steps on this documentation https://cloud.google.com/vpc/docs/special-configurations#settingupvpn The ipsec.conf I use is: conn cnt authby=psk auto=start dpdaction=hold …
0
votes
2 answers

Cannot ssh to VM via browser, but can ssh via gcloud compute ssh

I have a google virtual machine of ubuntu 16. I used to login from my window 10 laptop, by opening the web browser for google console/compute engine page. And click the ssh button on my VM. And I remembered that under my VM instance details page,…
0
votes
1 answer

How to monitor Kafka Consumer lag in Stackdriver?

I can view all the Kafka broker metrics by using the JMX exporter -> stackdriver monitoring agent and is displayed in the Stackdriver but i cant see any consumer metrics, i am particularly interested in consumer lag, is there a way to monitor…
Dchan
  • 1
0
votes
1 answer

Enabling OS Login fails at gcloud beta compute instances add-iam-policy-binding

I'm trying to enable os login for an instance. I've already set the Metadata os-login: TRUE and added my public key to my account with the gcloud compute os-login ssh-keys add command. Now, I'm trying to add my role to the instance, as described…
Tim Stoop
  • 588
  • 5
  • 20
0
votes
1 answer

GCE DNS forwarding

I'm trying to setup local DNS forwarder for the VPC network to use LDAP controller which is running DNS server. I have few GCP projects which should be able to communicate over already built VPN tunnel to each other using DNS names. I've activated…
0
votes
2 answers

gcloud compute networks subnets list powershell equivalent

Is there any Get-GCE* PowerShell command that will do the same as "gcloud compute networks subnets list"? I have installed the latest Google Cloud SDK and PowerShell cmdlet's.
0
votes
1 answer

gcloud compute ssh requires password even after using json key file for authentication

Hi Google cloud experts, I am trying to authenticate gcloud using json key and even doing everything as per docs it requires for password when I run gcloud compute ssh root@production Here is snapshot of steps I performed. 1. Authorizing access to…
0
votes
1 answer

How can I compute only current instance disks

I need some help with Google cloud. I need a shell script for creating a current instance snapshot. I have researched and found some shell script which can create snapshots for all project instances, but I don't want to give access to another…
0
votes
1 answer

Google Compute Engine new Ubuntu instance cannot login

I have just created a new GCE VM Ubuntu instance using the most basic way it is possible, and I cannot login to it. When I opened the interactive serial console -> Serial port 1 using the browser, I am not logged in and it prompts me for a login.…
0
votes
1 answer

Disable gcloud notification

Is there any way to disable this notification: * - There is an upgrade available for your cluster(s). To upgrade nodes to the latest available version, run $ gcloud container clusters upgrade NAME when I run gcloud container clusters list?
0
votes
1 answer

SFTP Authentication Failed, cannot use sudo, cannot edit hosts file

I have used a snapshot on google cloud to create a new instance. My original instance has not been deleted...I don't want it deleted, I just need to access files on a backup from 24 hours ago that were deleted and restore them from the snapshot. I…
user410836
0
votes
2 answers

gcloud cannot create Route Based VPN

In the google cloud documentation it describes how to create route based VPN using gcloud. When I follow the instructions, it always creates vpn tunnel with policy based routing. It is different than the ones created via console. I am using…
kokeksibir
  • 113
  • 5