Cov txheej txheem:

Kuv yuav ua li cas thiaj paub yog tias kuv ELB ua haujlwm?
Kuv yuav ua li cas thiaj paub yog tias kuv ELB ua haujlwm?

Video: Kuv yuav ua li cas thiaj paub yog tias kuv ELB ua haujlwm?

Video: Kuv yuav ua li cas thiaj paub yog tias kuv ELB ua haujlwm?
Video: kuv yuav ua cas koj thiaj paub tias kuv txhawj koj 2024, Kaum ib hlis
Anonim

Txheeb xyuas tias cov ELB Kev tshuaj xyuas kev noj qab haus huv tau dhau ntawm koj qhov xwm txheej backend. Tshawb xyuas koj ELB log rau txheeb xyuas tias nws muaj peev xwm txuas rau koj qhov xwm txheej back-end. Tshawb xyuas koj daim ntawv thov teev npe kom pom yog tus ELB yog kev sib txuas. Ua pob ntawv captures ntawm koj qhov backend piv txwv kom pom yog tus ELB tseem tab tom sim txuas.

Ib yam li ntawd, kuv yuav ua li cas thiaj paub yog tias kuv AWS load balancer ua haujlwm?

Qhib Amazon EC2 console ntawm https://console.aws.amazon.com/ec2/

  1. Nyob rau hauv lub pane navigation, nyob rau hauv LOAD BLANCING, xaiv Load Balancers.
  2. Xaiv koj lub load balancer.
  3. Ntawm nplooj ntawv piav qhia, xwm txheej qhia tias muaj pes tsawg zaus hauv kev pabcuam.
  4. Ntawm Instances tab, kab xwm txheej qhia txog xwm txheej ntawm txhua qhov piv txwv.

Tsis tas li ntawd, yuav ua li cas thaum lub load balancer poob? Yog ib load balancer ua tsis tau , qhov thib ob picks li ua tsis tiav thiab ua active. Lawv muaj lub plawv dhia txuas ntawm lawv uas saib xyuas cov xwm txheej. Yog tag nrho load balancers poob (lossis yog yuam kev yuam kev), servers down-kem yog knocked offline kom txog rau thaum qhov teeb meem daws, los yog koj manually txoj kev nyob ib ncig ntawm lawv.

Hais txog qhov no, ELB ua haujlwm li cas?

Yuav Ua Li Cas Elastic Load Balancing Ua haujlwm . Lub load balancer lees txais cov tsheb thauj neeg los ntawm cov neeg siv khoom thiab cov kev thov rau nws cov hom phiaj sau npe (xws li EC2 piv txwv) hauv ib lossis ntau qhov Chaw Muaj. Lub 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 xwb

ELB IP chaw nyob hloov ntau npaum li cas?

3 Teb. ELB's IP chaw nyob khaws cia hloov . Koj yuav tsum es tsis txhob siv lub npe DNS muab rau koj. Cov lus teb luv luv: Yog, ELB's IP chaw nyob (ob qho tib si yog tshaj tawm rau cov neeg siv khoom ntawm koj qhov kev pabcuam, thiab sab hauv IPs los ntawm qhov twg ELB xa tsheb mus rau koj qhov xwm txheej) dynamically hloov.

Pom zoo: