Summary
Keywords
Full Transcript
Welcome to Day 4 of my #100DaysOfAWS journey! ☁️ If you don't know what is Load Balancer checkout the below 5 mins Video https://youtu.be/Jk-PpY2oGlc?si=acc23sAvTx4dbzdV Project Resources: Kodekloud labs (AWS): https://kodekloud.com/studio/labs Github: https://github.com/Priyanshu885588/100-days-100-aws-projects/tree/main/day04-High-Availability-Web-App-on-AWS Architecture Diagram: https://github.com/Priyanshu885588/100-days-100-aws-projects/blob/main/day04-High-Availability-Web-App-on-AWS/architecture.png In today's project, we are tackling one of the most critical concepts in cloud engineering: High Availability (HA). Instead of running a single server that could fail at any moment, we are deploying a redundant architecture. We’ll set up two identical Node.js servers in different Availability Zones and place them behind an Application Load Balancer (ALB). This setup ensures that if one datacenter goes down, your application stays online. We also dive into Security Groups to "lock down" our instances so they only communicate with the Load Balancer, mimicking a real-world production environment. What You Will Learn Today: Load Balancing: Using AWS ALB to distribute traffic using Round-Robin. High Availability: Deploying across multiple Availability Zones (AZs) for fault tolerance. Health Checks: Configuring the ALB to automatically detect and reroute traffic away from "dead" instances. Security Best Practices: Restricting EC2 access to only allow traffic from the Load Balancer. Failover Demo: Manually stopping a server to watch the ALB handle the traffic shift in real-time. Learning Resources: AWS Application Load Balancer: https://www.geeksforgeeks.org/aws-application-load-balancer Amazon EC2 Foundations: https://www.geeksforgeeks.org/cloud-computing/what-is-elastic-compute-cloud-ec2 🕒 Timestamps: 0:00 - Introduction to Day 4 2:37 - Free AWS Account 4:02 - Launching EC2 Instance A (us-east-1a) 6:42 - Launching EC2 Instance B (us-east-1b) 8:05 - Installing Node.js & Deploying the App 14:11 - Creating the Target Group 18:14 - Setting up the Application Load Balancer 28:05 - Demo: Testing Round-Robin & Failover 29:48 - Summary & Cleanup 🌟 About the Series: I am building 100 AWS projects in 100 days to go from cloud beginner to AWS Architect. Each video is a hands-on project designed to teach practical skills used in real DevOps, Backend Engineer, and Cloud Engineering roles. Follow along as we build real cloud architectures step by step. Stay ahead with AWS — Subscribe and build with me! 🔔 #AWS #100DaysOfAWS #EC2 #ALB #HighAvailability #CloudComputing #DevOps #LoadBalancer #NodeJS #LearnInPublic #CloudArchitecture
