I have run into a problem today where I am unable to connect via SSH to my Google Cloud VM instance running debian-10-buster. SSH has been working until today when it suddenly lost connection while docker was running. I’ve tried rebooting the VM instance and resetting, but the problem still persists. This is the serial console output on GCE, but
Tag: google-compute-engine
GCP Startup-Script for setting DNS entries RHEL-7
I’m trying to expand my Google Cloud Platform startup-script so that it sets DNS entries. But every time I include these two lines of code the script does not get executed and fails. When I login to the Virtual Machine the commands work fine. The Error message I get is the following: Answer Please include error messages as text, not
MySQL on Compute Engine did not shutdown correctly due to maintenance
I’ve discovered that a recent automatic migration of my Compute Engine VM instance has caused by mysql not to shutdown correctly and thus the restart took much longer do to checks. Is there a way to initiate and wait for mysql service to shutdown for the VM maintenance/migration? Answer Think you are looking for shutdown scripts. Using which you request
Are resource demanding process divided into multiple processes?
It is spotted on google cloud engine. Multiple instances of my script are created (by bash?). The reason might be that the script demands very high amount of memory. How is this division done exactly? Any performance impact? [UPDATE] My mistake. These instances are threads created by python. Answer Don’t overestimate the skills of the Python. Python is incapable to
how to set variable name for google cloud instance
PROB_INSTANCE_NAME=INSTANCE_NAME not working C:UsersHPAppDataLocalGoogleCloud SDK>PROB_INSTANCE_NAME=lamp-1-vm ‘PROB_INSTANCE_NAME’ is not recognized as an internal or external command, operable program or batch file. C:UsersHPAppDataLocalGoogleCloud SDK>set PROB_INSTANCE_NAME=lamp-1-vm C:UsersHPAppDataLocalGoogleCloud SDK>gcloud compute instances stop “$PROB_INSTANCE_NAME” ERROR: (gcloud.compute.instances.stop) HTTPError 400: Invalid value ‘$PROB_INSTANCE_NAME’. Values must match the following regular expression: ‘a-z?’ i am using google gcloud tool on the desktop. trying to install Linux guest environment by
How to create VM instance in Google Compute Engine?
I am new to Google Compute Engine. I want to create a Web Server having following properties: 1 Core Red Hat Enterprise Linux 7.1 64 bit RAM 8 GB HDD: 100 GB SSH, JDK 1.7 Apache Web server as the proxy to Jboss App Server Enable HTTP / 80 and HTTPS /443 on public IP Access Mode – SSH/SCP I
`gcloud compute copy-files`: permission denied when copying files
I’m having a hard time copying files over to my Google Compute Engine. I am using an Ubuntu server on Google Compute Engine. I’m doing this from my OS X terminal and I am already authorized using gcloud. Answer insert root@ before the instance name: