AWS Classroom notes 05/Nov/2023

AWS Load Balancers

  • AWS has the following load balancers
    • Classic Load Balancer
    • Network Load Balancer (Layer 4)
    • Application Load Balancer (Layer 7)

Setup for ec2 instance with application

  • Create an ec2 instance as recommended in previous session
    Preview
  • Now lets create a reusable ami
    Preview
    Preview
  • Wait for the AMI to be created

Setup for Network load balancing

  • VPC for load balancer
    Preview
  • Health checks in Load Balancer help in identifying wheter the application is up or not in specific vm. If the health checks fail, then LB will not forward requests to EC2 instance.
    Preview
  • Create a vpc with 4 subnets
    Preview
  • Lets create two ec2 instances in two different subnets with 80 port opened
    Preview
    Preview
    Preview
  • We have two ec2 instances with private ips and 80 port opened for communication from any where
  • Now lets create a Network load balancer
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
  • Now we should be able to access the application using NLB
    Preview
    Preview

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner