Questions tagged [google-compute-engine]

Google Compute Engine offers scalable and flexible virtual machine computing capabilities in the cloud.

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

Can I use VPN(L2TP/IPsec) with strongSwan and xl2tpd on Google Compute Engine?

I couldn't find any questions about building on GCE, so I created a new question. I tried to build this, but it was rejected by the error Couldn't open the /dev/ppp device: No such file or directory. ...
足立蓮's user avatar
0 votes
1 answer
145 views

How do I replace the main network interface with a bridge on GCP?

What I'm trying to do is launch a bridged OpenVPN server on GCP (in a GCE VM). What looks like a crucial part to me is in the title. If I succeed, the rest is supposedly easy. I tried two approaches: ...
x-yuri's user avatar
  • 2,298
2 votes
2 answers
112 views

Linux server: apt-get update "Could not get lock" error

I have a Google Cloud machine. Every few days, I SSH into the VM and run a handful of commands. Over the past few days, whenever I run sudo apt-get update, I get the following errors: E: Could not get ...
SteveAlbertsonFromNY's user avatar
0 votes
1 answer
92 views

What causes Google Cloud Run job to fail with error "Killed"?

I'm cloning multiple repositories (using git clone) inside my Google Cloud Run job and one of them makes Google Cloud killing the container with exit 1. See the log: { insertId: "xxx&...
Julian's user avatar
  • 119
0 votes
0 answers
80 views

GKE Autopilot - consume reservation

I had some issues creating GKE deployment with nvidia t4 GPU (Node scale up in zones europe-west1-b associated with this pod failed: GCE out of resources. Pod is at risk of not being scheduled.) so I ...
Noskol's user avatar
  • 101
1 vote
0 answers
101 views
+50

How to use a reserved external IP address from Shared VPC host project in a service project's GKE LoadBalancer service

I've found two references (here and here) in the GCP docs saying that I may reserve an IPv4 address in the host project and use it in the service project. My case is that I have a host project where I ...
Mike's user avatar
  • 122
0 votes
0 answers
48 views

Benefits of extra DNS config for Google Cloud Private Google Access

Setup: VM running in a subnet with public NAT enabled. VM has only internal IP address. VM needs to connect to Google APIs and services without traversing public internet. Enabling NAT automatically ...
user1069483's user avatar
0 votes
2 answers
232 views

Unable to SSH VM instance after OS upgrade & reboot of VM instance in GCP

My VM instance was on CentOS 7 I recently attempted upgrading that to Almalinux 8 using below link https://wiki.almalinux.org/elevate/ELevating-CentOS7-to-AlmaLinux-9.html#migrate-centos-7-to-...
Aditya Rewari's user avatar
0 votes
0 answers
61 views

wordpress mixed content error - Is resolution on GCP possible?

I have a python flask-cors code that is run on GCP compute engine and presents its output on port 3001. Lets say the physical address of my server instance is x1.x2.x3.x4. I have a Javascript file ...
Tara's user avatar
  • 1
1 vote
1 answer
257 views

Traffic distribution inside an GCP instance group

I have a regional instance group with 2 instances serving on port 8000, no autoscaling enabled. This instance group is the backend of a Global external application load balancer. The web server on the ...
yellowhat's user avatar
  • 111
0 votes
0 answers
74 views

Importing VMware disk image to Google Cloud

I am trying to move off Rackspace to Google Cloud. I used the VMware converter to take an image of Rackspace and import it into our VMware environment and am trying to import that VMDK into Google ...
user3080539's user avatar
2 votes
2 answers
173 views

Compute Engine Snapshots can be used in other platforms

Can I use my Snapshots in GCP Compute engine in other platforms or even on premise setup?
VicIT's user avatar
  • 31
0 votes
0 answers
20 views

Compute Engine being underutilized

I got a notification saying that my VM instance was being underutilized and that I should change to a lower specification. If I do that, would I lose all the data on the VM.
Donald Peters's user avatar
1 vote
0 answers
421 views

How to install ctransformers with Conda

I am looking for the standard conda command that allows me to install ctransformers. I have found the following, but I am not sure if they are equivalent to pip install ctransformers: https://anaconda....
User 19826's user avatar
0 votes
0 answers
169 views

Error in Google Cloud when installing sentence transformers and torch

Using Google Cloud SSH command line: conda install -c conda-forge sentence-transformers Results in the following messages: unsuccessful initial attempt using frozen solve. Retrying with flexible ...
User 19826's user avatar
0 votes
0 answers
28 views

Deployment Manager - autogen has resource level errors

I have been trying, for a couple a days, to deploy WHM - Cpanel, with vary configs etc.. including auto and manual VPC Network. Here is the display of error/s. vmp-cpanel-manual has resource level ...
Simon Bayliss's user avatar
1 vote
1 answer
246 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 ...
Gary Aitken's user avatar
0 votes
0 answers
271 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 ...
Jackson Behan's user avatar
0 votes
0 answers
21 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 ...
LAH's user avatar
  • 1
0 votes
2 answers
67 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 ...
nightWolf's user avatar
  • 118
0 votes
1 answer
33 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 ...
rapago's user avatar
  • 1
0 votes
0 answers
24 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 ...
Tiago Mota's user avatar
0 votes
0 answers
112 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 \ --...
El_Merendero's user avatar
1 vote
1 answer
116 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 ...
Alan Nicolas de Oliveira's user avatar
0 votes
1 answer
71 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 ...
chetan kittur's user avatar
0 votes
0 answers
96 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? ...
triatic's user avatar
  • 35
2 votes
1 answer
2k 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 ...
Philip's user avatar
  • 35
1 vote
0 answers
341 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 ...
Salman Khan's user avatar
0 votes
0 answers
169 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 ...
Nikko's user avatar
  • 111
2 votes
1 answer
1k 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=...
Martin rudez's user avatar
1 vote
1 answer
189 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 ...
Europa's user avatar
  • 113
0 votes
0 answers
91 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 ...
weiz's user avatar
  • 1
0 votes
0 answers
351 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 ...
robot2022's user avatar
0 votes
1 answer
93 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 ...
Kravitz's user avatar
  • 167
0 votes
1 answer
40 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 ...
Atul Vaish's user avatar
0 votes
0 answers
375 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 ...
mångata's user avatar
  • 109
0 votes
1 answer
172 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 ...
serlingpa's user avatar
  • 109
0 votes
1 answer
70 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:/...
Mathews24's user avatar
  • 101
0 votes
1 answer
121 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/...
Marc's user avatar
  • 151
1 vote
0 answers
292 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 ...
LaurentD's user avatar
0 votes
1 answer
605 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 ...
user avatar
0 votes
0 answers
289 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. +-----------------...
onlygo's user avatar
  • 101
0 votes
0 answers
40 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 ...
Lucas Bittencourt's user avatar
0 votes
1 answer
266 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 ...
Adrian's user avatar
  • 101
0 votes
1 answer
203 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 ...
Hasnain's user avatar
0 votes
1 answer
569 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 ...
hphp95's user avatar
  • 101
1 vote
1 answer
4k 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 ...
ForeignerBR's user avatar
0 votes
1 answer
415 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 ...
Murat's user avatar
  • 103
0 votes
0 answers
2k 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 ...
Alexander Tolkachev's user avatar
1 vote
1 answer
270 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 ...
k8yun's user avatar
  • 11

1
2 3 4 5
30