DEV Community

Olu
Olu

Posted on

Day 13 of Cloud Computing

Here’s a summary of what I did:

  1. Created 2 EC2 Instances:These are your servers.
  2. Launched an Application Load Balancer:This helps distribute incoming traffic evenly across your servers.
  3. Created a Security Group:This allows only HTTP traffic to your servers.
  4. Grouped Instances in a Target Group: This is a set of servers the load balancer will distribute traffic to.
  5. Created an Auto Scaling Group (ASG): This adjusts the number of servers automatically based on demand.
  6. Created a Launch Template: This template provides the ASG with the necessary instructions to create new EC2 instances.
  7. Attached ASG to the Load Balancer: This ensures traffic is evenly distributed across the instances, and new instances are created or deleted as needed.

In essence, I set up a system where the load balancer distributes traffic and the ASG ensures the right number of servers are running based on current demand.

Image description

Top comments (0)