Questions tagged [google-compute-engine]
Google Compute Engine offers scalable and flexible virtual machine computing capabilities in the cloud.
1,414
questions
0
votes
0
answers
16
views
Nginx server under load balancer, when /folder is found redirects to /folder/ but changes the host url
I have nginx server setup in google cloud. Server is being accessed from a host domain through gcloud pointing.
Like this:
https://server.com/test/ points to instance group with one of instances with ...
0
votes
0
answers
5
views
GCP gcloud compute ssh times out, can't ssh from Bastion to private Vm from Console
I have a Bastion and a private VM behind it but I'm unable to ssh into the Private VM through the Console itself. I have OS-Login enabled
What occurs attempting to enter the private VM from connecting ...
0
votes
0
answers
17
views
Hello! How can i use GPU servers on GCP?
How can i use GPU servers on GCP ?
a could not create new GPU app .
Somebody had this trouble before ?
0
votes
0
answers
8
views
Same user on GCS VM has sudo when SSH connecting but not by chrome remote desktop
I set up a Debian VM on Google Cloud Services. When I connect to the terminal via SSH from the GCS VM interface and run sudo ls as the user user@project, I get:
User user may run the following ...
0
votes
0
answers
13
views
Can not connect to Linux instance using SSH through Putty
Just signed up for GCP account and created a Linux VM on GCP (SUSE) and having issues to connect via SSH through Putty.
Also tried through CMD prompt on Windows 10 and get the same issue. Followed up ...
0
votes
0
answers
22
views
Not able to ssh into google compute engine. Also on troubleshooting I am getting no network status
I tried to ssh into this machine but all its showing is that "You cannot connect to the VM instance because of an unexpected error. Wait a few moments and then try again."
Tried retrying it ...
0
votes
0
answers
26
views
Google Cloud CPU usage to high when sending API requests
I have a WordPress site hosted on Google cloud and I'm only using the rest API to GET data and POST data. The only thing I noticed when sending 15 / 20 API calls in a short time was that it crashed ...
0
votes
0
answers
9
views
Cloud Compute Engine Unable to Connect
I am hosting a website using Google Cloud Compute Engine and currently I am unable to connect to the VM using SSH. It keeps comming back with this error.enter image description here
-1
votes
0
answers
17
views
Need to create temporary user with SSH login on Google Cloud Platform
I need to give someone temporary access to my servers on Google Cloud Platform. I want to set up my own SSH key to log in, then log in as root to create a temporary account for that person to use. ...
0
votes
0
answers
26
views
GCE Ubuntu mirrors officially supported?
Are the Ubuntu mirrors in GCE (e.g. europe-west1.gce.archive.ubuntu.com) officially supported? I was not able to find a definitive answer to that, despite some googling.
0
votes
1
answer
31
views
Google GCE VM - how to kill VMs if startup script fails
We launch workloads in GCE using Managed Instance Groups (MIG), which oversee the lifecycle and health of these VMs.
New VMs are provisioned with a startup script (bash), which, on rare occasions, ...
0
votes
0
answers
12
views
How to return in normal mode in GCP VM after shield VM issue
After ugrading SSD size for a GCP VM, an integrity check issue occurs.
This problem had been solve but my VM after many restart is always in emercy mode.
I'm not able to SSH it.
What is possible now ...
0
votes
0
answers
27
views
Is there a way to repair SSH On GCP VM after shielded VM failure
I have a GCP VM on which is installed a Docker with Drupal.
e2-medium with SSD 10Go
After increasing the disk size to 20GB, I can no longer access the VM in SSH.
My VM was failing to boot because of a ...
0
votes
1
answer
16
views
Google Cloud Compute Engine: Ingress vs. Egress
I read the FAQS about Google Cloud. It says there that Google Cloud will never charge for ingress traffic unless you have a load balancer in it, then, it is not free. But Google Cloud offers a free ...
0
votes
0
answers
21
views
Google Cloud Storage video streaming vs Local storage?
I am working on an application using React that makes it possible for users to edit videos. What I am trying to figure out is the pros and cons of providing storage for the users.
If I wrap the React ...
0
votes
0
answers
21
views
QRadar CE on Google Cloud Platform (GCP) network issue
I've installed QRadar Community Edition on a Google Cloud VM but I can't figure out how to make the internal networking works.
Here's my issue: I got some VMs on the same subnet as QRadar, one of them ...
-1
votes
0
answers
17
views
I am using a GCP instance and would be connecting to it using SSH
I would like to run 2 commands that need to run simultaneously. How Can I acheive this ?
Command1: $ socket -s /home/dc-host/data/monitor
Command 2: $ bash startvm.sh
0
votes
0
answers
18
views
Google LB failed to check ingress-nginx pods healthz sporadically
It's been weeks since my I'm having a lot of timeout when gcp lbs check ingress-nginx healthz while everything respond correctly.
I'm having a GKE cluster with Container Optimized OS and n1-standard-4 ...
0
votes
0
answers
27
views
GCP Compute Instance stuck "stopping"
I have a few GCP computer instances that I have tried to shut down (not delete) from the console, and they are stuck with a spinning circle and the status "stopping".
They've been like this ...
-1
votes
0
answers
15
views
My Compute Engine Instance disappeared
My Compute Engine disappear last month I believe it was due to lack of funds in my billing account at the settlement date which was end February.
I realised it 3 days into March and funded the billing ...
0
votes
0
answers
51
views
gcloud auth login - Authorization Error
I am trying to do gcloud auth login on my google cloud, then copying the html to my browser, but get the following Authorization Error. Any ideas what it is?
0
votes
0
answers
18
views
Can we get the specifications of all available Google Cloud virtual machines?
Is there a way to get the specifications (CPU, RAM, storage, ...) of all available virtual machines ? I tried using the Compute API, but, as I understand, we only get the virtual machines that we are ...
0
votes
0
answers
27
views
Google Cloud Platform VM cannot connect using SSH
Im trying to connect to my VM by clicking SSH but it says Cannot connect, trying again (1/3)
I have firewall enabled on port 22
Also i was connecting to this instance normally before so i dont know ...
0
votes
1
answer
22
views
Google firewall being saturated and not allowing valid requests through
We've configured some Firewall rules to block some bad ips. This has been done in the VPC Network -> Firewall area. This is NOT done on the server via IPTables or anything.
Everything is fine until ...
0
votes
0
answers
71
views
Specify URL instead of IP:port in network endpoints for applications behind reverse proxy
We are using GCP external HTTPS load balancer, architecture is shown in the diagram below. The primary use of LB is redirecting users to static error site (hosted on Cloud Storage bucket) in case CE ...
1
vote
1
answer
73
views
DNS resolving from Cloudfunctions in VPC network
I am deploying a Cloudfunction with VPC network as follows:
gcloud beta functions deploy my-function
--trigger-http
--region europe-west1
--memory 128MB
--runtime nodejs16
...
0
votes
1
answer
83
views
Google Compute Engine automatically shutdowns with serial console errors
I was upgrading the system specs of a VM I have.
I shutdown the VM, edit, increased the specs and then started it back up.
After doing this, it would just power back off after a moment online.
...
0
votes
0
answers
12
views
Google Cloud Platform - unable to log into VM created from Redhat boot disk snapshot
The snapshot is good as I was able to mount it as a disk on another VM and confirm the contents. However when I created a new VM from the snapshot I could not ssh into the new VM.
0
votes
0
answers
28
views
Disk Partitioning errors after Disk resize in Compute Engine
Currently stuck trying to partition disk.
Getting some errors I don't understand. Might be in over my head. My question is at bottom.
The disk has been resized using GCP/Compute Engine Disk manager. ...
0
votes
1
answer
65
views
upgraded to Ubuntu 20, reconfiguring apache2, utterly clueless
I upgraded to Ubuntu 20 on my Google Compute vm.
Now apache2 isn't serving stuff up when i hit my server (by external ip) via lynx.
apache2 DOES serve up the default page when i do
lynx localhost
on ...
0
votes
0
answers
65
views
Getting connection details from Network Intelligence Center
I've noticed some unexpected network activity in the Network Intelligence Center (NIC) but cannot find the details such as source ip address. Do I have to query network flow logs for this? It seems ...
0
votes
0
answers
50
views
Getting authentication required when doing zypper refresh on Suse SAP 15 sp 3
I need help understanding why I'm getting authentication required. Has anyone experienced similar and how did they resolve it? Is this an image problem, suse issue or networking issue. Can't really ...
0
votes
1
answer
68
views
why when creating e2-small it shows it has 2 vCPU and when checking configuration it shows it has only 1 vCPU
This is why I get when creating a e2-small machine
This is what I got then checking the machine after creation:
This is what is shown on the page https://cloud.google.com/compute/vm-instance-...
0
votes
0
answers
24
views
VM Instance write permisson (Container Optimized OS)
Actually I set up a VM instance and installed a container base OS but now when I run the container with docker-compose up (just an alias) I receive an error from traefik, do you know what the problem ...
0
votes
0
answers
447
views
App Engine Flex Deployment Fails With Error Response: [9] An internal error occurred while processing task /app-engine-flex/flex_await_healthy/flex_
My App Engine Flex deployment fails with this error code.
Updating service [default] (this may take several minutes)...failed. ERROR: (gcloud.beta.app.deploy) Error Response: [9] An internal error ...
0
votes
0
answers
96
views
Migrate for Compute Engine - Cloud Extension - State - Impaired. Edge A, B - Instance null is not accessible on port 443
I am new to GCP, migrating VMs from AWS to GCP using Migrate for Compute Engine(version-4.11).
Followed the documentation and created HA VPN connection between AWS and GCP(I see that tunnel and BGP ...
0
votes
1
answer
39
views
What exactly is the boot disk from google cloud platform (cgp) compute engine?
I want to use google's compute engine as a database. When using the calculator, I got confused about what the
boot disk is. Google's documentation didn't help either. Is the boot disk only for the OS ...
0
votes
0
answers
58
views
Why would cloudinit resort to using iid-datasource-none?
Had my ssh host key reset by GCE.
Found
/var/lib/cloud/instances/iid-datasource-none
was created.
https://cloudinit.readthedocs.io/en/latest/topics/datasources/fallback.html?highlight=iid-datasource-...
0
votes
0
answers
111
views
Problems registering Google Cloud
I have the following problem. When registering a free Google Cloud account, I get the error "We weren't able to establish your payments profile. To finish setting up your free trial, get help ...
2
votes
2
answers
112
views
Failed instance in google compute engine
I have an GCE instance which has been running for several years. During night, the instance was restarted with following logs:
2022-02-13 04:46:36.370 CET compute.instances.hostError Instance ...
0
votes
1
answer
58
views
Can Google Virtual Private Cloud be used to give a GAS project access to resources inside a corporate network?
By default, a Google Apps Script project cannot access a resource (like an API or a DB using JDBC) inside a corporate network. The company would have to put holes in their firewall for the GAS servers ...
0
votes
0
answers
71
views
GCP/GKE - add/attach a new disk to confidential node
I'm trying to attach a new disk to y GKE cluster since I need it for a database running with PostreSQL Operator. Important: I'm running confidential n2d nodes. Now I'm getting following error from k8s:...
0
votes
1
answer
24
views
I am trying to downgrade from SSD 50GB To Standard 30 GB but Google cloud wont allow me
I am trying to down grade from SSD PD 50 GB to standard PD using the snapshot method, but when I select the snapshot source Google won't allow me to choose standard PD below 50. I want 30GB standard ...
3
votes
1
answer
240
views
How can I add `snd-aloop` kernel module on public Debian 10(buster) image provided by GCP?
Background
I am trying to enable snd-aloop module on a Compute Engine instance running public Debian 10 (buster) image provided by GCP.
Output of uname -a:
Linux *** 4.19.0-18-cloud-amd64 #1 SMP ...
0
votes
0
answers
12
views
Creating a GCloud VM where resources are available
I'm trying to create a GCloud VM with a GPU. Every way I try I encounter the error "the zone doesn't have enough resources available to fulfill the request".
I pick a zone. I try to create a ...
0
votes
0
answers
13
views
GCP VM Instance: Server Timed Out Error - Intermittently
cloud web security scanner1. Setup a WordPress site on localhost
2. Setup GCP Fresh Account for it
3. Created a New WordPress CE Instance [Login details, etc]
4. Migrated local site to GCP ...
0
votes
0
answers
11
views
Restore data from terminated google compute engine disk if i do not have any snapshots
My google compute engine vm instance has been terminated by google due to the payment issue. I have never taken any snapshots for this vm instance or disk before. Is there any way i can get the data ...
0
votes
1
answer
57
views
Google Cloud Snapshot schedule
I'm trying to understand the difference between machine image, snapshot, and image on Google cloud.
For example, I've configured the snapshot schedule and it is set to auto delete every 7 days.
If I ...
0
votes
3
answers
115
views
How to launch a marketplace image (colab) on a Spot instance?
Let's say there's a marketplace image, e.g. Colab.
I want to launch it on a GCE spot instance. When I use the Deployment Manager, there is no option to choose the spot provisioning model.
Neither ...
0
votes
1
answer
311
views
Cannot connect by SSH to my Compute Engine Instances
I'm not able to connect to any compute instance in GCP by web and ssh. I try to access and I'm getting this error:
We are unable to connect to the VM on port 22. Learn more about possible causes of ...