I have 2 GCP VMs connected to a load balancer (it is an ummanaged instance group).
- I would like to spin a new VM whenever I receieve a CPU Usage alert (usage higher then 70%). This is a customized scenario and I cannot use GCP built in autoscaling.
Are the following 2 scenarios possible ? looking for some direction here.
- My custom code will spin a new VM and deploy custom code on instance.
- Can I attach the new VM to the LB after step 1 above.
Has someone created a 1000 vm’s using Terraform in GCP?
And if yes could you help me to develop the code to create that number of instances?
My ssh Keys in Vm Instance are showing "expireOn":"2020-11-20T00:06:44+000"
since then i am unable to connect to my VM and also not able to connect via SSH
Please guide on how to update the ssh keys on GCP