A cloud administration team manages a stateless web application deployed across a Managed Instance Group (MIG) in Google Cloud. The team has created a new instance template containing an updated container image for the application. They need to update all virtual machine instances in the group to the new version with zero downtime for end users. Which action should the team take to perform this update?
- Initiate a rolling update on the Managed Instance Group using the newly created instance template.Cevap
- BAssign the Owner primitive role to the service account used by the instance group to allow live modification of running instances.
- CSubmit a GCP quota increase request for Compute Engine instances to trigger an automatic background configuration update.
- DReconfigure the Managed Instance Group to use Spot VMs so instances automatically pull the update upon preemption.
Cevap
Initiate a rolling update on the Managed Instance Group using the newly created instance template.
The standard and Google-recommended practice for updating Compute Engine instances in a Managed Instance Group is to create a new instance template and initiate a rolling update. This automatically provisions new instances using the updated configuration while terminating old instances in a controlled, zero-downtime manner.
Adım Adım Çözüm
Anahtar Kavram
Updating Compute Engine Managed Instance Groups using Instance Templates and Rolling Updates
Tahmini Süre:1m 30s