サービス · ネットワークとコンテンツ配信
Elastic Load Balancing
Spreads incoming traffic across many targets and sends it only to the healthy ones.
このレッスンはまだ翻訳されていないため、英語で表示しています。
- 1Users send requests to one address: the load balancer.
- 2It spreads the requests across healthy targets in more than one Availability Zone.
- 3The load balancer keeps checking every target. One that fails its health check gets no requests until it passes again.
流れ
- 1Users send requests to one address: the load balancer.
- 2It spreads the requests across healthy targets in more than one Availability Zone.
- 3The load balancer keeps checking every target. One that fails its health check gets no requests until it passes again.
Application Load Balancer
- Handles
- HTTP and HTTPS requests (layer 7)
- Choose it for
- Web applications. It can route by URL path or host name.
Network Load Balancer
- Handles
- TCP, UDP and TLS traffic (layer 4)
- Choose it for
- Extreme performance, millions of requests per second, static IP addresses
Gateway Load Balancer
- Handles
- IP packets (layer 3)
- Choose it for
- Third-party virtual appliances, such as firewalls and intrusion detection
Classic Load Balancer
- Handles
- Layers 4 and 7
- Choose it for
- Older applications only. It is the previous generation.
| Type | Handles | Choose it for |
|---|---|---|
| Application Load Balancer | HTTP and HTTPS requests (layer 7) | Web applications. It can route by URL path or host name. |
| Network Load Balancer | TCP, UDP and TLS traffic (layer 4) | Extreme performance, millions of requests per second, static IP addresses |
| Gateway Load Balancer | IP packets (layer 3) | Third-party virtual appliances, such as firewalls and intrusion detection |
| Classic Load Balancer | Layers 4 and 7 | Older applications only. It is the previous generation. |
1 / 2
Application Load Balancer
- Handles
- HTTP and HTTPS requests (layer 7)
- Choose it for
- Web applications. It can route by URL path or host name.
Network Load Balancer
- Handles
- TCP, UDP and TLS traffic (layer 4)
- Choose it for
- Extreme performance, millions of requests per second, static IP addresses
| Type | Handles | Choose it for |
|---|---|---|
| Application Load Balancer | HTTP and HTTPS requests (layer 7) | Web applications. It can route by URL path or host name. |
| Network Load Balancer | TCP, UDP and TLS traffic (layer 4) | Extreme performance, millions of requests per second, static IP addresses |
2 / 2
Gateway Load Balancer
- Handles
- IP packets (layer 3)
- Choose it for
- Third-party virtual appliances, such as firewalls and intrusion detection
Classic Load Balancer
- Handles
- Layers 4 and 7
- Choose it for
- Older applications only. It is the previous generation.
| Type | Handles | Choose it for |
|---|---|---|
| Gateway Load Balancer | IP packets (layer 3) | Third-party virtual appliances, such as firewalls and intrusion detection |
| Classic Load Balancer | Layers 4 and 7 | Older applications only. It is the previous generation. |
概要
Elastic Load Balancing (ELB) gives your application a single point of contact. A load balancer receives incoming requests and spreads them across many targets, such as Amazon EC2 instances, containers and IP addresses, in one or more Availability Zones.
The load balancer checks the health of its targets and sends traffic only to the healthy ones. If an instance fails, users are routed around it. ELB also scales its own capacity as traffic changes, and it can take over the work of encrypting and decrypting HTTPS traffic.
概要
Choose the type by the traffic. An Application Load Balancer handles web requests and can route them by URL path or host name. A Network Load Balancer handles very high volumes of TCP and UDP traffic, with static IP addresses. A Gateway Load Balancer sends traffic through third-party virtual appliances, such as firewalls.
覚えること
- One entry point in front of many targets.
- Health checks: traffic goes only to healthy targets.
- Targets in several Availability Zones make the application highly available and fault tolerant.
- Works with Auto Scaling: new instances are registered with the load balancer automatically.
- The load balancer scales by itself as traffic changes.
試験では
- “Distribute incoming traffic across multiple EC2 instances” points to Elastic Load Balancing.
- “Route requests by URL path” points to an Application Load Balancer. “Millions of requests per second” or “a static IP address” points to a Network Load Balancer.
- “Deploy and scale third-party firewall appliances” points to a Gateway Load Balancer.
混同しやすいもの
AWS Auto ScalingAdds and removes capacity automatically, so an application keeps up with demand without paying for idle resources.
Amazon Route 53The AWS DNS service. It registers domain names and sends users to a healthy endpoint for each name.
AWS Global AcceleratorGives an application fixed IP addresses and carries its traffic over the AWS global network to the best healthy Region.