let you choose the logical placement of your instances to optimize for communication, performance or durability. (free)
Clusters : can't be multi-AZ, low latency network performance, high performance computing
Partition : spread instances across logical partitions, each partition don't share the underlying hardware with each other, large distributed and replicated workloads
Spread : can be multi-AZ, critical instances should be seperate from each other
Provides the information required to launch an instance
can create copies of your servers
Launch permissions that control which AWS accounts can use the AMI to launch instances.
AMIs are Region Specific
들어오는 데이터를 이제 교통정리해서 뿌려줌 (EC2, lambda 등등)
must have at least two AZ
cannot go cross-region, only one per region.
can be physical hardware or virtual software that accepts incoming traffic to multiple targets.
Listeners : Incoming traffic 을 평가함
Rules : (no in classic load balancer) listener 들이 평가하는데 따르는 rule
Target Groups : (no in CLB)
CLB does not allow you to apply rules to listeners
Application Load Balancer : is designed to balance HTTP and HTTPS, WAF(Web Application Firewall) can be attached to ALB(Listener, Rules, Target Groups)
Network Load Balancer : is designed to balance TCP/UDP, can handle millions of requests per second, can perform Cross-Zone Load Balancing(Listener, Target Groups)
Classic Load Balancer : (legacy), can balance HTTP, HTTPS or TCP(not at the same time), will respond with a 504 error(timeout)(Listeners)
Sticky Session: specific EC2 instance로 연결, CLB, ALB,(no NLB), useful when specific info is only stored locally on a single instance
IPv4 address -> X-Forwared-FOR(XFF)
Health Checks : ELB doesn't terminate unhealthy instance, but will just redirect traffic to healthy instances.
Cross-zone load balancing : 다른 AZ에서도 나눠서 처리 가능
Request Routing : forward of redirect traffic(ALB)
-is a magnetic storage that uses rotating platters
From one AZ to another : take a snapshot of the volume -> create an AMI from the snapshot -> launch new EC2 instance in desired AZ
From one Region to another : take a snapshot of the volume -> create an AMI from the snapshot -> copy the AMI to another region -> launch a new EC2 instance from the copied AMI