AWS Relationships between EC2, ELB and ASG
This post describes the basic relationships of ELBs (now ALBs), EC2 instances and ASGs. I used AWS for over a year before I realized how Auto Scaling Groups actually interacted with ELBs and EC2 instances. Terms EC2: An Amazon virtual machine used to host applications and services. EC2 instances can be pooled for scale or failover. EC2 instances can be based on any of the Amazon EC2 machine types. Elastic Load Balancer (ELB): The basic load balancer provided by Amazon. They are used as a reverse proxy servers for pools of EC2 instances. ELBs determine instance health via basic health check operations. Auto Scaling Group (ASG): A control mechanism that manages how many EC2 instances make up a pool. ASGs will create new EC2 instances based on configured pool sizes. They can also auto-scale up and auto-scale down the pool sizes based on load. ASGs can register created EC2 instances with associated ELBs. Availability Zones (AZ): An Amazo...