ELB is a server that forward traffic to multiple EC2 servers.
ALB is a load balancer designed for HTTP requests.
NLB is a load balancer designed for TCP / UDP.
GLB is a load balancer designed for GENEVE Protocol on IP packets.
Used for packet inspection, intrusion detection.
ASG automatically scales your infrastructure based on the received load.
Ensure we have a min / max number of instances running.
Terminate not responding instances.
Should be used with a load balancer.
Update the size of an ASG manually. Usually a redflag.
Respond to changing demand.
- Step scaling: CloudWatch alarm triggered (CPU > 70%) => Add or remove instances.
- Target Tracking Scaling: Target CPU usage around 40%, scale accordingly.
- Scheduled Scaling: Anticipate based on known usage patterns.
- Predictive Scaling: Uses Machine Learning to predict future traffic ahead of time.