Defining an Instance Group for the Compute Engine Instances

Lab Steps

lock
Signing In to the Google Cloud Console
lock
Defining an Instance Group for the Compute Engine Instances
lock
Allowing Traffic to the Compute Engine Instances
lock
Creating a Load Balancer for the Instance Group
lock
Testing the Functionality of the Load Balancer
Need help? Contact our support team

Here you can find the instructions for this specific Lab Step.

If you are ready for a real environment experience please start the Lab. Keep in mind that you'll need to start from the first step.

Introduction

Because you need to send balanced traffic to a pool of instances, you need to create a group of instances to send that traffic to. Two instances have been already deployed in your GCP environment. In this lab step, you will create an instance group for the two Compute Engine instances.

 

Instructions

1. Look in the upper part of the GCP console for the search bar and enter compute engine. Click on Compute Engine:

alt

 

2. You will be redirected to the dashboard of Compute Engine and you will see the two instances with a name that starts with ca-lab-instance-pool-###:

alt

 

3. Look at the left side menu and click on Instance groups:

alt

 

4. Click on CREATE INSTANCE GROUP.

 

5. Select New unmanaged instance group in the form that is displayed:

alt

Note: You selected this option because the instances created have not been created using an existing template.

 

6. Fill the form on the left as described (leave the unmentioned fields at their default value):

  • Nameca-lab-instance-group
  • Description: CloudAcademy instance group
  • VM instances: Select both the two instances

alt

 

7. Click on CREATE.

 

8. After a few seconds, you will see the new instance group associated with the two instances:

alt

Warning: If the spinner doesn't end, click on the Refresh button.

 

Summary

In this lab step, you created an instance group for the two Compute Engine instances, so you are now ready to create the load balancer.

Validation checks
1Checks
Created the Instance Group

Check that the instance group has been created.

Compute Engine