AWS ELB puas txhawb UDP?
AWS ELB puas txhawb UDP?

Video: AWS ELB puas txhawb UDP?

Video: AWS ELB puas txhawb UDP?
Video: AWS - ALB - Application Load Balancer - Setup & DEMO - Differences from Classic ELB 2024, Kaum ib hlis
Anonim

Ib qho ntawm cov kev txwv tseem ceeb tshaj plaws ntawm ELB , los yog AWS Classic Load Balancer , yog tias txhua tus IP kev khiav tsheb yog xav tias yuav siv qhov chaw nres nkoj TCP. Txawm hais tias cov neeg siv khoom tau thov UDP kev txhawb nqa tau ntau xyoo (raws li tau sau tseg hauv ntau lub rooj sib tham hauv Internet), ELB txuas ntxiv mus kev txhawb nqa TCP nkaus xwb.

Ib yam li ntawd, AWS puas txhawb UDP?

Amazon EC 2 Thawv Service Txhawb UDP raws tu qauv. Tam sim no koj tuaj yeem siv lub UDP raws tu qauv nrog ntim ntawm Amazon EC 2 Container Service (ECS). Tam sim no, koj tuaj yeem txhais tau UDP cov chaw nres nkoj hauv koj cov lus txhais ua haujlwm tso cai rau koj siv qhov twg raws tu qauv (piv txwv li, TCP lossis UDP ) koj daim ntawv thov xav tau.

Tsis tas li ntawd, thaum twg koj yuav tsum siv lub network load balancer? Qhov zoo tshaj plaws siv rooj plaub rau Network Load Balancer:

  1. Thaum koj xav tau seamlessly txhawb spiky lossis siab-ntim inbound TCP thov.
  2. Thaum koj xav tau kev txhawb nqa IP chaw nyob zoo li qub lossis elastic.
  3. Yog tias koj tab tom siv cov kev pabcuam ntim khoom thiab / lossis xav txhawb ntau tshaj ib qho chaw nres nkoj ntawm EC2 piv txwv.

Ntawm no, AWS ELB ua haujlwm li cas?

A load balancer lees txais cov tsheb khiav los ntawm cov neeg siv khoom thiab cov kev thov mus rau nws cov hom phiaj sau npe (xws li EC2 piv txwv) hauv ib lossis ntau qhov Availability Zones. Cov load balancer tseem saib xyuas kev noj qab haus huv ntawm nws cov hom phiaj sau npe thiab xyuas kom meej tias nws khiav tsheb mus rau cov hom phiaj noj qab haus huv nkaus xwb.

Qhov twg load balancers yuav tsum tau rau kev ua tau zoo heev?

Yog koj xav tau load tshuav HTTP thov, peb xav kom koj siv Daim Ntawv Thov Load Balancer . Rau network/transport protocols (layer4 – TCP, UDP) thauj sib npaug, thiab rau kev ua tau zoo heev / low latency applications peb pom zoo siv Network Load Balancer.

Pom zoo: