Building a High Availability Web Application with Elastic Load Balancer and Auto Scaling

INTERMEDIATE
95 minutes
5 tasks

In this lab, you will build a highly available web application architecture using Amazon EC2, an Elastic Load Balancer (ELB), and Auto Scaling Groups across multiple Availability Zones (AZs). This hands-on project will guide you through setting up secure and efficient compute resources using AWS Identity and Access Management (IAM), VPC for networking, and ensuring data security with EBS encryption. By completing the lab, students will learn how to distribute incoming application traffic, dynamically scale compute resources to meet demand, and implement robust fault tolerance.

Scenario

You are a cloud solutions architect for a popular e-commerce company expanding its presence globally. Your company needs an architecture for its web platform capable of handling high traffic volumes during product launches. The solution must autoscale across multiple AZs to ensure 99.9% uptime and maintain low latency to serve a diverse, global customer base. General performance targets are set at 3000 requests per minute with a latency under 100ms.

Learning Objectives

  • Design a multi-tier web application architecture using AWS services.
  • Implement an Elastic Load Balancer to distribute incoming traffic.
  • Configure Auto Scaling Groups to dynamically adjust EC2 capacity based on demand.
  • Ensure high availability and fault tolerance using multiple AZs.
  • Secure the architecture using IAM roles and EBS encryption.

tasks (5)

task 1: Create a VPC and Subnets

20 min

task 2: Deploy EC2 Instances and Configure Load Balancer

20 min

task 3: Configure Auto Scaling Group and Policy

25 min

task 4: Secure the Environment with IAM Roles and EBS Encryption

15 min

task 5: Test and Verify Solution

15 min

Prerequisites

  • Basic understanding of VPC components and network setup.
  • Familiarity with EC2 instance types and configuring security groups.
  • Understanding of load balancing concepts and IAM role configuration.

Skills Tested

Designing a multi-tier web application architecture using AWS services.Implementing load balancing and autoscaling for high availability and scalability.Configuring IAM roles for security and least-privileged access.Ensuring data security with EBS encryption.