QuestionQ144

VerifiedPlanning and implementing a cloud solution

You have a single binary application that you want to run on Google Cloud. You have decided to automatically scale the application based on the underlying infrastructure's CPU usage. Your organization's policies require you to use virtual machines directly.

You need to ensure that the application scaling is operationally efficient and completed as quickly as possible. What should you do?

Explanation

Managed instance groups (MIGs) built from an instance template provide built-in autoscaling based on CPU utilization (or other metrics) without requiring any custom tooling or scripts. This is the native, fully-managed Google Cloud mechanism for scaling VM-based workloads, satisfying the requirement to use VMs directly (as opposed to GKE) while being the fastest and most operationally efficient approach, since Google Cloud handles the scaling logic automatically once the autoscaling policy is configured on the MIG.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!