An infrastructure engineer needs to provision compute resources for an enterprise application that requires custom operating system kernel modifications and direct access to underlying virtual machine settings. The application must automatically scale out identical instances based on metric thresholds. Which compute provisioning strategy should the engineer select on Google Cloud Platform?
- Create an instance template specifying the custom VM configuration and deploy a Managed Instance Group (MIG) configured with autoscaling.Answer
- BProvision a Google Kubernetes Engine (GKE) cluster to run the application containers with custom node kernel parameters.
- CDeploy unmanaged Compute Engine instances using a service account assigned the primitive Owner role.
- DProvision individual Compute Engine instances on demand without verifying or requesting regional vCPU quota increases prior to deployment.
Answer
Create an instance template specifying the custom VM configuration and deploy a Managed Instance Group (MIG) configured with autoscaling.
Creating an instance template with the required custom virtual machine configuration and provisioning a Managed Instance Group (MIG) enables automated, policy-based scaling of identical Compute Engine instances.
Step-by-Step Solution
Key Concept
Provisioning Compute Engine Managed Instance Groups (MIGs) with Instance Templates