Elastic Load Balancing: ALB, NLB và cơ chế phân phối tảiElastic Load Balancing: ALB, NLB and how load is distributed
Hệ thống MFTECH đã vận hành nhiều EC2 instance và cần một load balancer đặt phía trước. Bài học trình bày: lựa chọn ALB hoặc NLB theo từng yêu cầu, tỷ lệ traffic mỗi target nhận được, định tuyến request bằng listener rule, health check và nguyên nhân target bị đánh dấu unhealthy, cấu hình HTTPS listener cho nhiều tên miền bằng SNI, và đưa traffic qua firewall bằng Gateway Load Balancer.The MFTECH system already runs many EC2 instances and needs a load balancer in front of them. This lesson covers: choosing an ALB or an NLB for each requirement, the share of traffic each target receives, routing requests with listener rules, health checks and why targets are marked unhealthy, HTTPS listeners for multiple domain names with SNI, and sending traffic through firewalls with a Gateway Load Balancer.
- Mức độ
- Cốt lõi Thành phần nền tảng của hầu hết kiến trúc trên AWS
- Kiến thức tiên quyết
- VPC + VPN + Direct Connect + Transit GatewayEC2
- Thời lượng
- ~35 phút, 7 phần học có mô phỏng
MFTECH đã vận hành nhiều EC2 instance trên hai AZ. Người dùng không cần biết instance nào đang hoạt động, do đó cần một load balancer đặt phía trước. Các câu hỏi thiết kế tiếp theo gồm: sử dụng loại load balancer nào, mỗi instance tiếp nhận bao nhiêu tải, một load balancer phục vụ nhiều service và nhiều tên miền như thế nào, vì sao instance đang hoạt động bình thường lại bị loại khỏi target group, và làm thế nào để mọi traffic vào hệ thống đi qua firewall của bên thứ ba.
MFTECH already runs many EC2 instances across two AZs. Users do not need to know which instance is serving them, so a load balancer is needed in front. The next design questions are: which type of load balancer to use, how much load each instance takes, how one load balancer serves many services and many domain names, why an instance that works normally is removed from the target group, and how to send all traffic entering the system through a third-party firewall.
Các phần của bài học
Kiến thức
7 phần học, đọc theo thứ tự- Phần 1/7Part 1/7 · 6 phút Đã đọc ✓ Đang đọc Các loại load balancerLoad balancer types ALB và NLBALB and NLB
- Phần 2/7Part 2/7 · 4 phút Đã đọc ✓ Đang đọc Cross-zone load balancing
- Phần 3/7Part 3/7 · 7 phút Đã đọc ✓ Đang đọc Listener rule của Application Load BalancerListener rules for your Application Load Balancer
- Phần 4/7Part 4/7 · 3 phút Đã đọc ✓ Đang đọc Health check cho target groupHealth checks for target groups
- Phần 5/7Part 5/7 · 7 phút Đã đọc ✓ Đang đọc Chứng chỉ SSL/TLS cho HTTPS listener (SNI)SSL/TLS certificates for HTTPS listeners (SNI)
- Phần 6/7Part 6/7 · 6 phút Đã đọc ✓ Đang đọc Gateway Load Balancer cho virtual appliance bên thứ baGateway Load Balancers for third-party virtual appliances
- Phần 7/7Part 7/7 · 2 phút Đã đọc ✓ Đang đọc Phân biệt nhanhQuick comparison các dịch vụ và tính năng thường bị nhầm với load balancerservices and features often confused with a load balancer
Bài kiểm tra
tự đánh giá trước khi sang bài sauCác bài tiếp theo trong lộ trình học
Bài học tiếp theo
Tài liệu AWS
Xem thêm 27 tài liệu
- Cross-zone load balancing
- Listener rules for your Application Load Balancer
- Action types for listener rules (redirect, fixed-response)
- Security policies for your Application Load Balancer
- Target group attributes: sticky sessions
- Integrations for your Application Load Balancer (AWS WAF)
- Target groups for your Network Load Balancers (ip target type, on-premises)
- What is a Gateway Load Balancer?
- Target groups for your Gateway Load Balancers
- Access an inspection system using a Gateway Load Balancer endpoint
- Gateway endpoints (Amazon S3, DynamoDB)
- AWS WAF rate-based rule statements
- AWS WAF rate-based rule aggregation options
- Automating application layer DDoS mitigation with Shield Advanced
- API Gateway usage plans and API keys
- Throttle requests to your REST APIs (API Gateway)
- Control subnet traffic with network ACLs
- Share your VPC subnets with other accounts
- Create a usage plan (API Gateway)
- What is AWS Control Tower?
- How AWS Global Accelerator works
- SSL certificates for your Application Load Balancer (SNI)
- Health checks for your target groups
- Condition types for listener rules (host header)
- Target groups for your Application Load Balancers
- Listeners for your Network Load Balancers
- Create an endpoint service (PrivateLink)
Xem thêm 27 tài liệu
- Cross-zone load balancing
- Listener rules for your Application Load Balancer
- Action types for listener rules (redirect, fixed-response)
- Security policies for your Application Load Balancer
- Target group attributes: sticky sessions
- Integrations for your Application Load Balancer (AWS WAF)
- Target groups for your Network Load Balancers (ip target type, on-premises)
- What is a Gateway Load Balancer?
- Target groups for your Gateway Load Balancers
- Access an inspection system using a Gateway Load Balancer endpoint
- Gateway endpoints (Amazon S3, DynamoDB)
- AWS WAF rate-based rule statements
- AWS WAF rate-based rule aggregation options
- Automating application layer DDoS mitigation with Shield Advanced
- API Gateway usage plans and API keys
- Throttle requests to your REST APIs (API Gateway)
- Control subnet traffic with network ACLs
- Share your VPC subnets with other accounts
- Create a usage plan (API Gateway)
- What is AWS Control Tower?
- How AWS Global Accelerator works
- SSL certificates for your Application Load Balancer (SNI)
- Health checks for your target groups
- Condition types for listener rules (host header)
- Target groups for your Application Load Balancers
- Listeners for your Network Load Balancers
- Create an endpoint service (PrivateLink)