In the learning activity, the student will learn about Network Load Balancers. The lesson will take a deeper dive into the Network Load Balancer, presenting its features and use case, and highlighting comparisons between the Network Load Balancer and the Application Load Balancer. The student will walk through preparing the AWS environment for the Network Load Balancer (configuring subnets, network ACL, and EC2 instances). When the preparation is complete, the student will create and configure a Network Load Balancer. After configuration of the Load Balancer, the student will work from the CLI to run a small test on the Load Balancer and view the results in the CloudWatch Monitor.
Successfully complete this lab by achieving the following learning objectives:
- Create one subnet.
- From the AWS Management Console, select VPC
- Select Subnets
- You will see one subnet already created. To create a second subnet, click Subnets
- Click Create Subnets
- Name the subnet
- Select the VPC provided
- Select two AZs for which you will create and launch two EC2 instances into (later in the Learning Activity)
- Enter a CIDR block which will not overlap with the CIDR block of the existing subnet
- Create one Network Load Balancer.
- From the AWS Management Console, select EC2
- Select Load Balancers
- Select Create Load Balancer
- Under Network Load Balancer, click Create
- Name the Load Balancer
- Select the 2 Availability Zones for which your subnets are linked to
- Click Next: Configure Routing
- Name the Target Group and click Next: Register Targets
- Select the 2 instances you created and click Add to registered
- Click Next: Review
- Click Create