July 2018
Intermediate to advanced
506 pages
16h 2m
English
With our instance template created, we can proceed to creating our first managed instance group, hello-migs. At a minimum, we simply specify the desired instance template and the number of instances to create. Let's create a small MIG with three instances by executing the following command from chapter_07/example_01/02-create-managed-instance-group.sh:
gcloud compute instance-groups managed create hello-migs \ --template hello-migs-template-v1 \ --size 3 \ --region us-east1
Once executed, we can view our new MIG in the Cloud Console at Navigation menu | Compute Engine | Instance groups. Click on hello-migs to view information about the new group. You'll see that there are three instances running, each with a new external IP: ...