Hi,
So far our setup is for each environment one compute instance with a network load balancer rule redirecting traffic to it.
My idea was to spawn a copy of the instance, add it the load balancer pool and remove the old one. While doing so I noticed a few seconds of downtime.
The way I did it was to edit the load balancer pool, add the new instance, remove the old one.
Would there be a better way to achieve such deployments? For instance would changing the pool (gcloud compute forwarding-rules set-target) of a forwarding rule be better to get a transparent switch to the new instance?
I also thought of switching the IP attached to the instance.
Regards,
Youri