Using managed instance groups
As we discussed earlier, a managed instance group is used to create and manage a collection of identical virtual machines, and we will be using one for availability and scalability purposes.
To create our regional managed instance group, follow these steps:
- From the cloud console navigation menu, select Compute Engine | Instance groups.
- On the Instance groups page, click Create instance group.
- Enter the following information as shown in Figure 10.13:
- Name:
tomcat-group
. - Location: Select Multiple zones.
- Region: Select europe-west2.
- Instance template: tomcat-template.
- Minimum number of instances:
3
.
- Name:
- At the bottom of the page, click Create.
In a few minutes, our instance group will have been created and the instances started.
- Once the instance group has been created...