Cov txheej txheem:

Ec2 Auto Scaling ua haujlwm li cas?
Ec2 Auto Scaling ua haujlwm li cas?

Video: Ec2 Auto Scaling ua haujlwm li cas?

Video: Ec2 Auto Scaling ua haujlwm li cas?
Video: Scaling Automated UI Tests with containers and AWS 2024, Kaum ib hlis
Anonim

Amazon EC2 Auto Scaling pab koj kom paub tseeb tias koj muaj tus lej ntawm Amazon EC 2 piv txwv muaj los lis cov load rau koj daim ntawv thov. Yog koj qhia kev ntsuas txoj cai, ces Amazon EC2 Auto Scaling tuaj yeem tso tawm lossis txiav cov xwm txheej raws li qhov xav tau ntawm koj daim ntawv thov nce lossis txo.

Ib yam li ntawd, nws pib scaling hauv ec2 yog dab tsi?

Amazon EC2 Auto Scaling pab koj tswj cov ntawv thov muaj thiab tso cai rau koj tuaj yeem ntxiv lossis tshem tawm EC 2 piv txwv raws li tej yam kev mob uas koj txhais. Dynamic kev ntsuas teb rau kev hloov pauv thiab kev kwv yees kev ntsuas cia li teem sijhawm tus naj npawb ntawm EC 2 piv txwv raws li kwv yees xav tau.

Ib sab saum toj no, yog vim li cas peb thiaj li siv nws pib scaling? Autoscaling muab cov txiaj ntsig hauv qab no: Rau cov tuam txhab khiav lawv tus kheej web server infrastructure, autoscaling feem ntau txhais tau hais tias tso cai rau qee cov servers mus pw thaum lub sijhawm tsis muaj kev thauj khoom, txuag cov nqi hluav taws xob (nrog rau cov nqi dej yog tias dej tau raug. siv kom txias cov tshuab).

Tsis tas li ntawd nug, Kuv yuav ua li cas thiaj li ua kom nws pib scaling hauv AWS?

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

  1. Nyob rau hauv lub pane navigation, xaiv Auto Scaling Groups.
  2. Xaiv koj pab pawg Auto Scaling.
  3. Ntawm Kev Saib Xyuas tab, rau Auto Scaling Metrics, xaiv Pab Pawg Metrics Sau. Yog tias koj tsis pom qhov kev xaiv no, xaiv Auto Scaling for Display.

Yuav pib scaling upgrade piv txwv?

Lub dynamic kev ntsuas muaj peev xwm ntawm Amazon EC2 Auto Scaling hais txog kev ua haujlwm uas cia li nce lossis txo qhov peev xwm raws li kev thauj khoom lossis lwm yam kev ntsuas. Piv txwv li, yog tias koj lub CPU nce siab tshaj 80% (thiab koj muaj lub tswb teeb tsa) Amazon EC2 Auto Scaling tau ntxiv ib qho tshiab piv txwv dynamically.

Pom zoo: