{"id":39302,"date":"2019-10-31T22:29:40","date_gmt":"2019-10-31T19:29:40","guid":{"rendered":"https:\/\/prohoster.info\/blog\/kak-aws-varit-svoi-elastichnye-servisy-masshtabirovanie-serverov-i-bazy-dannyh\/"},"modified":"2019-10-31T22:29:40","modified_gmt":"2019-10-31T19:29:40","slug":"kak-aws-varit-svoi-elastichnye-servisy-masshtabirovanie-serverov-i-bazy-dannyh","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/kak-aws-varit-svoi-elastichnye-servisy-masshtabirovanie-serverov-i-bazy-dannyh","title":{"rendered":"Si i \u201cgatuan\u201d AWS sh\u00ebrbimet e veta elastike. Shkall\u00ebzimi i server\u00ebve dhe i baz\u00ebs s\u00eb t\u00eb dh\u00ebnave","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Rekujt e ngjajn\u00eb me nj\u00eb kuti magjike \u2014 k\u00ebrkon at\u00eb q\u00eb t\u00eb nevojitet, dhe burimet thjesht shfaqen nga askund. Makinat virtuale, databazat, rrjeti \u2014 gjith\u00e7ka \u00ebsht\u00eb vet\u00ebm p\u00ebr ty. Ekzistojn\u00eb dhe tenanta t\u00eb tjer\u00eb t\u00eb reve, por n\u00eb universin t\u00ebnd je qeveritari i vet\u00ebm. Je i sigurt se gjithmon\u00eb do t\u00eb marr\u00ebsh burimet e nevojshme, nuk ke nevoj\u00eb t\u00eb n\u00ebnshtrohesh ndaj askujt dhe p\u00ebrcakton vet\u00eb se si do t\u00eb jet\u00eb rrjeti. Si funksionon kjo magji q\u00eb b\u00ebn q\u00eb reja t\u00eb alokoj\u00eb burimet elastike dhe t\u00eb izoloj\u00eb plot\u00ebsisht tenant\u00ebt nga nj\u00ebri-tjetri?<\/p>\n<p><img decoding=\"async\" alt=\"Si i \u201cgatuan\u201d AWS sh\u00ebrbimet e veta elastike. Shkall\u00ebzimi i server\u00ebve dhe i baz\u00ebs s\u00eb t\u00eb dh\u00ebnave\" src=\"\/wp-content\/uploads\/2019\/10\/075904e4db290f28746dd0054c9f87bf.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nReva AWS \u00ebsht\u00eb nj\u00eb sistem megasuperkomplikuar, i cili evoluon q\u00eb nga viti 2006. Nj\u00eb pjes\u00eb e k\u00ebtij zhvillimi ka p\u00ebrfituar <strong>Vasiliy Pantyukhin<\/strong> \u2014 arkitekti i Amazon Web Services. Si arkitekt, ai sheh nga brenda jo vet\u00ebm rezultatin p\u00ebrfundimtar, por edhe sfidat q\u00eb ekalon AWS. Sa m\u00eb shum\u00eb kuptim t\u00eb ket\u00eb p\u00ebr funksionimin e sistemit, aq m\u00eb shum\u00eb besim krijohet. Prandaj, Vasili do t\u00eb ndaj\u00eb sekretet e sh\u00ebrbimeve t\u00eb reves AWS. Posht\u00eb, do t\u00eb gjeni struktur\u00ebn e server\u00ebve fizik\u00eb t\u00eb AWS, elasticitetin e shkall\u00ebzueshm\u00ebris\u00eb s\u00eb DB, databaz\u00ebn e personalizuar Amazon dhe metodat p\u00ebr rritjen e performanc\u00ebs s\u00eb makinave virtuale p\u00ebrkrah uljes s\u00eb \u00e7mimit t\u00eb tyre. Njohja e qasjes arkitektonike t\u00eb Amazon do t\u00eb ndihmoj\u00eb n\u00eb p\u00ebrdorimin m\u00eb efektiv t\u00eb sh\u00ebrbimeve AWS dhe ndoshta do t\u00eb ofroj\u00eb ide t\u00eb reja p\u00ebr nd\u00ebrtimin e zgjidhjeve tuaja.<br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><br \/>\n<i>Rreth fol\u00ebsit: Vasili Pantiukhin (<noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/users\/hen\/\" class=\"user_link\">Hen<\/a><\/noindex>) filloi si Unix admin n\u00eb kompanit\u00eb.ru, p\u00ebr 6 vjet u angazhua me pajisje t\u00eb m\u00ebdha Sun Microsystem, dhe p\u00ebr 11 vjet predikoi qendrueshm\u00ebrin\u00eb e t\u00eb dh\u00ebnave n\u00eb EMC. N\u00eb m\u00ebnyr\u00eb natyrale evolucionoi n\u00eb re private, dhe n\u00eb vitin 2017 kaloi n\u00eb ato publike. Tani, me k\u00ebshilla teknike ndihmon p\u00ebr t\u00eb jetuar dhe zhvilluar n\u00eb re AWS.<\/p>\n<p>Disclaim\u00ebr: gjith\u00e7ka m\u00eb posht\u00eb \u00ebsht\u00eb mendimi personal i Vasilit dhe mund t\u00eb mos p\u00ebrputhet me pozitat e Amazon Web Services. <noindex><a rel=\"nofollow\" href=\"https:\/\/youtu.be\/S3f6nWJxBvk\">Regjistrimi i videos<\/a><\/noindex> i referatit, mbi t\u00eb cilin \u00ebsht\u00eb krijuar ky artikull, \u00ebsht\u00eb i disponuesh\u00ebm n\u00eb kanalin ton\u00eb YouTube.<\/i><\/p>\n<h2>Pse po flas p\u00ebr thelbin e Amazon<\/h2>\n<p>\nMakina ime e par\u00eb kishte \"dor\u00eb\" \u2014 me transmetim mekanik. Ishte e shk\u00eblqyer p\u00ebr ndjesin\u00eb se mund ta kontrolloja makin\u00ebn dhe ta menaxhoja plot\u00ebsisht. M\u00eb p\u00eblqente gjithashtu se t\u00eb pakt\u00ebn e kuptoja n\u00eb nj\u00eb far\u00eb m\u00ebnyre principin e funksionimit t\u00eb saj. Sigurisht, e p\u00ebrfytyroja funksionimin e kutis\u00eb mjaft primitivisht \u2014 diku si nj\u00eb kuti shpejt\u00ebsie n\u00eb bi\u00e7iklet\u00eb.<\/p>\n<p><img decoding=\"async\" alt=\"Si i \u201cgatuan\u201d AWS sh\u00ebrbimet e veta elastike. Shkall\u00ebzimi i server\u00ebve dhe i baz\u00ebs s\u00eb t\u00eb dh\u00ebnave\" src=\"\/wp-content\/uploads\/2019\/10\/edaec571a676e162d5f075042ac9d8ea.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nE gjitha ishte e shk\u00eblqyer, p\u00ebrve\u00e7 nj\u00eb gj\u00ebje \u2014 q\u00ebndrimit n\u00eb trafik. Si\u00e7 duket, ulur dhe nuk b\u00ebj asgj\u00eb, por vazhdimisht kaloj n\u00eb ingranazhe, shtyp frik\u00ebn, gazin, frenin \u2014 nga kjo, ndiej v\u00ebrtet lodhje. Problemi i trafikut u zgjidh pjes\u00ebrisht kur n\u00eb familje erdhi nj\u00eb makin\u00eb automatike. Pas timonit, pati koh\u00eb t\u00eb mendoj p\u00ebr di\u00e7ka, t\u00eb d\u00ebgjoj nj\u00eb audioklib\u00ebr.<\/p>\n<p>Nj\u00eb mister tjet\u00ebr u shfaq n\u00eb jet\u00ebn time, sepse un\u00eb sapo ndalova s\u00eb kuptuari si funksionon makina ime. Nj\u00eb makin\u00eb moderne \u2014 \u00ebsht\u00eb nj\u00eb pajisje e nd\u00ebrlikuar. Ajo adaptohet n\u00eb t\u00eb nj\u00ebjt\u00ebn koh\u00eb ndaj dhjetra parametrave t\u00eb ndrysh\u00ebm: shtypi mbi gaz, fren, stili i vozitjes, cil\u00ebsia e rrug\u00ebs. Un\u00eb s'po e kuptoj m\u00eb se si funksionon kjo.<\/p>\n<p>Kur fillova t\u00eb merrem me Amazon Cloud, kjo ishte gjithashtu nj\u00eb mister p\u00ebr mua. Por ky mister \u00ebsht\u00eb nj\u00eb shkall\u00eb m\u00eb i lart\u00eb, sepse n\u00eb makin\u00eb ka nj\u00eb shofer, nd\u00ebrsa n\u00eb AWS jan\u00eb miliona. T\u00eb gjith\u00eb p\u00ebrdoruesit drejtojn\u00eb n\u00eb t\u00eb nj\u00ebjt\u00ebn koh\u00eb, shtypin gazin dhe frenin. \u00cbsht\u00eb e mrekullueshme q\u00eb ata arrijn\u00eb atje ku duan \u2014 p\u00ebr mua, kjo \u00ebsht\u00eb nj\u00eb mrekulli! Sistemi adaptohet automatikisht, shkall\u00ebzohet dhe p\u00ebrshtatet elastikisht me secilin p\u00ebrdorues, aq sa ai mendon se \u00ebsht\u00eb vet\u00ebm n\u00eb k\u00ebt\u00eb Univers.<\/p>\n<p>Magjia paksa u shp\u00ebrb\u00eb kur m\u00eb von\u00eb erdha t\u00eb punoj si arkitekt n\u00eb Amazon. Pash\u00eb p\u00ebrballjet q\u00eb kishim, si i zgjidhim ato, si zhvillojm\u00eb sh\u00ebrbimet. Me rritjen e kuptimit t\u00eb funksionimit t\u00eb sistemit, rritet besimi n\u00eb sh\u00ebrbim. Prandaj, d\u00ebshiroj t\u00eb ndaj pamjen e asaj q\u00eb ndodhet n\u00ebn kapak\u00ebt e AWS Cloud.<\/p>\n<h2>P\u00ebr \u00e7far\u00eb do t\u00eb flasim<\/h2>\n<p>\nKam zgjedhur nj\u00eb qasje diversifikuar \u2014 kam p\u00ebrzgjedhur 4 sh\u00ebrbime interesante, p\u00ebr t\u00eb cilat ia vlen t\u00eb flasim.<\/p>\n<p><strong>Optimizimi i server\u00ebve<\/strong>. Cloud-et efemer me p\u00ebrmasat fizike: qendrat e t\u00eb dh\u00ebnave fizike, ku jan\u00eb server\u00eb fizik\u00eb, q\u00eb zhurmojn\u00eb, ngrohen dhe ndri\u00e7ohen me ndri\u00e7im.<\/p>\n<p><strong>Funksionet Serverless <\/strong>(Lambda) \u2014 ndoshta sh\u00ebrbimi m\u00eb i shkall\u00ebzuar n\u00eb cloud.<\/p>\n<p><strong>Shk\u00ebmbimi i baz\u00ebs s\u00eb t\u00eb dh\u00ebnave<\/strong>. Do t\u00eb flas p\u00ebr m\u00ebnyr\u00ebn se si nd\u00ebrtuam bazat tona t\u00eb dh\u00ebnash t\u00eb shkall\u00ebzuara.<\/p>\n<p><strong>Shkall\u00ebzimi i rrjetit<\/strong>. Pjesa e fundit, ku do t\u00eb zbuloj nd\u00ebrtimin e rrjetit ton\u00eb. Kjo \u00ebsht\u00eb nj\u00eb gj\u00eb e mrekullueshme \u2014 \u00e7do p\u00ebrdorues i cloud mendon se \u00ebsht\u00eb vet\u00ebm n\u00eb cloud dhe nuk e sheh fare t\u00eb tjer\u00ebt.<\/p>\n<blockquote><p><i>Sh\u00ebnim. N\u00eb k\u00ebt\u00eb artikull do t\u00eb flasim p\u00ebr optimizimin e server\u00ebve dhe zgjerimin e bazave t\u00eb dh\u00ebnash. Zgjerimi i rrjetit do t\u00eb shqyrtohet n\u00eb artikullin tjet\u00ebr. Ku jan\u00eb funksionet serverless? P\u00ebr to \u00ebsht\u00eb publikuar nj\u00eb shpjegim i ve\u00e7ant\u00eb \"<noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/oleg-bunin\/blog\/464305\/\">I vog\u00ebl, por i fuqish\u00ebm. Unboxing mikrovirtualizuesi Firecracker<\/a><\/noindex>'. N\u00eb t\u00eb ndodhen disa metoda t\u00eb ndryshme t\u00eb zgjerimit, dhe zgjidhja Firecracker \u00ebsht\u00eb shqyrtuar n\u00eb detaje - nj\u00eb simbioz\u00eb e cil\u00ebsive m\u00eb t\u00eb mira t\u00eb makinave virtuale dhe konteiner\u00ebve.<\/i><\/p><\/blockquote>\n<p><\/p>\n<h2>Server\u00ebt<\/h2>\n<p>\nRevolucioni i cloud-it \u00ebsht\u00eb efemer. Por kjo efemeritet ka nj\u00eb manifestim fizik - server\u00ebt. Fillimisht, arkitektura e tyre ishte klasike. \u00c7ipseti standard x86, kartat e rrjetit, Linux, hipervizori Xen, mbi t\u00eb cilin funksiononin makinat virtuale.<\/p>\n<p><img decoding=\"async\" alt=\"Si i \u201cgatuan\u201d AWS sh\u00ebrbimet e veta elastike. Shkall\u00ebzimi i server\u00ebve dhe i baz\u00ebs s\u00eb t\u00eb dh\u00ebnave\" src=\"\/wp-content\/uploads\/2019\/10\/734f99888072f78527bcc5f59485a1ff.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nN\u00eb vitin 2012, nj\u00eb arkitektur\u00eb e till\u00eb arrinte t\u00eb p\u00ebrballonte detyrat e saj. Xen \u00ebsht\u00eb nj\u00eb hipervizor i shk\u00eblqyer, por ka nj\u00eb disavantazh t\u00eb r\u00ebnd\u00ebsish\u00ebm. Ai ka <strong>shpenzime t\u00eb larta p\u00ebr emulimin e pajisjeve<\/strong>. Me daljen n\u00eb treg t\u00eb kartave t\u00eb reja rrjeti m\u00eb t\u00eb shpejta ose disk\u00ebve SSD, k\u00ebto shpenzime b\u00ebhen tep\u00ebr t\u00eb larta. Si mund ta zgjidhim k\u00ebt\u00eb problem? Vendos\u00ebm t\u00eb punojm\u00eb n\u00eb dy fronte - <strong>optimizimin e harduerit dhe hipervizorit<\/strong>. Kjo \u00ebsht\u00eb nj\u00eb detyr\u00eb shum\u00eb e r\u00ebnd\u00ebsishme.<\/p>\n<h3>Optimizimi i harduerit dhe hipervizorit<\/h3>\n<p>\nT\u00eb b\u00ebsh gjith\u00e7ka nj\u00ebher\u00ebsh dhe mir\u00eb nuk do t\u00eb funksionoj\u00eb. \u00c7far\u00eb \u00ebsht\u00eb \"mir\u00eb\", fillimisht gjithashtu ishte e paqart\u00eb.<\/p>\n<blockquote><p>Vendos\u00ebm t\u00eb p\u00ebrdorim nj\u00eb qasje evolucionare - t\u00eb ndryshojm\u00eb nj\u00eb element t\u00eb r\u00ebnd\u00ebsish\u00ebm t\u00eb arkitektur\u00ebs dhe ta hedhim at\u00eb n\u00eb prodhim.<\/p><\/blockquote>\n<p>K\u00ebrkojm\u00eb t\u00eb p\u00ebrballojm\u00eb \u00e7do penges\u00eb, d\u00ebgjojm\u00eb ankesat dhe sugjerimet. Pastaj ndryshojm\u00eb nj\u00eb tjet\u00ebr komponent. K\u00ebshtu, me inkrementime t\u00eb vogla, transformojm\u00eb t\u00ebr\u00eb arkitektur\u00ebn bazuar n\u00eb reagimet nga p\u00ebrdoruesit dhe mb\u00ebshtetjen.<\/p>\n<p>Transformimet filluan n\u00eb vitin 2013 me m\u00eb t\u00eb v\u00ebshtir\u00ebn - rrjetin. N\u00eb <strong>C3<\/strong> instancat, karta standarde e rrjetit u shtua me nj\u00eb kart\u00eb speciale Network Accelerator. Ajo u lidh literalisht me nj\u00eb kabllo loopback n\u00eb panelin e p\u00ebrparm\u00eb. E sh\u00ebmtuar, por n\u00eb cloud nuk duket. Megjithat\u00eb, nd\u00ebrveprimi direkt me harduerin p\u00ebrmir\u00ebsoi ndjesh\u00ebm jitter-in dhe kapacitetin e rrjetit.<\/p>\n<p>M\u00eb pas u vendos t\u00eb p\u00ebrmir\u00ebsojm\u00eb qasjen n\u00eb ruajtjen e dh\u00ebnave EBS - Elastic Block Storage. Kjo \u00ebsht\u00eb nj\u00eb kombinim i rrjetit dhe magazinimit. Sfid\u00eb \u00ebsht\u00eb se n\u00ebse n\u00eb treg ekzistonin karta Network Accelerator, mund\u00ebsia p\u00ebr t\u00eb bler\u00eb harduerin Storage Accelerator nuk kishte. Prandaj, ne iu drejtua nj\u00eb startup-i <strong>Annapurna Labs<\/strong>, e cila zhvilloi p\u00ebr ne \u00e7ipa t\u00eb specializuar ASIC. K\u00ebta lejuan lidhjen e volumeve t\u00eb larg\u00ebta EBS si pajisje NVMe.<\/p>\n<p>N\u00eb instancat <strong>C4<\/strong> ne zgjodh\u00ebm dy sfida. E para \u2014 realizuam nj\u00eb plan t\u00eb ardhsh\u00ebm p\u00ebr teknologjin\u00eb e re NVMe. E dyta \u2014 ndjesh\u00ebm ngarkuam procesorin qendror duke transferuar p\u00ebrpunimin e k\u00ebrkesave p\u00ebr EBS n\u00eb nj\u00eb kart\u00eb t\u00eb re. Doli mir\u00eb, prandaj tani Annapurna Labs \u2014 \u00ebsht\u00eb pjes\u00eb e Amazon.<\/p>\n<p>N\u00eb n\u00ebntor t\u00eb vitit 2017, ne kuptuam se erdhi koha p\u00ebr t\u00eb ndryshuar edhe hipervizorin.<\/p>\n<blockquote><p>Hipervizori i ri u zhvillua mbi baz\u00ebn e moduleve t\u00eb p\u00ebrmir\u00ebsuara t\u00eb b\u00ebrtham\u00ebs KVM.<\/p><\/blockquote>\n<p>Ai lejon t\u00eb reduktohen ndjesh\u00ebm kostot p\u00ebr emulimin e pajisjeve dhe t\u00eb punoj\u00eb direkt me ASIC-t\u00eb e rinj. Instancat <strong>C5<\/strong> isht\u00eb virtualizimi i par\u00eb, n\u00ebn kapu\u00e7in e t\u00eb cilit punon hipervizori i ri. Ne e quajt\u00ebm at\u00eb <strong>Nitro<\/strong>.<\/p>\n<p><img decoding=\"async\" alt=\"Si i \u201cgatuan\u201d AWS sh\u00ebrbimet e veta elastike. Shkall\u00ebzimi i server\u00ebve dhe i baz\u00ebs s\u00eb t\u00eb dh\u00ebnave\" src=\"\/wp-content\/uploads\/2019\/10\/f9ccbf867e405e88e36d7618375a9e73.jpg\" style=\"display:block;margin: 0 auto;\" \/><em>Evolucioni i instancave n\u00eb nj\u00eb shkall\u00eb kohore.<\/em><\/p>\n<p>T\u00eb gjitha llojet e reja t\u00eb makinave virtuale q\u00eb u shfaq\u00ebn q\u00eb nga n\u00ebntori 2017, punojn\u00eb mbi k\u00ebt\u00eb hipervizor.<strong> Makinat Bare Metal nuk kan\u00eb hipervizor<\/strong>, por ato gjithashtu quhen Nitro, pasi ato p\u00ebrdorin karta t\u00eb specializuara Nitro.<\/p>\n<p>N\u00eb dy vitet e ardhshme, numri i llojeve t\u00eb instancave Nitro tejkaloi disa dhjet\u00ebra: A1, C5, M5, T3 dhe t\u00eb tjera.<\/p>\n<p><img decoding=\"async\" alt=\"Si i \u201cgatuan\u201d AWS sh\u00ebrbimet e veta elastike. Shkall\u00ebzimi i server\u00ebve dhe i baz\u00ebs s\u00eb t\u00eb dh\u00ebnave\" src=\"\/wp-content\/uploads\/2019\/10\/3342d335f54f28b3225c7c6d95f27744.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<em>Llojet e instancave.<\/em><\/p>\n<h3>Si jan\u00eb t\u00eb organizuara makinat Nitro moderne<\/h3>\n<p>\nAto kan\u00eb tre komponent\u00eb kryesor\u00eb: hipervizorin Nitro (p\u00ebr t\u00eb cilin u diskutua m\u00eb lart), \u00e7ipin e siguris\u00eb dhe kartat Nitro.<\/p>\n<p><strong>\u00c7ipi i siguris\u00eb<\/strong> \u00ebsht\u00eb i integruar pik\u00ebrisht n\u00eb bord. Ai kontrollon shum\u00eb funksione t\u00eb r\u00ebnd\u00ebsishme, p\u00ebr shembull, kontrollin e ngarkes\u00ebs s\u00eb OS-s\u00eb s\u00eb hostit.<\/p>\n<p><strong>Kartat Nitro<\/strong> - ato ekzistojn\u00eb n\u00eb kat\u00ebr lloje. T\u00eb gjitha jan\u00eb zhvilluar nga Annapurna Labs dhe bazohen n\u00eb ASIC t\u00eb zakonsh\u00ebm. Nj\u00eb pjes\u00eb e firmware-t t\u00eb tyre gjithashtu \u00ebsht\u00eb e p\u00ebrbashk\u00ebt.<\/p>\n<p><img decoding=\"async\" alt=\"Si i \u201cgatuan\u201d AWS sh\u00ebrbimet e veta elastike. Shkall\u00ebzimi i server\u00ebve dhe i baz\u00ebs s\u00eb t\u00eb dh\u00ebnave\" src=\"\/wp-content\/uploads\/2019\/10\/411947f770f82dead25f9fafad5814c6.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<em>Kat\u00ebr lloje kartash Nitro.<\/em><\/p>\n<p>Nj\u00eb nga kartat \u00ebsht\u00eb e destinuar p\u00ebr t\u00eb punuar me <strong>rrjetin<\/strong><strong>VPC<\/strong>. Ajo \u00ebsht\u00eb e dukshme n\u00eb virtualizime si karta rrjetit <strong>ENA \u2014 Adaptori i Rrjetit Elastik<\/strong>. Ajo gjithashtu inkapsulon trafikun gjat\u00eb transmetimit p\u00ebrmes rrjetit fizik (p\u00ebr k\u00ebt\u00eb do flasim n\u00eb pjes\u00ebn e dyt\u00eb t\u00eb artikullit), kontrollon Firewall grupet e Siguris\u00eb, p\u00ebrgjigjet p\u00ebr ruterimin dhe gj\u00ebra t\u00eb tjera rrjetore.<\/p>\n<p>Kartat e ve\u00e7anta punojn\u00eb me ruajtjen bllokuese <strong>EBS<\/strong> dhe disk\u00ebt, t\u00eb cil\u00ebt jan\u00eb t\u00eb integruar n\u00eb server. P\u00ebr makin\u00ebn virtuale t\u00eb pritjes ato paraqiten si <strong>adaptues NVMe<\/strong>. Ato gjithashtu p\u00ebrgjigjen p\u00ebr enkriptimin e t\u00eb dh\u00ebnave dhe monitorimin e disqeve.<\/p>\n<p>Sistemi i kartave Nitro, hipervizorit dhe \u00e7ipit t\u00eb siguris\u00eb \u00ebsht\u00eb i bashkuar n\u00eb nj\u00eb rrjet SDN ose<strong> Rrjeti i Definimit t\u00eb Softuerit<\/strong>. P\u00ebr menaxhimin e k\u00ebtij rrjeti (Control Plane) p\u00ebrgjigjet <strong>kontrolluesi i hart\u00ebs<\/strong>.<\/p>\n<p>Sigurisht, ne vazhdojm\u00eb zhvillimin e ASIC-ve t\u00eb rinj. P\u00ebr shembull, n\u00eb fund t\u00eb vitit 2018, \u00e7release \u00e7ipi Inferentia, i cili lejon nj\u00eb funksionim m\u00eb efikas me detyrat e m\u00ebsimit t\u00eb makinerive.<\/p>\n<p><img decoding=\"async\" alt=\"Si i \u201cgatuan\u201d AWS sh\u00ebrbimet e veta elastike. Shkall\u00ebzimi i server\u00ebve dhe i baz\u00ebs s\u00eb t\u00eb dh\u00ebnave\" src=\"\/wp-content\/uploads\/2019\/10\/2e20101688bc0b68bb54ea7cd1344f51.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<em>\u00c7ipi Inferentia Procesori i M\u00ebsimit t\u00eb Makinerive.<\/em><\/p>\n<h2>Baza e dh\u00ebnash e shkall\u00ebzuar<\/h2>\n<p>\nNj\u00eb baz\u00eb e dh\u00ebnash tradicionale ka nj\u00eb struktur\u00eb t\u00eb stratifikuar. N\u00ebse e thjeshtojm\u00eb shum\u00eb, mund t\u00eb identifikojm\u00eb nivelet e m\u00ebposhtme.<\/p>\n<ul>\n<li><strong>SQL<\/strong> \u2014 n\u00eb t\u00eb punojn\u00eb menaxher\u00ebt e klient\u00ebve dhe k\u00ebrkesave.<\/li>\n<li>Sigurimi <strong>i transaksioneve<\/strong> \u2014 k\u00ebtu gjith\u00e7ka \u00ebsht\u00eb e qart\u00eb, ACID dhe gjith\u00e7ka e till\u00eb.<\/li>\n<li><strong>Ke\u0161imi<\/strong>, e cila sigurohet nga pool-et e buffers.<\/li>\n<li><strong>Regjistrimi<\/strong> \u2014 e siguron pun\u00ebn me redo-log\u00ebt. N\u00eb MySQL ata quhen Bin Logs, n\u00eb PosgreSQL \u2014 Write Ahead Logs (WAL).<\/li>\n<li><strong>Ruajtja <\/strong>\u2013 regjistrimi direkt n\u00eb disk.<\/li>\n<\/ul>\n<p>\n<img decoding=\"async\" alt=\"Si i \u201cgatuan\u201d AWS sh\u00ebrbimet e veta elastike. Shkall\u00ebzimi i server\u00ebve dhe i baz\u00ebs s\u00eb t\u00eb dh\u00ebnave\" src=\"\/wp-content\/uploads\/2019\/10\/b6ddee7bd150d307049a95f943b15e4c.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<em>Struktura e stratifikuar e baz\u00ebs s\u00eb t\u00eb dh\u00ebnave.<\/em><\/p>\n<p>K existojn\u00eb m\u00ebnyra t\u00eb ndryshme p\u00ebr t\u00eb shkall\u00ebzuar bazat e t\u00eb dh\u00ebnave: sharding, arkitektura Shared Nothing, disqe t\u00eb ndar\u00eb.<\/p>\n<p><img decoding=\"async\" alt=\"Si i \u201cgatuan\u201d AWS sh\u00ebrbimet e veta elastike. Shkall\u00ebzimi i server\u00ebve dhe i baz\u00ebs s\u00eb t\u00eb dh\u00ebnave\" src=\"\/wp-content\/uploads\/2019\/10\/ec8c74c80f295018271326d20d36b08e.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nMegjithat\u00eb, t\u00eb gjitha k\u00ebto metoda ruajn\u00eb t\u00eb nj\u00ebjt\u00ebn struktur\u00eb monolitike t\u00eb baz\u00ebs s\u00eb t\u00eb dh\u00ebnave. Kjo e kufizon duksh\u00ebm shkall\u00ebzimin. P\u00ebr t\u00eb zgjidhur k\u00ebt\u00eb problem, ne zhvilluam baz\u00ebn ton\u00eb t\u00eb t\u00eb dh\u00ebnave \u2014 <strong>Amazon Aurora<\/strong>. Ajo \u00ebsht\u00eb e p\u00ebrputhshme me MySQL dhe PostgreSQL.<\/p>\n<h3>Amazon Aurora<\/h3>\n<p>\nIdeja kryesore arkitekturore \u00ebsht\u00eb ndarja e niveleve t\u00eb ruajtjes dhe logimit nga baza e t\u00eb dh\u00ebnave kryesore.<\/p>\n<p>Duke b\u00ebr\u00eb nj\u00eb hap para, do t\u00eb them se niveli i kesh-it po ashtu e b\u00ebm\u00eb t\u00eb pavarur. Arkitektura nuk \u00ebsht\u00eb m\u00eb nj\u00eb monolit, dhe ne marrim grad\u00eb t\u00eb reja lirie n\u00eb shkall\u00ebzimin e blloqeve t\u00eb ndryshme.<\/p>\n<p><img decoding=\"async\" alt=\"Si i \u201cgatuan\u201d AWS sh\u00ebrbimet e veta elastike. Shkall\u00ebzimi i server\u00ebve dhe i baz\u00ebs s\u00eb t\u00eb dh\u00ebnave\" src=\"\/wp-content\/uploads\/2019\/10\/dfe3f039fbcf5140aa1541802b51c1ec.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<em>Nivelet e logimit dhe ruajtjes jan\u00eb ndar\u00eb nga baza e t\u00eb dh\u00ebnave.<\/em><\/p>\n<p>Nj\u00eb DBM tradicionale regjistron t\u00eb dh\u00ebnat n\u00eb sistemin e ruajtjes n\u00eb form\u00eb bllokesh. N\u00eb Amazon Aurora krijuam nj\u00eb ruajtje \"inteligjente\", e cila mund t\u00eb flas\u00eb n\u00eb gjuh\u00ebn <strong>e redo-log\u00ebve<\/strong>. Brenda vetes, ruajtja i kthen log\u00ebt n\u00eb blloqe t\u00eb dh\u00ebnash, monitoron integritetin e tyre dhe b\u00ebn automatikisht backup.<\/p>\n<p>Ky qasje lejon realizimin e gj\u00ebrave interesante si <strong>klonimi<\/strong>. Ai funksionon n\u00eb m\u00ebnyr\u00eb themelore m\u00eb shpejt dhe m\u00eb ekonomik p\u00ebr shkak t\u00eb faktit se nuk k\u00ebrkon krijimin e nj\u00eb kopjeje t\u00eb plot\u00eb t\u00eb t\u00eb gjitha t\u00eb dh\u00ebnave.<\/p>\n<p>Niveli i ruajtjes \u00ebsht\u00eb realizuar si nj\u00eb sistem t\u00eb shp\u00ebrndar\u00eb. Ai p\u00ebrb\u00ebhet nga nj\u00eb num\u00ebr shum\u00eb t\u00eb madh serverash fizik\u00eb. \u00c7do redo-log p\u00ebrpunohen dhe ruhen n\u00eb t\u00eb nj\u00ebjt\u00ebn koh\u00eb <strong>nga gjasht\u00eb node<\/strong>. Kjo siguron mbrojtjen e t\u00eb dh\u00ebnave dhe shp\u00ebrndarjen e ngarkes\u00ebs.<\/p>\n<p><img decoding=\"async\" alt=\"Si i \u201cgatuan\u201d AWS sh\u00ebrbimet e veta elastike. Shkall\u00ebzimi i server\u00ebve dhe i baz\u00ebs s\u00eb t\u00eb dh\u00ebnave\" src=\"\/wp-content\/uploads\/2019\/10\/9861d6e975b483cc5a20727af91b1a6b.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nMund\u00ebsia e shkall\u00ebzimit n\u00eb lexim mund t\u00eb sigurohet me an\u00eb t\u00eb replika t\u00eb p\u00ebrshtatshme. Sht\u00ebpia e shp\u00ebrndar\u00eb eleminon nevoj\u00ebn p\u00ebr sinkronizim mes instanc\u00ebs kryesore t\u00eb DB, p\u00ebrmes s\u00eb cil\u00ebs ne regjistrojm\u00eb t\u00eb dh\u00ebnat, dhe llojeve t\u00eb tjera t\u00eb replika. T\u00eb dh\u00ebnat aktuale jan\u00eb garantuar qasje p\u00ebr t\u00eb gjitha replikat.<\/p>\n<p>Problemi i vet\u00ebm \u00ebsht\u00eb ruajtja n\u00eb cache e t\u00eb dh\u00ebnave t\u00eb vjetra n\u00eb replikat e leximit. Por ky problem zgjidhet <strong>duke transmetuar t\u00eb gjitha log-et redo<\/strong> n\u00eb replikat p\u00ebrmes rrjetit t\u00eb brendsh\u00ebm. N\u00ebse log-u \u00ebsht\u00eb n\u00eb cache, ai sh\u00ebnohet si i pavlefsh\u00ebm dhe ri-shkruhet. N\u00ebse nuk \u00ebsht\u00eb n\u00eb cache, thjesht hidhet posht\u00eb.<\/p>\n<p><img decoding=\"async\" alt=\"Si i \u201cgatuan\u201d AWS sh\u00ebrbimet e veta elastike. Shkall\u00ebzimi i server\u00ebve dhe i baz\u00ebs s\u00eb t\u00eb dh\u00ebnave\" src=\"\/wp-content\/uploads\/2019\/10\/f87a140e401c49282d58ef65df5a4da2.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nKemi kuptuar ruajtjen.<\/p>\n<h3>Si t\u00eb shkall\u00ebzojm\u00eb nivelet e DBMS<\/h3>\n<p>\nK\u00ebtu, shkall\u00ebzimi horizontal \u00ebsht\u00eb shum\u00eb m\u00eb i komplikuar. Prandaj, do t\u00eb ndjekim nj\u00eb rrug\u00eb t\u00eb p\u00ebrshkruar <strong>n\u00eb shkall\u00ebzimin klasik vertikal<\/strong>.<\/p>\n<p>Le t\u00eb supozojm\u00eb se kemi nj\u00eb aplikacion q\u00eb komunikon me DBMS p\u00ebrmes nj\u00eb node master. <\/p>\n<p>Gjat\u00eb shkall\u00ebzimit vertikal, ne ndajm\u00eb nj\u00eb node t\u00eb re, e cila do t\u00eb ket\u00eb m\u00eb shum\u00eb procesor\u00eb dhe memorie.<\/p>\n<p><img decoding=\"async\" alt=\"Si i \u201cgatuan\u201d AWS sh\u00ebrbimet e veta elastike. Shkall\u00ebzimi i server\u00ebve dhe i baz\u00ebs s\u00eb t\u00eb dh\u00ebnave\" src=\"\/wp-content\/uploads\/2019\/10\/72f09bdc94584629fad0c40bf1a45bd9.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nPastaj, ne kalojm\u00eb aplikacionin nga node master e vjet\u00ebr n\u00eb t\u00eb re. Ndodhin probleme.<\/p>\n<ul>\n<li>Kjo do t\u00eb k\u00ebrkoj\u00eb nj\u00eb koh\u00eb t\u00eb dukshme ndalimi p\u00ebr aplikacionin.<\/li>\n<li>Node e re master do t\u00eb ket\u00eb nj\u00eb cache t\u00eb ftoht\u00eb. Performanca e DB do t\u00eb jet\u00eb maksimale vet\u00ebm pas ngrohjes s\u00eb cache-it.<\/li>\n<\/ul>\n<p>\n<img decoding=\"async\" alt=\"Si i \u201cgatuan\u201d AWS sh\u00ebrbimet e veta elastike. Shkall\u00ebzimi i server\u00ebve dhe i baz\u00ebs s\u00eb t\u00eb dh\u00ebnave\" src=\"\/wp-content\/uploads\/2019\/10\/9820acd5597cb80bd7c63060ed13a37f.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nSi ta p\u00ebrmir\u00ebsojm\u00eb situat\u00ebn? T\u00eb vendosim nj\u00eb proxy mes aplikacionit dhe node master.<\/p>\n<p><img decoding=\"async\" alt=\"Si i \u201cgatuan\u201d AWS sh\u00ebrbimet e veta elastike. Shkall\u00ebzimi i server\u00ebve dhe i baz\u00ebs s\u00eb t\u00eb dh\u00ebnave\" src=\"\/wp-content\/uploads\/2019\/10\/ba8265da6ef9b1c1f9ac27bccab73f5d.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u00c7far\u00eb na jep kjo? Tani, t\u00eb gjitha aplikacionet nuk \u00ebsht\u00eb nevoja t\u2019i redirectionohet manualisht n\u00eb node e re. Kalimi mund t\u00eb b\u00ebhet n\u00ebn proxy dhe ndihmon q\u00eb t\u00eb jet\u00eb thelb\u00ebsisht m\u00eb i shpejt\u00eb.<\/p>\n<p>Duket se problemi \u00ebsht\u00eb zgjidhur. Por jo, ne ende vuajm\u00eb nga nevoja p\u00ebr ngrohjen e cache-it. P\u00ebr m\u00eb tep\u00ebr, u shfaq nj\u00eb problem i ri \u2014 tani proxy \u00ebsht\u00eb nj\u00eb pik\u00eb potenciale d\u00ebshtimi.<\/p>\n<h3>Zgjidhja p\u00ebrfundimtare me Amazon Aurora serverless<\/h3>\n<p>\nSi i zgjidh\u00ebm k\u00ebto probleme?<\/p>\n<p><strong>E l\u00ebm\u00eb proxy-n\u00eb<\/strong>. Ky nuk \u00ebsht\u00eb nj\u00eb instanc\u00eb e ve\u00e7ant\u00eb, por nj\u00eb flot\u00eb t\u00eb t\u00ebr\u00eb t\u00eb shp\u00ebrndar\u00eb proxy, p\u00ebrmes s\u00eb cil\u00ebs aplikacionet lidh\u00ebn me DB. \u00c7do nod\u00eb n\u00eb rast se del jasht\u00eb funksionit mund t\u00eb z\u00ebvend\u00ebsohet pothuajse menj\u00ebher\u00eb.<\/p>\n<p><strong>Shtojm\u00eb nj\u00eb fond t\u00eb node-ve t\u00eb ngrohta t\u00eb madh\u00ebsive t\u00eb ndryshme<\/strong>. Prandaj, n\u00ebse \u00ebsht\u00eb e nevojshme t\u00eb alokojm\u00eb nj\u00eb node m\u00eb t\u00eb madhe apo m\u00eb t\u00eb vog\u00ebl, ajo \u00ebsht\u00eb menj\u00ebher\u00eb e disponueshme. Nuk \u00ebsht\u00eb nevoja t\u00eb presim q\u00eb t\u00eb ngarkohet.<\/p>\n<p><strong>E gjith\u00eb processi i shkall\u00ebzimit kontrollohet nga nj\u00eb sistem t\u00eb ve\u00e7ant\u00eb monitorimi. <\/strong>Monitoring constantly checks the status of the current master node. If it detects, for example, that the CPU load has reached a critical level, it notifies the pool of warm instances about the need to allocate a new node.<\/p>\n<p><img decoding=\"async\" alt=\"Si i \u201cgatuan\u201d AWS sh\u00ebrbimet e veta elastike. Shkall\u00ebzimi i server\u00ebve dhe i baz\u00ebs s\u00eb t\u00eb dh\u00ebnave\" src=\"\/wp-content\/uploads\/2019\/10\/b5693b64e3468a4b6bcafb4fd5732bd8.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<em>Distributed proxies, warm instances, and monitoring.<\/em><\/p>\n<p>A node of the required capacity is available. Buffer pools are copied to it, and the system begins to wait for a safe moment to switch.<\/p>\n<p><img decoding=\"async\" alt=\"Si i \u201cgatuan\u201d AWS sh\u00ebrbimet e veta elastike. Shkall\u00ebzimi i server\u00ebve dhe i baz\u00ebs s\u00eb t\u00eb dh\u00ebnave\" src=\"\/wp-content\/uploads\/2019\/10\/fcbc5529352477b824cc969afd0a4fec.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nUsually, the moment to switch occurs quite quickly. Then, communication between the proxy and the old master node is suspended, and all sessions are switched to the new node.<\/p>\n<p><img decoding=\"async\" alt=\"Si i \u201cgatuan\u201d AWS sh\u00ebrbimet e veta elastike. Shkall\u00ebzimi i server\u00ebve dhe i baz\u00ebs s\u00eb t\u00eb dh\u00ebnave\" src=\"\/wp-content\/uploads\/2019\/10\/b3b4af9be2cdd28aaaecd97cae48621d.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nWork with the database resumes.<\/p>\n<p><img decoding=\"async\" alt=\"Si i \u201cgatuan\u201d AWS sh\u00ebrbimet e veta elastike. Shkall\u00ebzimi i server\u00ebve dhe i baz\u00ebs s\u00eb t\u00eb dh\u00ebnave\" src=\"\/wp-content\/uploads\/2019\/10\/eeeae3ba3fc3ff014657f9786a25fd2f.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nThe graph shows that the pause is indeed very brief. The blue graph indicates load, and the red steps mark the scaling moments. The short dips in the blue graph are precisely that brief delay.<\/p>\n<p><img decoding=\"async\" alt=\"Si i \u201cgatuan\u201d AWS sh\u00ebrbimet e veta elastike. Shkall\u00ebzimi i server\u00ebve dhe i baz\u00ebs s\u00eb t\u00eb dh\u00ebnave\" src=\"\/wp-content\/uploads\/2019\/10\/ac55eadb5f0b182b93fdd1617961a930.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nBy the way, Amazon Aurora allows you to save significantly and turn off the database when it is not in use, for example, on weekends. After stopping, the database gradually reduces its power and turns off for a while. When the load returns, it smoothly ramps up again.<\/p>\n<blockquote><p>In the next part of the story about Amazon's architecture, we will talk about network scaling. Subscribe <noindex><a rel=\"nofollow\" href=\"http:\/\/eepurl.com\/VYVaf\">to the newsletter<\/a><\/noindex> and stay updated so you don't miss the article.<\/p>\n<p>N\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/www.highload.ru\/moscow\/2019\">HighLoad++<\/a><\/noindex> Vasily Pantyukhin will present a report titled \"<noindex><a rel=\"nofollow\" href=\"https:\/\/www.highload.ru\/moscow\/2019\/abstracts\/5977\">Houston, we have a problem. Designing fault-tolerant systems, development patterns for Amazon cloud internal services<\/a><\/noindex>\". What design patterns do Amazon developers use in distributed systems, what are the reasons for service failures, what is Cell-based architecture, Constant Work, Shuffle Sharding \u2014 it will be interesting. Less than a month until the conference \u2014 <noindex><a rel=\"nofollow\" href=\"https:\/\/conf.ontico.ru\/conference\/join\/hl2019.html\">book your tickets<\/a><\/noindex>. Prices will increase on October 24.<\/p><\/blockquote>\n<p>Burimi: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/oleg-bunin\/blog\/471686\/\">habr.com<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041e\u0431\u043b\u0430\u043a\u0430 \u043f\u043e\u0434\u043e\u0431\u043d\u044b \u043c\u0430\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0448\u043a\u0430\u0442\u0443\u043b\u043a\u0435 \u2014 \u0437\u0430\u0434\u0430\u0435\u0448\u044c, \u0447\u0442\u043e \u0442\u0435\u0431\u0435 \u043d\u0443\u0436\u043d\u043e, \u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0438\u0437 \u043d\u0438\u043e\u0442\u043a\u0443\u0434\u0430. \u0412\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u0448\u0438\u043d\u044b, \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445, \u0441\u0435\u0442\u044c \u2014 \u0432\u0441\u0435 \u044d\u0442\u043e \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0438\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u0431\u0435. \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0442 \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0442\u0435\u043d\u0430\u043d\u0442\u044b \u043e\u0431\u043b\u0430\u043a\u0430, \u043d\u043e \u0432 \u0441\u0432\u043e\u0435\u0439 \u0412\u0441\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u0442\u044b \u0435\u0434\u0438\u043d\u043e\u043b\u0438\u0447\u043d\u044b\u0439 \u043f\u0440\u0430\u0432\u0438\u0442\u0435\u043b\u044c. \u0422\u044b \u0443\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e \u0432\u0441\u0435\u0433\u0434\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u0448\u044c \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u044b\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b, \u043d\u0438 \u0441 \u043a\u0435\u043c \u043d\u0435 \u0441\u0447\u0438\u0442\u0430\u0435\u0448\u044c\u0441\u044f \u0438 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0448\u044c, \u043a\u0430\u043a\u043e\u0439 \u0431\u0443\u0434\u0435\u0442 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":39303,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-39302","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=\"\u041e\u0431\u043b\u0430\u043a\u0430 \u043f\u043e\u0434\u043e\u0431\u043d\u044b \u043c\u0430\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0448\u043a\u0430\u0442\u0443\u043b\u043a\u0435 \u2014 \u0437\u0430\u0434\u0430\u0435\u0448\u044c, \u0447\u0442\u043e \u0442\u0435\u0431\u0435 \u043d\u0443\u0436\u043d\u043e, \u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0438\u0437 \u043d\u0438\u043e\u0442\u043a\u0443\u0434\u0430. \u0412\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u0448\u0438\u043d\u044b, \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445, \u0441\u0435\u0442\u044c \u2014 \u0432\u0441\u0435 \u044d\u0442\u043e \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0438\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u0431\u0435.\" \/>\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\/kak-aws-varit-svoi-elastichnye-servisy-masshtabirovanie-serverov-i-bazy-dannyh\" \/>\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\u041a\u0430\u043a AWS \u00ab\u0432\u0430\u0440\u0438\u0442\u00bb \u0441\u0432\u043e\u0438 \u044d\u043b\u0430\u0441\u0442\u0438\u0447\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b. \u041c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0438 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041e\u0431\u043b\u0430\u043a\u0430 \u043f\u043e\u0434\u043e\u0431\u043d\u044b \u043c\u0430\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0448\u043a\u0430\u0442\u0443\u043b\u043a\u0435 \u2014 \u0437\u0430\u0434\u0430\u0435\u0448\u044c, \u0447\u0442\u043e \u0442\u0435\u0431\u0435 \u043d\u0443\u0436\u043d\u043e, \u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0438\u0437 \u043d\u0438\u043e\u0442\u043a\u0443\u0434\u0430. \u0412\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u0448\u0438\u043d\u044b, \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445, \u0441\u0435\u0442\u044c \u2014 \u0432\u0441\u0435 \u044d\u0442\u043e \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0438\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u0431\u0435.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/kak-aws-varit-svoi-elastichnye-servisy-masshtabirovanie-serverov-i-bazy-dannyh\" \/>\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=\"2019-10-31T19:29:40+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T19:29:40+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\udd47 How AWS 'brews' its elastic services. Server and database scaling | ProHoster","description":"Clouds are like a magical box \u2014 you specify what you need, and resources simply appear out of nowhere. Virtual machines, databases, networks \u2014 all of this belongs only to you.","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/kak-aws-varit-svoi-elastichnye-servisy-masshtabirovanie-serverov-i-bazy-dannyh","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\u041a\u0430\u043a AWS \u00ab\u0432\u0430\u0440\u0438\u0442\u00bb \u0441\u0432\u043e\u0438 \u044d\u043b\u0430\u0441\u0442\u0438\u0447\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b. \u041c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0438 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 | ProHoster","og:description":"\u041e\u0431\u043b\u0430\u043a\u0430 \u043f\u043e\u0434\u043e\u0431\u043d\u044b \u043c\u0430\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0448\u043a\u0430\u0442\u0443\u043b\u043a\u0435 \u2014 \u0437\u0430\u0434\u0430\u0435\u0448\u044c, \u0447\u0442\u043e \u0442\u0435\u0431\u0435 \u043d\u0443\u0436\u043d\u043e, \u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0438\u0437 \u043d\u0438\u043e\u0442\u043a\u0443\u0434\u0430. \u0412\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u0448\u0438\u043d\u044b, \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445, \u0441\u0435\u0442\u044c \u2014 \u0432\u0441\u0435 \u044d\u0442\u043e \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0438\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u0431\u0435.","og:url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/kak-aws-varit-svoi-elastichnye-servisy-masshtabirovanie-serverov-i-bazy-dannyh","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":"2019-10-31T19:29:40+00:00","article:modified_time":"2019-10-31T19:29:40+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"39302","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":"2026-01-24 01:37:20","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 00:52:26","updated":"2026-01-24 01:37:20","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\/39302","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=39302"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/39302\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media\/39303"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=39302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=39302"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=39302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}