QuestionQ49

VerifiedDeploying applications

Your application is built as a custom machine image. You have multiple distinct deployments of that machine image. Each deployment is a separate managed instance group with its own template. Each deployment needs a unique set of configuration values. You want to supply these unique values to every deployment while using the same custom machine image across all deployments. You want to use built-in Compute Engine features.

What should you do?

Explanation

Compute Engine instance templates support custom instance metadata, and a managed instance group creates its VMs from its associated template. Setting deployment-specific configuration as metadata in each template preserves one shared custom image while making the appropriate values available to that deployment’s instances.

Learn more

Community Discussion

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