How it works...
Google Cloud instance templates work differently compared to ARM templates. These instance templates are used to deploy managed instance groups that consist of machines with the same configuration. On Azure, a template can essentially deploy anything (that is supported).
This recipe showed you how to quickly create instance templates and managed instances with PowerShell cmdlets and showed you one example of using the REST API instead. Step 1 started by defining a list of disks that the template used. The definition was used in Step 2 with the Add-GceInstanceTemplate cmdlet. You added a template that deploys VMs with the size n1-standard-1 and your disk configuration.
Instances are deployed in an instance group. In Step 4 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access