QuestionQ12

Ensuring successful operation of a cloud solution

A managed instance group has triggered an alert indicating that it failed to create new instances. You need to ensure the number of running instances stays at the level specified by the template so the application can handle expected traffic. What should you do?

Explanation

When a managed instance group cannot create new VM instances, a frequent cause is that the boot persistent disk—by default named identically to the instance—already exists because a prior instance's disk was never auto-deleted (disks.autoDelete was false). Google Cloud's troubleshooting guidance for this scenario is to confirm the instance template has valid syntax, remove (optionally after snapshotting) any persistent disks that share a name with the instances the group needs to create, and set disks.autoDelete to true in the template so leftover disks no longer block future instance creation after deletions or autohealing events.

Learn more

Community Discussion

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