[AWS] Classic Load Balancer VS Application Load Balancer
URL : https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/what-is-load-balancing.html?icmpid=docs_elbv2_console#elb-features
ELB 설정을 하게 되면 다음 두가지를 선택하도록 되어 있다.
어떤 것을 선택해야 할지 의문을 갖게 되는… ㅋ
아래 내용을 참고 하시면 되겠다…
웹(HTTP,HTTPS) 의 경우는 새로 나온 application load balancer 를 사용 하는게 더 쉽게 느껴지는 듯.
Features of Elastic Load Balancing
Elastic Load Balancing supports two types of load balancers: Application Load Balancers and Classic Load Balancers. Choose the load balancer type that meets your needs.
Feature | Classic Load Balancer | Application Load Balancer |
---|---|---|
Protocols | HTTP, HTTPS, TCP, SSL | HTTP, HTTPS |
Platforms | EC2-Classic, EC2-VPC | EC2-VPC |
Sticky sessions (cookies) | ✔ | load balancer generated |
Idle connection timeout | ✔ | ✔ |
Connection draining | ✔ | ✔ |
Cross-zone load balancing † | ✔ | Always enabled |
Health checks † † | ✔ | Improved |
CloudWatch metrics | ✔ | Improved |
Access logs | ✔ | Improved |
Host-based routing | ✔ | |
Path-based routing | ✔ | |
Route to multiple ports on a single instance | ✔ | |
HTTP/2 support | ✔ | |
Websockets support | ✔ | |
Load balancer deletion protection | ✔ |
† Cross-zone load balancing is always enabled for an Application Load Balancer. For a Classic Load Balancer, it is disabled by default, but can be enabled and disabled as needed.
† † For an Application Load Balancer, you can specify the HTTP codes that indicate a successful health check response. An Application Load Balancer returns improved information about the cause of health check failures.
For more information about Application Load Balancers, see the Application Load Balancer Guide. For more information about Classic Load Balancers, see the Classic Load Balancer Guide.