Questions tagged [google-compute-engine]

Google Compute Engine (GCE) is Google's offering for Infrastructure-as-a-Service(IaaS) model.

Filter by
Sorted by
Tagged with
0 votes
1 answer
14 views

Setting boot disk size for goole compute engine

I'm setting up a GCE instance for machine learning training. I first did this: gcloud compute instances create my_instance --image=pytorch-latest-gpu-v20240128-ubuntu-2004 --image-project=...
minou's user avatar
  • 101
0 votes
1 answer
108 views

How to make a CI/CD of an ASP.net core app to Linux compute engine instance

I'm using Google cloud, I have a linux VM up and ready for use, I have an ASP.net core web app on Azure devops. I have configured the build pipeline for this webapp, now I want to automate its ...
Damien Doumer's user avatar
1 vote
1 answer
30 views

How to figure out optimum location for server for least latency to a target service?

Given a service URL / IP, how can we find the optimum location to spin up a server at? I suppose generally if we assume the service is on AWS, google cloud or azure, setting up the server in the same ...
Meet's user avatar
  • 113
3 votes
2 answers
685 views

Can we use Ansible for monitoring configuration?

I understand how Ansible works and what it is used for. However, I was wondering if there is a way or feature (in open-source or enterprise edition) in Ansible using which, we can make sure that the ...
Amit Yadav's user avatar
0 votes
1 answer
1k views

Use Terraform to manage ssh-keys in GCE

I use Terrafrom and manage access to VMs in GCE by changing VM metadata. Before I put it to string, but it not good, so I try to put them to variable and use it. But I faced problem. This is my code: ...
Alexander Tolkachev's user avatar
2 votes
1 answer
606 views

GKE - GPU nvidia - cuda drivers dont work [closed]

I have setup a kubernetes node with a Nvidia Tesla k80 and followed this tutorial to try to run a pytorch docker image with Nvidia drivers and CUDA drivers working. I have managed to install the ...
lifeguru42's user avatar
2 votes
1 answer
1k views

GCP - Can't create a tpu on europe-west1

I'my trying to create a tpu for my vm instance from this tutorial but get this error message: ERROR: (gcloud.compute.tpus.create) PERMISSION_DENIED: Location europe-west1-b is not found or access is ...
lifeguru42's user avatar
1 vote
0 answers
53 views

Google cloud container running 40x slower then on aws [closed]

i have a flask api tunning a pytorch predict inside a kubernetes cluster. I deployed it on AWS and got good results. I have tried on GKE and had good results, but when im deploying my pods on a high ...
lifeguru42's user avatar
1 vote
3 answers
3k views

Service account permissions error when provisioning instance group from template

I'm trying to create a GCE Instance Group Manager using terraform resource "google_compute_region_instance_group_manager" "frontend_group_manager" { name = "frontend-igm" base_instance_name = "...
Richard Slater's user avatar
2 votes
1 answer
46 views

How to create a preemptable docker container?

Is there any way by which I can set a lifetime for a container after that much of time it should be stopped automatically and only awake when someone send a request. I wanted something like ...
SkyRar's user avatar
  • 186
2 votes
2 answers
2k views

Why am I unable to push docker image in gce (gcr.io)?

I created a new VM instance on my GCE compute engine (I have Owner permissions). On that instance, I installed git, docker, and gcloud - everything is done under sudo su. I was hoping I can use that ...
orberkov's user avatar
  • 195
2 votes
1 answer
572 views

Autoscaling with Kubernetes daemonset

I have a Kubernetes cluster running on Google Compute Engine. My program uses stateful connections, so I do not want my pods being moved between nodes. Because of this, I am running my workload as ...
Phoenix's user avatar
  • 121
0 votes
1 answer
210 views

Using Google IAM for GKE service web access

I am hosting an application on GKE and would like to be able to let users from my organization access this application from the web. I would like them to be able to log-in using their Google Account ...
Inbar Rose's user avatar
4 votes
1 answer
280 views

kubernetes cluster node with 4cpu can't hold two pods with 2cpu

I have a Kubernetes Cluster on GCE (Google Cloud Engine) (Also called GKE - Google Kubernetes Engine). The Cluster is configured to have 4cpu per node. The pods I am using request 2cpu. I expect to ...
Inbar Rose's user avatar
2 votes
2 answers
3k views

How to Remove a Kubernetes (GKE) Cluster node-pool without down-time

I am using Google Kubernetes Engine. I have a multiple Kubernetes cluster node-pools. I want to delete one of them. Is there a way that I can first migrate all the pods on one node-pool to another ...
Inbar Rose's user avatar
3 votes
2 answers
520 views

How do I autostart Jenkins agent machines?

To save money, I would like a large number of agent machines to be stopped and started up only when needed. Better yet, a single VM should be copied and launched on demand. I am using Google Cloud ...
Joshua Fox's user avatar
7 votes
2 answers
4k views

How to know which user created the GCE Instance

We have several billing enabled projects in our GCP account and each of them has several Compute Engine Instances. I want to remove non-critical instances just to reduce the unnecessary billing. But ...
noob's user avatar
  • 181