Questions tagged [google-cloud-instance-template]
7 questions
1
vote
1 answer
GCP Compute Engine Python API and Instance Templates not working?
Every time I try and use instance templates in the python Compute Engine API it outputs the URL incorrectly.
Ex: Using PyCharm and Python 3.9
compute = googleapiclient.discovery.build('compute', 'v1')
host_project = 'testproject123'
host_zone =…

Slacker101
- 23
- 6
0
votes
1 answer
GCP Instance Template not showing VM using it
I created an Instance Template in Compute Engine, and then created a VM Instance from it.
However, after deployment of the VM is complete, the In use by column of the Instance Template is empty, and not showing the VM Instance that was created.
In…

ml123
- 1,059
- 2
- 12
- 27
0
votes
0 answers
GKE auto upgrade is creating new instance template instead of existing template
My GKE cluster is using node pool which contains 1 instance group and 3 nodes. For my nodes, I have a custom instance template.
For my cluster, I have also enabled Auto-upgrade and…

Behroz Sikander
- 3,885
- 3
- 22
- 36
0
votes
1 answer
GCP create instance-template for instances with public ip
I am trying to create an instance-template, where a instance create with this template automatically gets an public ipv4 asigned.
Currently I am using something like following gcloud command:
gcloud compute instance-templates create TEMPLATENAME \
…

Johannes Buchholz
- 1,857
- 19
- 34
0
votes
1 answer
How to create GCP Instance-Template with accessConfig using gcloud command
Hope this is not too incidental so someone can help.
I like to create an instance template using the create command
when I run this :
gcloud compute instance-templates create jenkins-slave-instance-template-tmp1…

yarin
- 543
- 1
- 5
- 18
0
votes
0 answers
gcloud VM instance template throws "docker run executable file not found in $PATH" but starting manually via SSH works
I'm trying to create 2 instance groups with 1 single VM that has write/read permissions to a mounted disk and several others that can only read.
In all of these VM's i'm running neo4j community via docker.
My main issue is configuring the instance…

SebastianG
- 8,563
- 8
- 47
- 111
-1
votes
0 answers
Terraform Error: Cycle - Dependency issue?
enter code hereI have an issue with my Terraform config for GCP resources.
I have an InstanceTemplate, MIG, LB.
I am looking to pass the LB Frontent IP to the metadata of the Instance being created during the initial terraform apply but the Cycle…

Michael98
- 9
- 2