Working with Elastic Load Balancing

Working with Elastic Load Balancing

55 minutes 8 Credits

SPL-03 - Version 4.3.6

© 2019 Amazon Web Services, Inc. and its affiliates. All rights reserved. This work may not be reproduced or redistributed, in whole or in part, without prior written permission from Amazon Web Services, Inc. Commercial copying, lending, or selling is prohibited.

Errors or corrections? Email us at

Other questions? Contact us at

Lab Overview

This lab introduces the concept of Elastic Load Balancing. In this lab you will use Elastic Load Balancing to load balance traffic across multiple Amazon Elastic Compute Cloud (EC2) instances in a single Availability Zone. You will deploy a simple application on multiple Amazon EC2 instances and observe load balancing by viewing the application in your browser.

First, you will launch a pair of instances, bootstrap them to install web servers and content, and then access the instances independently using Amazon EC2 DNS records. Next, you will set up Elastic Load Balancing, add your instances to the load balancer, and then access the DNS record again to watch your requests load balance between servers. Finally, you will view Elastic Load Balancing metrics in Amazon CloudWatch.

The following diagram provides a high-level overview of the architecture you will implement in this exercise.


Topics covered

This lab will take you through:

  • Launching a multiple server web farm on Amazon EC2.
  • Using bootstrapping techniques to configure Linux instances with Apache, PHP, and a simple PHP application downloaded from Amazon Simple Storage Service (S3).
  • Creating and configuring a load balancer that will sit in front of your Amazon EC2 web server instances.
  • Viewing Amazon CloudWatch metrics for the load balancer.

Join Qwiklabs to read the rest of this lab...and more!

  • Get temporary access to the Amazon Web Services Console.
  • Over 200 labs from beginner to advanced levels.
  • Bite-sized so you can learn at your own pace.
Join to Start This Lab