Questions tagged [google-compute-engine]
Google Compute Engine offers scalable and flexible virtual machine computing capabilities in the cloud.
1,460
questions
0
votes
1
answer
8
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
45
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
70
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
49
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:/...
-2
votes
0
answers
49
views
Struggling with Google Cloud COS, Docker Containers, and GPU Support
I'm currently facing a complex issue while trying to integrate Google Cloud's Container-Optimized OS (COS), Docker containers, and GPU support. I'm hoping someone here might be able to provide some ...
0
votes
1
answer
41
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
44
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
45
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
82
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
18
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
58
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
48
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
77
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
37
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
0
answers
161
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
58
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
398
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
18
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
74
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
84
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
19
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
60
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
8
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
174
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
23
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
85
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
111
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
111
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
88
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
31
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
23
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
37
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 /...
0
votes
0
answers
35
views
how so I troubleshoot intermittent node/kubelt reboots on a GKE
I am running workloads on a spot GPU node pool & intermittently getting 'NodeNotReady' followed by a reboot/restart of the node (& loss of the the workload pod), however the node does not go ...
0
votes
0
answers
17
views
GCE define egress ip accross regions
There is a compute engines that is located in a specific region e.g. us-east. Now I want this compute engine to recieve an egress (not ingress) external ip adress from another region e.g. eu-west.
I ...
0
votes
1
answer
203
views
GCP Compute Engine full disk not resized file system on public image
GCP VM with 99,8% full disk has not resized its file system after increasing the disk capacity in google console.
I have a small VM on GCP based on public image ubuntu-2004-focal-v20220419.
There was ...
-1
votes
1
answer
93
views
Windows Boot disk doesnt boot in Gcloud Vm Instances
I'm trying to boot differents physical disk in gcloud. So the complete process is:
I dd the physical disk in linux (with a bs of 1G). Later i compressed in format tar.gz (with format=oldgnu, like ...
0
votes
1
answer
33
views
Log into Google Cloud VM with as specific user using IAM
I created a VM with an Ubuntu 22.04 image and I log in using IAM credentials, not SSH keys, for example:
gcloud beta compute ssh --zone myzone vmname --project myproj --tunnel-through-iap
My command ...
0
votes
0
answers
107
views
Google cloud VM instance schedules do nothing
I have an issue with my google cloud VMs: when I try to set a scheduled startup or stop for them via google cloud's "instance schedules" nothing happens at the specified time. I will walk ...
0
votes
0
answers
48
views
GKE Mulitple networking
I don’t find in GKE documentation a reference for supporting Multus or IPVLAN attachement , all I find is related to Anthos on baremetal
Could you please give us some indications how multi-networking ...
0
votes
0
answers
75
views
Error Deployment of Wordpress Click to Deploy on Google Cloud
I tried to deploy the Wordpress Click to Deploy from the Martketplace on Google Cloud and I always have this error:
{"ResourceType":"runtimeconfig.v1beta1.waiter","...
0
votes
1
answer
90
views
GCP - Compute Engine - Putty SSH
When I tried to use Putty to generate the key and ssh into VM, I found a weird thing.
I use versions 0.73 and 0.78 to generate a Key respectively. Once generated, I use version 0.73 for SSH into VM. ...
1
vote
0
answers
63
views
Create Google Cloud VM using a dockerfile
I know how to launch a Compute Engine VM. I know how to install docker, create an image from a dockerfile, and launch a container.
What I want to do is to use a dockerfile as the specification to spin ...
0
votes
0
answers
20
views
How to start-up an compute instance with out Google Console
I´m getting training on GPC and I have this question:
How to start a virtual machine without using Google Console. I mean, I had in a project some month ago, and we used Leostream Connection Broker ...
0
votes
1
answer
48
views
VM not working after Reset
Our VM is no longer resolving since we did a reset.
Reserved IP address is no longer assigned, we can not find a way to re-assign.
Anyone know how to do this?
Thanks
Pablo
0
votes
0
answers
66
views
GCP image import error: install_apt_packages failing
I was trying to import a debian-11 image (debian-11-genericcloud-amd64.raw) using gcloud compute images import command. However it was failing, and looking at the logs it seems that ...
2
votes
1
answer
233
views
GCP : Monthly VM Uptime report in percentage
The VMs in our environments are using only internal networks , which consist of both Linux and Windows flavours. Our requirement is to take the monthly report which gives the data of the VM uptime in ...
0
votes
0
answers
8
views
I have multiple services on my Google Console. how can i check the same which logs are enabled for individual service level
I would like to know which all Logs are enabled under my project Environments from Google Console at Service Level, I have multiple services on my Google Console. how can i check the same which logs ...
0
votes
0
answers
32
views
1-week old operations unavailable via gcloud compute operations list command
I have spawned a large number of instances (approx. 5000) on the last few days and I am keeping track of the start/delete times of instances via the gcloud compute operations list command.
I tried ...
0
votes
1
answer
27
views
When does upgrading require a restart or disruption of services?
I'm using google compute engine with a single VM instance (machine type: e2-custom-2-5632/skylake) that needs an upgrade. Services are bumping up against limits and throttling. I'm trying to purchase ...
0
votes
1
answer
345
views
Resize a persistent disk for Linux (MBR partition) on Google Cloud Compute Engine
I want to expand my disk capacity for my Google Cloud machine and have been following the tutorial that's located here.
However, I'm fairly certain that the tutorial assumes the user has a GPT ...