Setting Up EC2 Instances and an Application Load Balancer for Route 53

In this lesson, we walked through the process of deploying three EC2 instances across different AWS regions and setting up an Application Load Balancer (ALB) in preparation for Route 53 integration. Below is a structured breakdown of the steps taken.


1. Creating EC2 Instances in Different Regions

To simulate a distributed architecture, three EC2 instances were launched in separate AWS regions.

Steps to Launch an EC2 Instance

  1. Choose AMI: Select Amazon Linux 2 as the operating system.
  2. Instance Type: Use a T2 Micro instance.
  3. Key Pair: No key pair was required (using EC2 Instance Connect instead).
  4. Network Settings:
  5. User Data Script:

Launched EC2 Instances in Three Regions

Each instance was successfully launched and verified using its public IP via HTTP.


2. Deploying an Application Load Balancer (ALB)

An Application Load Balancer (ALB) was set up in Frankfurt (eu-central-1) to distribute traffic.

Steps to Create the ALB