Questions tagged [google-compute-engine]
Google Compute Engine offers scalable and flexible virtual machine computing capabilities in the cloud.
1,467
questions
0
votes
0
answers
24
views
WEBSITE NOT CONNECTING [closed]
Firstly forgive me I am a Novice .
I have my website hosted through Google Cloud ( Compute Engine ) & and it will not connect.
I have just recently transferred my domain name, Libbys Waterfront ...
1
vote
1
answer
53
views
nvidia driver not present on debian bullseye after installing cuda
I'm trying to get nvidia gpu drivers and related software installed / upgrades on a debian bullseye system and having trouble. I tried following the instructions for installing cuda, but when I get ...
0
votes
0
answers
65
views
gcloud compute ssh asking for password
Here is my situation - I have been SSHing into my VM instances on Google Cloud Platform for years without any issue using the command:
gcloud compute ssh jackson@myservername
I just got a new macbook ...
0
votes
0
answers
9
views
Do GCP MIGs have a constraint that all their VMs must use the same CPU platform?
We have very long lived MIGs and I am seeing that all their VMs are on "Intel Cascade Lake" even though "Intel Ice Lake" is available in the the datacenter. The documentation ...
0
votes
1
answer
19
views
gce-rescue failed to rescue a GCP instance
I tried using https://github.com/googlecloudplatform/gce-rescue to rescue a vm, however it failed with below error:
test@cloudshell:~ $ gce-rescue --zone us-west2-b --name test-vm
Traceback (most ...
0
votes
1
answer
14
views
GCP Automatic Instance Template replacement issue in Compute Engine
I'm using Google Kubernetes Engine where my cluster's node pool is connected to Compute Engine instances defined by instance templates. I'm controlling these instance templates by Managed Instance ...
0
votes
0
answers
17
views
How to edit Engine Compute API quota?
We're trying to edit a Compute Engine API quota, but it's returning an error. We contacted the sales team and they advised us to open a case in this forum. In this case, we have a limit of 8 and we ...
0
votes
0
answers
46
views
Error creating Windows virtual machine on Google Cloud: Not included with the free trial
I'm trying to create a virtual machine on Google Cloud using the following command:
gcloud compute instances create my-server-1 \
--zone=europe-west3-b \
--machine-type=n1-standard-16 \
--...
1
vote
1
answer
74
views
Build a failover strategy inside GCP to redirect if compute engine stop responding or is on an error state
Currently I have a architecture inside GCP (Google Cloud Plataform) of a Wordpress application that works this way
Cloud DNS -> Load Balancer (with Cloud CDN enabled) -> Compute Engine (with ...
0
votes
1
answer
50
views
sftp and ssh password less auth
we have created the VM instance on GCP and Google assigned the default user xx
we have configured the ssh key we are able to log in without a password
and added the new group Sftp yy and added user zz ...
0
votes
0
answers
58
views
Quota restriction error when attempting to create a GCE image
I am trying to create a GCE image from an VMDK file but I am getting a quota error. None of the quotas on my quota limit page are at or near 100%.
Which quota or restriction am I hitting here and why?
...
1
vote
1
answer
467
views
Unable to SSH to GCP VM after reboot
I used to do the remote development via VS code. I created SSH key on my local Windows 10 and added the public key to the VM instance. Everything was fine for a week. But my VS Code suddenly show ...
0
votes
0
answers
110
views
apt upgrade -y command stuck on "Preparing to unpack .../google-cloud-cli_436.0.0-0_all.deb ..." on Google Cloud
I created a new VM on GCP and then try updating by running:
apt update && apt upgrade -y
But everytime. it stucks at
Preparing to unpack .../google-cloud-cli_436.0.0-0_all.deb ...
I have ...
0
votes
0
answers
78
views
SFTP to /mnt/ folder in Google Compute Engine, Allow user to write
I have a Google Compute Engine and mounted an extra storage. This mount has a directory /mnt/. I am sending over files in the folder via SFTP. I provided an account for the uploader.
The uploader does ...
2
votes
1
answer
332
views
Error:unable to upgrade connection:Authorization error (user=kube apiserver, verb=create, resource=nodes, sub resource=proxy)
I have set up my cluster with my app but now I'm facing issue in my gke cluster
Error:unable to upgrade connection:Authorization error (user=kube apiserver, verb=create, resource=nodes, sub resource=...
1
vote
1
answer
135
views
Cannot login to Google Cloud Virtual Machine with IAM and two factor through SSH
After I have created a Virtual Machine that runs latest Ubuntu LTS I want to connect to it using SSH.
When I login to it I get this screen:
I get a new code from g.co/sc
When I enter that code into ...
0
votes
0
answers
47
views
Google Compute Engine - Google Cloud Ops Agent Metrics Agent Failed to start
I checked the log using journalctl -u google-cloud-ops-agent-opentelemetry-collector.service and found below erorr
cannot configure Google Cloud metric exporter: stack driver: no project found with ...
0
votes
0
answers
129
views
Compute Engine Instance loses network access
I am using multiple Compute Engine Instances and randomly sometimes they seem to be loosing network access. Nothing changed, the certain instance in this case was running about 80 days without any ...
0
votes
1
answer
76
views
App Engine dispatch.yaml to external server
I have a VueJS site on app engine, I would like to use wordpress for a blog placing it on the same domain at the same level at the /blog/ directory.
I can probably do this with dispatch.yaml and ...
0
votes
1
answer
29
views
Exporting Wordpress Database from GCP
I am trying to create a local replica of wordpress database by exporting it on gcloud console (after logged in via gcloud compute ssh) but facing this problem. Is there a way out to resolve this or ...
0
votes
0
answers
165
views
SSH Keys not propagating correctly from instance metadata to authorized_keys: missing keys, user discrepancy, and duplicate key
I want to add eight public keys via instance metadata to avoid adding them manually (i.e.: ssh to VMs, pasting the keys to .ssh/authorized_keys, etc.).
I added the keys in Terraform (four distinct ...
0
votes
1
answer
106
views
Connecting to MySQL on GCP CE instance (WordPress)
I installed WordPress from the Google Cloud Marketplace into a Compute Engine instance, and am trying to connect to the MySQL instance on that machine using DataGrip on my local machine (macOS).
I can ...
0
votes
1
answer
65
views
Why does the login node connect to external networks but allocated compute node fail in Slurm-GCP?
I've noticed that connecting to the internet from the allocated compute node via Slurm-GCP keeps failing. For example, using wget from the login node works successfully:
[me@gcp-login0 ~]$ wget https:/...
0
votes
1
answer
79
views
service file disappeared in Google CLoud VM
I have a Google VM micro instance running Ubuntu 20.04. Last week on this VM, I set up a systemd service that runs a python script. I created the service file (say my_fancy_service.service) as /lib/...
1
vote
0
answers
110
views
Cannot ping internal IPv6 addresses of VM instances in Google Cloud
I'm testing a connection between two VM instances in the same subnet. The VPC has enabled dual stack with internal IPv6 addresses and both VMs received a IPv6 Unique Local Address. The VMs cannot ping ...
0
votes
1
answer
182
views
How to customize sudo permissions when using OS Login?
When OS Login is enabled, and a user is granted access by having either the "Compute OS Login" or "Compute OS Admin Login" roles, they can run sudo.
In my experience, the per-user ...
0
votes
0
answers
156
views
Creating a TAP network device in GCP VM
I am trying to create a QEMU VM within a GCP VM. I want the QEMU VM to use TAP network device to communicate with the host and external world.
My desired set up looks like below.
+-----------------...
0
votes
0
answers
27
views
Can Let's Encrypt DNS Challenge trigger a DoS attack warning in GCP Compute Engine?
This weekend I received an email from Google Cloud warning me that my project would be suspended due to a possible policy violation due to a Denial of Service (DoS). After looking at the logs, I ...
0
votes
1
answer
135
views
Cannot SSH to Google Cloud Platform Compute Engine anymore
I have a similar problem as outlined here: Cant access GCP Compute Engine
Yesterday I lost access to my GCP server. I thought Google was having issues but almost 40 hrs later I'm thinking their ...
0
votes
1
answer
113
views
Unable to change "on host maintenance" option for an instance template on GCP
I've been using instance templates for Instance Groups, and I never had to go to "Advanced Options" because everything was working as expected. But today, while creating a new instance group ...
0
votes
1
answer
235
views
Can't connect to server with port opened via Docker
I have a Docker container that runs with --net=host and binds directly to the host's port 7000 and 9042 on GCE. Here's my netstat on the VM:
$ netstat -tulpn
Proto Recv-Q Send-Q Local Address ...
0
votes
0
answers
82
views
Trying to update instance properties as per the google gcp documentation but getting error while importing the yaml file
Followed the instruction as per https://cloud.google.com/compute/docs/instances/update-instance-properties#updatable-properties
ERROR: (gcloud.compute.instances.update-from-file) '...
0
votes
1
answer
2k
views
Unable to create new compute instances in GCP
I'm trying to create a new GPU instance in GCP but I keep getting the following error:
A n1-standard-1 VM instance is currently unavailable in the us-central1-a zone. Alternatively, you can try your ...
0
votes
1
answer
195
views
Accessing to resources linked to a closed billing account at Google Cloud
Hi all I have a GCP account that Google closed my billing account due to unpaid invoices.
It has been almost a year now that account remains closed. I need to know If I will have access to my ...
0
votes
0
answers
1k
views
High CPU usage by ksoftirqd
We use GCP for running Kubernetes and for communication with our services in different locations using VM masquerading by iptables. The first time we faced an issue with performance when we use only ...
0
votes
0
answers
19
views
Security updates for linux server with only local network access
I am using Compute Engine and VPC Networks in Google Cloud Platform.
I have a "classic" frontend - backend server setup inside Google Cloud with two VPC Networks which are connected trough ...
0
votes
0
answers
139
views
SSH from cloudbuild to a Compute instance
I created an SSH user and I can SSH in from my local machine using the id_rsa keyfile, I stored the same keyfile as a google cloud secret and logging in using the same creds but i cant get any access ...
1
vote
1
answer
158
views
(copy from Stackoverflow) Google Secret Manager- allow Compute Engine to auto-renew the certificates
Below is what I've posted at stackoverflow here that is not getting attention. I hope someone here is able to guide me to find the right answer.
I come with Azure background. In Azure, I could ...
0
votes
0
answers
59
views
Unable to receive TCP packets larger than VPC MTU on Google Compute Engines (Redis Client)
This seems to be network issues between Redis cluster (Deployed on our site's on-prem worker node) and Redis client (On GCP VM that is connected to our site via Cloud VPN). Specifically, the issue is ...
0
votes
0
answers
108
views
howto edit provisioned IOPS of an Extreme Persistent Disk
I'm looking how-to change/edit the provisioned IOPS setting of an Extreme Persistent disk. I'm not able to find any suitable API to change this settings and also seems not possible from the GUI.
I'm ...
0
votes
0
answers
13
views
Guard Authenticator hits
we have our codebase installed and rolling our from Google App Engine, using Compute Engine as well.
When looking back at the logs for a particular VM, I'm see a LOT of "Checking support on guard ...
1
vote
0
answers
356
views
I always have issue PERMISSION_DENIED: Permission denied to enable service [fleetengine.googleapis.com]
I'm trying to implement a fleet engine with this tutorial , but no matter how I setup super user, or driver or sth I always have this issue
enter image description here
(gcloud.services.enable) ...
0
votes
0
answers
28
views
Missing GCP compute engine instance
I have a gcp project with compute engine and cloud dns which I've been running for a few years now. I have a few websites running on the instance and usually I just access it by listing instances ...
0
votes
0
answers
144
views
Installing the latest Ops Agent returns Legacy Agent Status
GCP Compute Engine
OS: Ubuntu 18.04.5, 18.04.6, 20.04.1
After Ops Agent Installation through the install button within Monitoring Console, the installation process completes swiftly. However, checking ...
1
vote
1
answer
153
views
8GB of 10GB disk on GCP VM taken by google sdk?
Hello I have a GCP VM which is out of disk space (a 10 GB disk). I am using ncdu to figure out where all the space is being used.
--- / -----------------------------------------------------------------...
1
vote
0
answers
141
views
Nginx - Server dead when received many requests
we have a large Woocommerce website hosted on Google VM servers (E2 4vCPU + 32 GB RAM + 100 GB SSD Storage), recently we created a mobile application using flutter and WordPress -Woocommerce- API, but ...
0
votes
0
answers
219
views
Export VMDK Disk Files in Google Compute Platform - networks/default' was not found
I have a problem to export the VMDK files to my Cloud Storage in buckets
The command:
gcloud compute images export --image=my_vm_disk --destination-uri=gs://my_bucket/my_vm_disk.vmdk --export-format=...
0
votes
0
answers
37
views
GCP incorrectly blocks some of public IPs suddently today
We have some web/API services on GCP for a few years. Today, we found it's blocking some of public IPs suddenly without any notice, like 157.185.148.28, 157.185.145.180 ... Does any one know why?
0
votes
0
answers
32
views
Google Cloud App Engine for Django
I'm wondering which should i choose and how to configure this........
I will be running a django web app of "Hello World" no db no any other requirements than the "django" and &...
0
votes
0
answers
53
views
How to troubleshoot missing Solr metrics via Google Ops Agent?
Following these instructions: https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/third-party/solr
Logs start ingesting fine, metrics never come.
JMX is enabled:
No errors found in /...