hands-on lab

Migrating an NGINX Load Balancer to AWS

Difficulty: Beginner
Duration: Up to 1 hour
Students: 35
Rating: 5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Elastic Load Balancing (ELB) is a serverless offering from AWS that you can use to replace legacy load balancing setups such as NGINX. AWS Elastic Load Balancing automatically scales with your workload as traffic changes, freeing you from the technical complexity of implementing automated scaling.

Learning how to replace a self-hosted load balancer with an Application Load Balancer will benefit anyone who migrates web-based infrastructure into the public AWS cloud.

In this hands-on lab, you will examine an existing NGINX load balancing configuration and replace it with an Application Load Balancer.

Learning objectives

Upon completion of this beginner-level lab, you will be able to:

  • Locate and inspect an NGINX configuration file
  • Create an Elastic Load Balancing Target Group
  • Create an Application Load Balancer

Intended audience

  • Candidates for the AWS Certified Security Specialty certification
  • Cloud Architects
  • DevOps Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • Elastic Load Balancing (ELB)
  • Amazon Elastic Compute Cloud (EC2)

The following content can be used to fulfill the prerequisites:

Environment before

Environment after

Covered topics

Lab steps

Logging In to the Amazon Web Services Console
Connecting to the Virtual Machine Using EC2 Instance Connect
Examining the Nginx Load Balancing Configuration
Creating a Target Group
Creating an Application Load Balancer