Unmanaged versus Managed Instance Groups
Also read, Load Balancers on GCP
Why use Unmanaged Groups at all?
If you need to included instances from different families, this is your only option. You would not get autoscaling or multizonal deployments - but you can still use this group together as a backend for a loadbalancer. Traffic will be distributed to named ports.
Backend Service and Backend Groups
Create a backend service that subscribes to the named port http-port.
Configure the backend service to have two backend instance groups:
instance-group-a
with a named port ofhttp-port:80
instance-group-b
with a named port ofhttp-port:8080
This backend service sends traffic to port 80 for VMs in instance-group-a
and port 8080 for VMs in instance-group-b
.
Autoscaling Managed Groups - Using Multiple Scaling Signals
- Autoscaling instance groups using multiple signals
- GCP does an OR on the multiple conditions. It will evaluate all of them, and pick the one that results in the maximum number of instances
Need an experienced Data Protection Expert? Anuj has successfully delivered over a dozen deployments on each of the public clouds (AWS/GCP/Azure) including several DevSecOps engagements. Set up a time with Anuj Varma.
Leave a Reply