{"id":71917,"date":"2020-02-29T08:54:13","date_gmt":"2020-02-29T05:54:13","guid":{"rendered":"https:\/\/prohoster.info\/blog\/balansirovka-nagruzki-s-pomoshhyu-aws-elb"},"modified":"2020-03-03T16:14:06","modified_gmt":"2020-03-03T13:14:06","slug":"balansirovka-nagruzki-s-pomoshhyu-aws-elb","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/balansirovka-nagruzki-s-pomoshhyu-aws-elb","title":{"rendered":"Balancimi i ngarkes\u00ebs me AWS ELB","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>P\u00ebrsh\u00ebndetje t\u00eb gjith\u00ebve! Kursi fillon sot <noindex><a rel=\"nofollow\" href=\"https:\/\/otus.pw\/EBsK\/\">\u00abAWS p\u00ebr zhvilluesit\u00bb<\/a><\/noindex>, p\u00ebr k\u00ebt\u00eb arsye ne organizuam nj\u00eb webinar tematik q\u00eb lidhet me shqyrtimin e ELB. Ne shqyrtuam llojet e balancuesve dhe krijuam disa instanca EC2 me balancues. Po ashtu, studiuam shembuj t\u00eb tjer\u00eb p\u00ebrdorimi.<\/p>\n<p><img decoding=\"async\" alt=\"Balancimi i ngarkes\u00ebs me AWS ELB\" src=\"\/wp-content\/uploads\/2020\/02\/ad01e706fd18742f7199346081874a44.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/www.youtube.com\/watch?v=L3e5bylykOU\">Pas d\u00ebgjimit t\u00eb webinarit<\/a><\/noindex>, ju do t\u00eb jeni: <\/p>\n<ul>\n<li>t\u00eb vet\u00ebdijsh\u00ebm se \u00e7far\u00eb \u00ebsht\u00eb AWS Load Balancing;<\/li>\n<li>t\u00eb informuar p\u00ebr llojet e Elastic Load Balancer dhe komponent\u00ebt e tij;<\/li>\n<li>t\u00eb p\u00ebrdorni AWS ELB n\u00eb praktik\u00ebn tuaj.<\/li>\n<\/ul>\n<p>\nPse \u00ebsht\u00eb e r\u00ebnd\u00ebsishme kjo:<\/p>\n<ul>\n<li>\u00ebsht\u00eb e dobishme n\u00ebse planifikoni t\u00eb jepni provime p\u00ebr certifikimin AWS;<\/li>\n<li>\u00ebsht\u00eb nj\u00eb m\u00ebnyr\u00eb e thjesht\u00eb p\u00ebr t\u00eb shp\u00ebrndar\u00eb ngarkes\u00ebn mes server\u00ebve;<\/li>\n<li> \u00ebsht\u00eb nj\u00eb m\u00ebnyr\u00eb e thjesht\u00eb p\u00ebr t\u00eb shtuar Lambda n\u00eb sh\u00ebrbimin tuaj (ALB).<\/li>\n<\/ul>\n<p>\nM\u00ebsimin e hapur e drejtoi <noindex><a rel=\"nofollow\" href=\"https:\/\/otus.pw\/rjXk\/\">Rishat Teregulov<\/a><\/noindex>, inxhinier sistemi n\u00eb nj\u00eb kompani marketingu p\u00ebr zhvillimin dhe mb\u00ebshtetje t\u00eb faqeve t\u00eb internetit.<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h3>Hyrje<\/h3>\n<p>\n\u00c7far\u00eb \u00ebsht\u00eb Elastic Load Balancer, mund ta shihni n\u00eb diagramin m\u00eb posht\u00eb, ku paraqitet nj\u00eb shembull i thjesht\u00eb: <\/p>\n<p><img decoding=\"async\" alt=\"Balancimi i ngarkes\u00ebs me AWS ELB\" src=\"\/wp-content\/uploads\/2020\/02\/3cee42a12bcc3c16ebf18e38921c1a25.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nBalancuesi i ngarkes\u00ebs merr k\u00ebrkesat dhe i shp\u00ebrndan ato n\u00eb instanca. Ne kemi nj\u00eb instanc\u00eb t\u00eb ve\u00e7ant\u00eb, kemi funksione Lambda dhe kemi nj\u00eb grup AutoScaling (grupi i server\u00ebve). <\/p>\n<h3>Llojet e AWS ELB<\/h3>\n<p>\n<b>1. Le t\u00eb shqyrtojm\u00eb llojet kryesore<\/b>:<\/p>\n<p>Classic Load Balancer. Balancuesi i par\u00eb nga AWS, punon si n\u00eb nivelin 4 ashtu edhe n\u00eb nivelin 7 t\u00eb OSI, mb\u00ebshteten HTTP, HTTPS, TCP dhe SSL. Ai ofron balancimin bazik t\u00eb ngarkes\u00ebs nd\u00ebrmjet disa instancave Amazon EC2 dhe punon n\u00eb nivelin e k\u00ebrkesave dhe n\u00eb nivelin e lidhjeve. Le t\u00eb hapim k\u00ebt\u00eb (ndri\u00e7ohet me gri):<\/p>\n<p><img decoding=\"async\" alt=\"Balancimi i ngarkes\u00ebs me AWS ELB\" src=\"\/wp-content\/uploads\/2020\/02\/34ecf8bb89d3dbc9c822813bf4e212e6.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nKy balancues konsiderohet i vjetruar, prandaj rekomandohet t\u00eb p\u00ebrdoret vet\u00ebm n\u00eb raste t\u00eb ve\u00e7anta. P\u00ebr shembull, p\u00ebr aplikacione q\u00eb jan\u00eb nd\u00ebrtuar n\u00eb rrjetin EC2-Classic. N\u00eb thelb, askush nuk na pengon ta krijojm\u00eb at\u00eb:<\/p>\n<p><img decoding=\"async\" alt=\"Balancimi i ngarkes\u00ebs me AWS ELB\" src=\"\/wp-content\/uploads\/2020\/02\/0cc18b7a1bc617af6847723a4459e161.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<b>2. Network Load Balancer.<\/b> I p\u00ebrshtatsh\u00ebm p\u00ebr ngarkes\u00eb t\u00eb lart\u00eb, punon n\u00eb nivelin 4 t\u00eb OSI (mund t\u00eb p\u00ebrdoret n\u00eb EKS dhe ECS), mb\u00ebshteten TCP, UDP dhe TLS. <\/p>\n<p>Network Load Balancer drejton trafikun n\u00eb objektet e synuara n\u00eb Amazon VPC dhe \u00ebsht\u00eb n\u00eb gjendje t\u00eb p\u00ebrpunoj\u00eb miliona k\u00ebrkesa n\u00eb sekond\u00eb me vonesa shum\u00eb t\u00eb ul\u00ebta. P\u00ebr m\u00eb tep\u00ebr, ai \u00ebsht\u00eb optimizuar p\u00ebr t\u00eb p\u00ebrpunuar modele trafiku me ngarkes\u00eb t\u00eb papritur dhe t\u00eb ndryshueshme.<\/p>\n<p><b>3. Application Load Balancer<\/b>. Punon n\u00eb nivelin 7, mb\u00ebshtet Lambda, mb\u00ebshtet rregulla n\u00eb nivelin e titujve dhe rrug\u00ebve, mb\u00ebshteten HTTP dhe HTTPS. <br \/>\nSiguroi ruterim t\u00eb avancuar t\u00eb k\u00ebrkesave, t\u00eb orientuar ndaj dor\u00ebzimit t\u00eb aplikacioneve t\u00eb nd\u00ebrtuara mbi arkitektura moderne, p\u00ebrfshir\u00eb mikrosh\u00ebrbimet dhe kontejner\u00ebt. Drejton trafikun n\u00eb objektet e synuara n\u00eb Amazon VPC, duke u bazuar n\u00eb p\u00ebrmbajtjen e k\u00ebrkes\u00ebs. <\/p>\n<p>P\u00ebr shum\u00eb p\u00ebrdorues, Application Load Balancer z\u00ebvend\u00ebsoi s\u00eb pari Classic Load Balancer, pasi TCP nuk \u00ebsht\u00eb aq i zakonsh\u00ebm krahasuar me HTTP.<\/p>\n<p>Do ta krijojm\u00eb edhe k\u00ebt\u00eb, duke rezultuar n\u00eb dy balancues t\u00eb ngarkes\u00ebs:<\/p>\n<p><img decoding=\"async\" alt=\"Balancimi i ngarkes\u00ebs me AWS ELB\" src=\"\/wp-content\/uploads\/2020\/02\/581b6c8d2861d634892f5bffac2e61d9.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<\/p>\n<h3>Komponent\u00ebt e Load Balance<\/h3>\n<p>\n<b>Komponent\u00ebt e p\u00ebrgjithsh\u00ebm t\u00eb Load Balance<\/b> (t\u00eb pranish\u00ebm n\u00eb t\u00eb gjith\u00eb balancuesit):<\/p>\n<ul>\n<li><b>Politika e Regjistrimit t\u00eb Qasjes<\/b><\/li>\n<\/ul>\n<p> \u2014 regjistrat tuaj t\u00eb qasjes n\u00eb ELB. P\u00ebr t\u00eb realizuar konfigurimet, mund t\u00eb kaloni n\u00eb Description dhe t\u00eb zgjidhni butonin \"Edit attributes\":<\/p>\n<p><img decoding=\"async\" alt=\"Balancimi i ngarkes\u00ebs me AWS ELB\" src=\"\/wp-content\/uploads\/2020\/02\/26e649c163db320139fec38db6da5a4d.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nM\u00eb pas, specify S3Bucket \u2014 depozita objektive Amazon:<\/p>\n<p><img decoding=\"async\" alt=\"Balancimi i ngarkes\u00ebs me AWS ELB\" src=\"\/wp-content\/uploads\/2020\/02\/6840a9867f8c33f29dcc3776f96cdbc2.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<\/p>\n<ul>\n<li><b>Scheme <\/b><\/li>\n<\/ul>\n<p>\u2014 balancues interni ose t\u00eb jasht\u00ebm. Q\u00ebllimi \u00ebsht\u00eb, a duhet LoadBalancer juaj t\u00eb marr\u00eb adresa t\u00eb jashtme p\u00ebr t\u00eb qen\u00eb i aksesuesh\u00ebm nga jasht\u00eb, ose mund t\u00eb jet\u00eb balancuesi juaj i brendsh\u00ebm;<\/p>\n<ul>\n<li><b>Grupet e Siguris\u00eb<\/b><\/li>\n<\/ul>\n<p> \u2014 kontrolli i qasjes n\u00eb balancues. N\u00eb thelb, kjo \u00ebsht\u00eb nj\u00eb firewall i nivelit t\u00eb lart\u00eb.<\/p>\n<p><img decoding=\"async\" alt=\"Balancimi i ngarkes\u00ebs me AWS ELB\" src=\"\/wp-content\/uploads\/2020\/02\/23116f4ecf2b1b8fa29549aa1ee47cf1.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"Balancimi i ngarkes\u00ebs me AWS ELB\" src=\"\/wp-content\/uploads\/2020\/02\/ed63c80c7ee5e0843a64dc494bded4c0.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<\/p>\n<ul>\n<li><b>Subnets<\/b> <\/li>\n<\/ul>\n<p>\u2014 subnetet brenda VPC-s\u00eb tuaj (p\u00ebrkat\u00ebsisht, dhe zonat e disponueshm\u00ebris\u00eb). Subnets specifikohen gjat\u00eb krijimit. N\u00ebse VPC \u00ebsht\u00eb e kufizuar n\u00eb rajon, at\u00ebher\u00eb Subnets \u00ebsht\u00eb e kufizuar n\u00eb zonat e disponueshm\u00ebris\u00eb. Kur krijoni Load Balancer, \u00ebsht\u00eb m\u00eb mir\u00eb ta krijoni at\u00eb n\u00eb t\u00eb pakt\u00ebn dy subnets (ndihmon n\u00ebse ka probleme me nj\u00eb zon\u00eb disponueshm\u00ebrie); <\/p>\n<ul>\n<li><b>Listeners<\/b> <\/li>\n<\/ul>\n<p>\u2014 protokollet e balancuesit tuaj. Si\u00e7 u tha m\u00eb par\u00eb, p\u00ebr Classic Load Balancer mund t\u00eb jet\u00eb HTTP, HTTPS, TCP dhe SSL, p\u00ebr Network Load Balancer \u2014 TCP, UDP dhe TLS, p\u00ebr Application Load Balancer \u2014 HTTP dhe HTTPS.<\/p>\n<p>Shembuj p\u00ebr Classic Load Balancer:<\/p>\n<p><img decoding=\"async\" alt=\"Balancimi i ngarkes\u00ebs me AWS ELB\" src=\"\/wp-content\/uploads\/2020\/02\/6a63f184d0d33c6ad70c007853c1daba.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nDhe ja, n\u00eb Application Load Balancer ne shohim nj\u00eb nd\u00ebrfaqe pak m\u00eb ndryshe, dhe n\u00eb t\u00ebr\u00ebsi nj\u00eb logjik\u00eb tjet\u00ebr:<\/p>\n<p><img decoding=\"async\" alt=\"Balancimi i ngarkes\u00ebs me AWS ELB\" src=\"\/wp-content\/uploads\/2020\/02\/6cb81a09a92efc63a95a6d5fcc7f63df.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<\/p>\n<h3>Komponent\u00ebt e Load Balancer v2 (ALB dhe NLB)<\/h3>\n<p>\nTani do ta shqyrtojm\u00eb me detaje balancuesit e versionit t\u00eb dyt\u00eb Application Load Balancer dhe Network Load Balancer. K\u00ebta balancues kan\u00eb ve\u00e7ori t\u00eb ve\u00e7anta komponenti. P\u00ebr shembull, ka nj\u00eb koncept t\u00eb ri, si\u00e7 jan\u00eb Target Groups \u2014 instancat (dhe funksionet). Fal\u00eb k\u00ebtij komponenti, kemi mund\u00ebsin\u00eb t\u00eb specifikojm\u00eb se n\u00eb cilin nga Target Groups d\u00ebshirojm\u00eb t\u00eb drejtojm\u00eb trafik.<\/p>\n<p><img decoding=\"async\" alt=\"Balancimi i ngarkes\u00ebs me AWS ELB\" src=\"\/wp-content\/uploads\/2020\/02\/4bd252ecc69967c2dd47a0da5a66f7ba.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"Balancimi i ngarkes\u00ebs me AWS ELB\" src=\"\/wp-content\/uploads\/2020\/02\/12e6a6b664bc77c17ca45db9683ae932.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nTh\u00ebn\u00eb thjesht, n\u00eb Target Groups ne specifikojm\u00eb instancat ku do t\u00eb vij\u00eb trafiku. N\u00ebse n\u00eb t\u00eb nj\u00ebjtin Classic Load Balancer thjesht i lidhni menj\u00ebher\u00eb instancat me balancuesin, n\u00eb Application Load Balancer s\u00eb pari:<\/p>\n<ul>\n<li>krijoni Load Balancer;<\/li>\n<li>krijoni grupin Target;<\/li>\n<li>drejtoni Load Balancer n\u00eb Target Groups t\u00eb nevojshme p\u00ebrmes porteve ose rregullave t\u00eb nevojshme;<\/li>\n<li>N\u00eb grupet e targetit caktoni instanca.<\/li>\n<\/ul>\n<p>\nKjo logjik\u00eb e pun\u00ebs mund t\u00eb duket m\u00eb e komplikuar, por n\u00eb t\u00eb v\u00ebrtet\u00eb \u00ebsht\u00eb m\u00eb e leht\u00eb. <\/p>\n<p>Komponenti tjet\u00ebr \u2014 <b>Rregullat e d\u00ebgjuesve<\/b> (rregullat p\u00ebr ruterimin). Kjo nd\u00ebrlidhet vet\u00ebm me Application Load Balancer. N\u00ebse te Network Load Balancer thjesht krijoni nj\u00eb D\u00ebgjues dhe ai d\u00ebrgon trafik n\u00eb nj\u00eb grup t\u00eb caktuar targeti, te Application Load Balancer gjith\u00e7ka <noindex><a rel=\"nofollow\" href=\"https:\/\/youtu.be\/L3e5bylykOU?t=1414\">\u00ebsht\u00eb m\u00eb arg\u00ebtuese dhe m\u00eb e leht\u00eb<\/a><\/noindex>. <\/p>\n<p><img decoding=\"async\" alt=\"Balancimi i ngarkes\u00ebs me AWS ELB\" src=\"\/wp-content\/uploads\/2020\/02\/1e6c0edcf7db4a8eb336b1d653ef14c2.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nTani le t\u00eb themi disa fjal\u00eb p\u00ebr komponentin tjet\u00ebr \u2014 <b>Elastic IP<\/b> (adresa statike p\u00ebr NLB). N\u00ebse rregullat p\u00ebr ruterimin e Rregullave t\u00eb D\u00ebgjuesve lidhen vet\u00ebm me Application Load Balancer, at\u00ebher\u00eb Elastic IP lidhet vet\u00ebm me Network Load Balancer. <\/p>\n<p>Do t\u00eb krijojm\u00eb Network Load Balancer:<\/p>\n<p><img decoding=\"async\" alt=\"Balancimi i ngarkes\u00ebs me AWS ELB\" src=\"\/wp-content\/uploads\/2020\/02\/fadb6aae1ac199ab2a8cd2b024ce008d.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"Balancimi i ngarkes\u00ebs me AWS ELB\" src=\"\/wp-content\/uploads\/2020\/02\/116a54e4011f88ab360ae0d82211fd49.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nDhe pik\u00ebrisht n\u00eb procesin e krijimit do t\u00eb shohim se na jepet mund\u00ebsia t\u00eb zgjedhim Elastic IP:<\/p>\n<p><img decoding=\"async\" alt=\"Balancimi i ngarkes\u00ebs me AWS ELB\" src=\"\/wp-content\/uploads\/2020\/02\/a959a74f438f2455aabdd7249c750f0d.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nElastic IP ofron nj\u00eb adres\u00eb IP t\u00eb vetme, e cila mund t\u00eb lidh\u00ebt me instanca t\u00eb ndryshme EC2 n\u00eb koh\u00eb. N\u00ebse nj\u00eb instanc\u00eb EC2 ka adres\u00ebn Elastic IP dhe kjo instanc\u00eb p\u00ebrfundon ose ndalet, mund t\u00eb lidhni menj\u00ebher\u00eb nj\u00eb instanc\u00eb t\u00eb re EC2 me adres\u00ebn Elastic IP. K\u00ebshtu, aplikacioni juaj aktual nuk do t\u00eb ndalet, pasi aplikacionet shohin t\u00eb nj\u00ebjt\u00ebn adres\u00eb IP, edhe n\u00ebse EC2 reale ka ndryshuar. <\/p>\n<p>Ja <noindex><a rel=\"nofollow\" href=\"https:\/\/youtu.be\/L3e5bylykOU?t=2086\">nj\u00eb rast tjet\u00ebr p\u00ebrdorimi<\/a><\/noindex> n\u00eb lidhje me arsyet e Elastic IP. Shikoni, shohim 3 adresat IP, por ato nuk do t\u00eb q\u00ebndrojn\u00eb k\u00ebtu p\u00ebr gjithmon\u00eb: <\/p>\n<p><img decoding=\"async\" alt=\"Balancimi i ngarkes\u00ebs me AWS ELB\" src=\"\/wp-content\/uploads\/2020\/02\/62f1b41f4ef217e7dc015d7b16136839.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nAmazon i ndryshon ato me kalimin e koh\u00ebs, mund t'i nd\u00ebrronte \u00e7do 60 sekonda (por n\u00eb praktik\u00eb, sigurisht, m\u00eb rrall\u00eb). Pra, adresat IP mund t\u00eb ndodhin ndryshime. Dhe n\u00eb rastin e Network Load Balancer, ju mund t\u00eb lidhni adres\u00ebn IP dhe ta specifikoni n\u00eb rregullat tuaja, politikat etj. <\/p>\n<p><img decoding=\"async\" alt=\"Balancimi i ngarkes\u00ebs me AWS ELB\" src=\"\/wp-content\/uploads\/2020\/02\/b2d98ff6f0682347372a0e74d246a3bf.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<\/p>\n<h3>T\u00eb nxjerrim p\u00ebrfundime<\/h3>\n<p>\nELB ofron shp\u00ebrndarje automatike t\u00eb trafikut t\u00eb ardhsh\u00ebm n\u00eb disa objekte targeti (kontejner\u00eb, instanca Amazon EC2, adresa IP dhe funksione Lambda). ELB \u00ebsht\u00eb n\u00eb gjendje t\u00eb shp\u00ebrndaj\u00eb trafik me ngarkesa t\u00eb ndryshueshme si n\u00eb nj\u00eb zon\u00eb t\u00eb disponueshme ashtu edhe midis disa zonave t\u00eb disponueshme. P\u00ebrdoruesi mund t\u00eb zgjedh\u00eb nga tre lloje t\u00eb balancuesve, duke ofruar si disponueshm\u00ebri t\u00eb lart\u00eb ashtu edhe auto-skalim, dhe nj\u00eb mbrojtje t\u00eb mir\u00eb. T\u00eb gjitha k\u00ebto jan\u00eb t\u00eb r\u00ebnd\u00ebsishme p\u00ebr garantimin e q\u00ebndrueshm\u00ebris\u00eb s\u00eb aplikacioneve tuaja.<\/p>\n<p>Pikat kryesore:<\/p>\n<ul>\n<li><b>disponueshm\u00ebri e lart\u00eb<\/b>. N\u00eb marr\u00ebveshjen e sh\u00ebrbimit, sigurohet nj\u00eb disponueshm\u00ebri prej 99.99% p\u00ebr balancuesin e ngarkes\u00ebs. P\u00ebr shembull, disa zona disponueshm\u00ebrie garanton q\u00eb trafik t\u00eb trajtohet vet\u00ebm nga objekte t\u00eb sh\u00ebndosha. N\u00eb fakt, \u00ebsht\u00eb e mundur t\u00eb balancohet ngarko edhe n\u00eb t\u00eb gjith\u00eb rajonin, duke drejtuar trafik n\u00eb objekte t\u00eb sh\u00ebndosha target n\u00eb zona t\u00eb ndryshme disponueshm\u00ebrie;<\/li>\n<li><b>siguria<\/b>. ELB punon me Amazon VPC, duke ofruar mund\u00ebsi t\u00eb ndryshme p\u00ebr sigurimin \u2014 p\u00ebrfshihen menaxhimi i integruar i certifikatave, autenticiteti i p\u00ebrdoruesve dhe dekripti i SSL\/TLS. T\u00eb gjitha s\u00eb bashku sigurojn\u00eb nj\u00eb menaxhim qendror dhe fleksib\u00ebl t\u00eb cil\u00ebsimeve TLS;<\/li>\n<li><b>elasticiteti<\/b>. ELB mund t\u00eb trajtoj\u00eb ndryshime t\u00eb papritura n\u00eb trafikun n\u00eb rrjet. Nj\u00eb integrim i thell\u00eb me Auto Scaling i jep aplikacionit mjaft burime, n\u00ebse ngarkesa ndryshon, pa pasur nevoj\u00eb p\u00ebr nd\u00ebrhyrje manuale;<\/li>\n<li><b>fleksibiliteti i kufizuar<\/b>. Mund t\u00eb aplikoni adresa IP p\u00ebr t\u00eb drejtuar k\u00ebrkesat n\u00eb objektet target t\u00eb aplikacioneve tuaja. Kjo garanton fleksibilitet n\u00eb virtualizimin e aplikacioneve target, duke i dh\u00ebn\u00eb k\u00ebshtu mund\u00ebsin\u00eb p\u00ebr t\u00eb vendosur disa aplikacione n\u00eb nj\u00eb instanc\u00eb. Sepse aplikacionet mund t\u00eb p\u00ebrdorin nj\u00eb port rrjet dhe kan\u00eb grupe t\u00eb ve\u00e7anta sigurie, nd\u00ebrveprimi midis aplikacioneve b\u00ebhet m\u00eb i leht\u00eb kur kemi nj\u00eb arkitektur\u00eb, p\u00ebr shembull, bazuar n\u00eb mikros\u00ebrvicet;<\/li>\n<li><b>monitorimi dhe auditimi<\/b>. Mund t\u00eb monitoroni aplikacionet n\u00eb koh\u00eb reale, duke p\u00ebrdorur funksionet e Amazon CloudWatch. K\u00ebtu flasim p\u00ebr metrika, loge, ndjekjen e k\u00ebrkesave. Th\u00ebn\u00eb thjesht, do t\u00eb jeni n\u00eb gjendje t\u00eb identifikoni probleme dhe t\u00eb p\u00ebrcaktoni mjaft sakt\u00ebsisht ngushticat e performanc\u00ebs;<\/li>\n<li><b>balancimi hibrid i ngarkes\u00ebs<\/b>. Mund\u00ebsia p\u00ebr balancimin e ngarkes\u00ebs midis burimeve lokale dhe AWS me p\u00ebrdorimin e nj\u00eb balancuesi t\u00eb nj\u00ebjt\u00eb e b\u00ebn m\u00eb t\u00eb leht\u00eb migrimin ose zgjerimin e aplikacioneve lokale n\u00eb cloud. Po ashtu, p\u00ebrpunimi i d\u00ebshtimeve me p\u00ebrdorimin e cloud-it b\u00ebhet m\u00eb i leht\u00eb.<\/li>\n<\/ul>\n<p>\nN\u00ebse jeni t\u00eb interesuar p\u00ebr detajet, k\u00ebtu jan\u00eb disa lidhje t\u00eb dobishme nga faqja zyrtare e Amazon:<\/p>\n<ol>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/aws.amazon.com\/ru\/elasticloadbalancing\/\">Balancimi Elastic i Ngarkes\u00ebs<\/a><\/noindex>.<\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/aws.amazon.com\/ru\/elasticloadbalancing\/features\/\">Mund\u00ebsit\u00eb e Balancimit Elastic t\u00eb Ngarkes\u00ebs.<\/a><\/noindex><\/li>\n<\/ol>\n<p>Burimi: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/otus\/blog\/490232\/\">habr.com<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442! \u0423\u0436\u0435 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0441\u0442\u0430\u0440\u0442\u0443\u0435\u0442 \u043a\u0443\u0440\u0441 \u00abAWS \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432\u00bb, \u0432 \u0441\u0432\u044f\u0437\u0438 \u0441 \u0447\u0435\u043c \u043c\u044b \u043f\u0440\u043e\u0432\u0435\u043b\u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0432\u0435\u0431\u0438\u043d\u0430\u0440, \u043f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u043d\u044b\u0439 \u043e\u0431\u0437\u043e\u0440\u0443 ELB. \u041c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0438 \u0432\u0438\u0434\u044b \u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u043e\u0432 \u0438 \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u043e\u0432 EC2 \u0441 \u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u043e\u043c. \u0410 \u0442\u0430\u043a\u0436\u0435 \u0438\u0437\u0443\u0447\u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f. \u041f\u0440\u043e\u0441\u043b\u0443\u0448\u0430\u0432 \u0432\u0435\u0431\u0438\u043d\u0430\u0440, \u0432\u044b \u0431\u0443\u0434\u0435\u0442\u0435: \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 AWS Load Balancing; \u0437\u043d\u0430\u0442\u044c \u0442\u0438\u043f\u044b Elastic Load Balancer \u0438 \u0435\u0433\u043e [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":71918,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-71917","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442! \u0423\u0436\u0435 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0441\u0442\u0430\u0440\u0442\u0443\u0435\u0442 \u043a\u0443\u0440\u0441 \u00abAWS \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432\u00bb, \u0432 \u0441\u0432\u044f\u0437\u0438 \u0441 \u0447\u0435\u043c \u043c\u044b \u043f\u0440\u043e\u0432\u0435\u043b\u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0432\u0435\u0431\u0438\u043d\u0430\u0440, \u043f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u043d\u044b\u0439 \u043e\u0431\u0437\u043e\u0440\u0443 ELB.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/balansirovka-nagruzki-s-pomoshhyu-aws-elb\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"sq_AL\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0411\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u043a\u0430 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e AWS ELB | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442! \u0423\u0436\u0435 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0441\u0442\u0430\u0440\u0442\u0443\u0435\u0442 \u043a\u0443\u0440\u0441 \u00abAWS \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432\u00bb, \u0432 \u0441\u0432\u044f\u0437\u0438 \u0441 \u0447\u0435\u043c \u043c\u044b \u043f\u0440\u043e\u0432\u0435\u043b\u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0432\u0435\u0431\u0438\u043d\u0430\u0440, \u043f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u043d\u044b\u0439 \u043e\u0431\u0437\u043e\u0440\u0443 ELB.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/balansirovka-nagruzki-s-pomoshhyu-aws-elb\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-02-29T05:54:13+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-03-03T13:14:06+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Balancimi i ngarkes\u00ebs me AWS ELB | ProHoster","description":"T\u00eb gjith\u00eb p\u00ebrsh\u00ebndetje! Sot fillon kursi \"AWS p\u00ebr zhvilluesit\", p\u00ebr k\u00ebt\u00eb arsye ne organizuam nj\u00eb webinar tematik, t\u00eb dedikuar nj\u00eb p\u00ebrmbledhjeje t\u00eb ELB.","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/balansirovka-nagruzki-s-pomoshhyu-aws-elb","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sq_AL","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0411\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u043a\u0430 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e AWS ELB | ProHoster","og:description":"\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442! \u0423\u0436\u0435 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0441\u0442\u0430\u0440\u0442\u0443\u0435\u0442 \u043a\u0443\u0440\u0441 \u00abAWS \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432\u00bb, \u0432 \u0441\u0432\u044f\u0437\u0438 \u0441 \u0447\u0435\u043c \u043c\u044b \u043f\u0440\u043e\u0432\u0435\u043b\u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0432\u0435\u0431\u0438\u043d\u0430\u0440, \u043f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u043d\u044b\u0439 \u043e\u0431\u0437\u043e\u0440\u0443 ELB.","og:url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/balansirovka-nagruzki-s-pomoshhyu-aws-elb","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-02-29T05:54:13+00:00","article:modified_time":"2020-03-03T13:14:06+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"71917","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 18:54:24","updated":"2022-10-04 10:23:56","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/71917","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/comments?post=71917"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/71917\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media\/71918"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=71917"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=71917"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=71917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}