Deploy a Scalable Web Application with EC2 and Load Balancer

INTERMEDIATE
150 minutes
5 tasks

In this lab, you will deploy a scalable web application using Amazon EC2 and Elastic Load Balancing (ELB). The lab will guide you through creating an Amazon Virtual Private Cloud (VPC), setting up a web server on EC2 instances, and distributing incoming traffic using an Application Load Balancer (ALB). You will ensure high availability by deploying instances across multiple Availability Zones and secure your setup with appropriate security groups.

Scenario

A startup company is launching a new social media platform that requires a high-performing web application to handle increasing user traffic. The platform aims to maintain a steady response time of under 200 milliseconds. As the solutions architect, you need to design an architecture that supports this requirement while staying within a monthly infrastructure budget of $1000. The solution should ensure that the application remains available even if an entire Availability Zone goes down.

Learning Objectives

  • Design and deploy a scalable web application using EC2 and ELB.
  • Implement high availability by deploying instances across multiple Availability Zones.
  • Configure security groups to control inbound and outbound traffic.
  • Monitor and verify application uptime and performance metrics.

tasks (5)

task 1: Create a VPC with public and private subnets

30 min

task 2: Launch and configure EC2 instances in public subnet

30 min

task 3: Configure an Application Load Balancer for EC2 instances

35 min

task 4: Verify and monitor load balancer performance with CloudWatch

40 min

task 5: Set up alarms and notifications for performance issues

30 min

Prerequisites

  • Basic understanding of VPC concepts.
  • Familiarity with EC2 instance types and configurations.
  • General knowledge of load balancing strategies and configurations.

Skills Tested

Design and deploy a scalable web application using EC2 and ELB.Implement high availability by deploying instances across multiple Availability Zones.Configure security groups to control inbound and outbound traffic.Monitor and verify application uptime and performance metrics.