Managing Application Traffic Using Elastic Load Balancers

Managing Application Traffic Using Elastic Load Balancers
Managing Application Traffic Using Elastic Load Balancers

CLOUD LABS

Managing Application Traffic Using Elastic Load Balancers

In this Cloud Lab, you’ll work with Application and Network Load Balancers by deploying Golang front-end and back-end applications on EC2 instances.

11 Tasks

beginner

2hr

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

Thorough understanding of the core concepts related to Elastic Load Balancers
Hands-on experience configuring Application and Network Load Balancers
Hands-on experience deploying Go-based front-end and back-end applications on EC2 instances
The ability to fetch items from DynamoDB tables using AWS Go SDK

Technologies
DynamoDB logoDynamoDB
EC2 logoEC2
ALB logoALB
Cloud Lab Overview

Elastic Load Balancing is a service provided by Amazon that automatically distributes incoming traffic across various AWS resources such as EC2 instances and IP addresses. It also monitors the health of the EC2 instances registered with it.

In this Cloud Lab, you’ll first create two target groups and then associate them with a Network Load Balancer (NLB) and an Application Load Balancer (ALB). You’ll launch two EC2 instances and deploy a back-end and front-end application to them. After registering the back-end instance as a target in the target group for your NLB and the frontend as the target in the target group for your ALB, you’ll test your NLB by sending a connection request from the frontend to the backend. You’ll also use the DNS address of your ALB to access your front-end application.

After completing this Cloud Lab, you’ll have an understanding of Elastic Load Balancers and will be able to use them to distribute your traffic across multiple instances. The following is the high-level architecture diagram of the infrastructure you will create in this Cloud Lab:

Architecture diagram
Architecture diagram
Cloud Lab Tasks
1.Introduction
Getting Started
2.Configure the Load Balancers
Configure Target Groups
Create a Network Load Balancer
Create an Application Load Balancer
3.Setup and Test the Front and Backend Applications
Create a DynamoDB Table
Launch the EC2 Instances
Set Up the Back-End Server
Set Up the Front-End Application
View the Load Balancers in Action
4.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Relevant Courses

Use the following content to review prerequisites or explore specific concepts in detail.

Trusted by 1.4 million developers working at companies including

Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg
Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

Get access to Educative Cloud Labs

Course Footer Image
Course Footer Image