{"id":5805,"date":"2023-11-19T13:53:02","date_gmt":"2023-11-19T04:53:02","guid":{"rendered":"https:\/\/engineer-chanpu.blog\/?p=5805"},"modified":"2024-05-05T09:59:24","modified_gmt":"2024-05-05T00:59:24","slug":"az-204-certified-12-day-scale-apps-in-azure-app-service","status":"publish","type":"post","link":"https:\/\/engineer-chanpu.blog\/?p=5805","title":{"rendered":"AZ-204 Certified: 12-Day Scale apps in Azure App Service"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">Introduction<\/h1>\n\n\n\n<p>Azure App Service\uc758 <code>Auto-scaling<\/code>(\uc790\ub3d9 \ud06c\uae30 \uc870\uc815)\uc740 \uc6f9 \uc571\uc774 \uc2e4\ud589\ub418\ub294 \ub3d9\uc548 \ub9ac\uc18c\uc2a4 \uba54\ud2b8\ub9ad\uc744 \ubaa8\ub2c8\ud130\ub9c1\ud55c\ub2e4. \uc774\ub294 \uc6cc\ud06c\ub85c\ub4dc \uc99d\uac00\uc5d0 \ub300\ucc98\ud558\uae30 \uc704\ud574 \ucd94\uac00 \uc790\uc6d0\uc774 \ud544\uc694\ud55c \uc0c1\ud669\uc744 \uac10\uc9c0\ud558\uace0, <strong>\uc2dc\uc2a4\ud15c\uc774 \uacfc\ubd80\ud558\ub418\uae30 \uc804\uc5d0<\/strong> \ud574\ub2f9 \uc790\uc6d0\uc744 \uc870\uc808\ud558\uae30 \uc704\ud568\uc774\ub2e4.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><code>Auto-scaling<\/code>\uae30\ub2a5<\/li>\n\n\n\n<li>\uc6f9 \uc571\uc5d0 \ub300\ud55c <code>Auto-scaling rules<\/code> \uc791\uc131<\/li>\n\n\n\n<li>\uc790\ub3d9 \ud06c\uae30 \uc870\uc815\uc758 \uc601\ud5a5 \ubc0f \ud6a8\uacfc \uac10\uc2dc<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/learn.microsoft.com\/en-us\/azure\/azure-monitor\/autoscale\/media\/autoscale-overview\/autoscale_overview_v4.png#lightbox\" alt=\"\"\/><figcaption class=\"wp-element-caption\">The following diagram shows the autoscale architecture<\/figcaption><\/figure>\n<\/div>\n\n\n<p><em>Tip. \ucc38\uace0 \ud398\uc774\uc9c0<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/azure-monitor\/autoscale\/autoscale-overview\">Overview of autoscale in Azure<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/azure-monitor\/autoscale\/autoscale-get-started\">Get started with autoscale in Azure<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/app-service\/manage-automatic-scaling?tabs=azure-portal\">Automatic scaling in Azure App Service<\/a><\/li>\n<\/ul>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>When should you consider auto-scaling?<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\uc11c\ube44\uc2a4\uc758 <strong>\ud0c4\ub825\uc131(Elasticity)<\/strong>\uc774 \uc694\uad6c\ub418\ub294 \uacbd\uc6b0\n<ul class=\"wp-block-list\">\n<li>\ud734\uc77c \ubc0f \ud2b9\uc815 \uae30\uac04 \ub3d9\uc548 \uc571\uc758 \uc0ac\uc6a9\ub7c9 \ubcc0\ud654\uc5d0 \ub300\uc751\uc774 \uac00\ub2a5\ud558\ub2e4.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\uac00\uc6a9\uc131 \ubc0f \uc2e0\ub8b0\ub3c4<\/strong> \ud5a5\uc0c1\uc774 \uc694\uad6c\ub418\ub294 \uacbd\uc6b0\n<ul class=\"wp-block-list\">\n<li>\ud074\ub77c\uc774\uc5b8\ud2b8\uc758 \uc694\uccad\uc5d0 \ub300\ud55c <strong>\uc2dc\uac04 \uc9c0\uc5f0\uc774\ub098 \uc11c\ubc84 \uacfc\ubd80\ud558<\/strong>\ub85c \uc778\ud574 \ubb38\uc81c\uc5d0 \ub300\uc751\uc774 \uac00\ub2a5\ud558\ub2e4.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/learn.microsoft.com\/en-us\/azure\/azure-monitor\/autoscale\/media\/autoscale-overview\/autoscaleconcept.png#lightbox\" alt=\"\" style=\"width:838px;height:auto\"\/><figcaption class=\"wp-element-caption\">Horizontal scaling(Scaling out)<\/figcaption><\/figure>\n<\/div>\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">What do I consider for auto-scaling?<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\uc6f9 \uc571\uc758 \uac01 \uc694\uccad\uc5d0 \ub300\ud55c \ub9ac\uc18c\uc2a4 \ucc98\ub9ac\ub7c9<\/strong><br>: \ub2e8\uc77c \uc694\uccad\uc758 \ubd80\ud558\uac00 \uc778\uc2a4\ud134\uc2a4 \ucc98\ub9ac\ub7c9\uc744 \ucd08\uacfc\ud560 \uacbd\uc6b0 Scale Out\uc740 \uc801\uc808\ud55c \uc120\ud0dd\uc774 \uc544\ub2c8\ub2e4.<\/li>\n\n\n\n<li><strong>\uc790\ub3d9\ud654 \uaddc\uce59\uc5d0 \ub300\ud55c \ube44\uc6a9 \ubb38\uc81c<\/strong><br>: Auto-scaling \uc11c\ube44\uc2a4\ub294 \ube44\uc6a9\uc5d0 \uccad\uad6c\ub418\ubbc0\ub85c, \uc218\ub3d9 \uc791\uc5c5\uc5d0 \ub300\ud55c \uace0\ub824\ub3c4 \ud544\uc694\ud558\ub2e4.<\/li>\n\n\n\n<li><strong>\uae30\ubcf8 \uc778\uc2a4\ud134\uc2a4\uc758 \uc218<\/strong><br>: \uc0ac\uc6a9\ub7c9\uc744 \ub300\ub7b5\uc801\uc73c\ub85c \uc608\uc0c1\ud558\uc5ec \ud655\uc7a5\uc2dc\uc5d0 \ubd80\ub2f4\uc744 \ucd5c\uc18c\ud654\ud560 \ud544\uc694\uac00 \uc788\ub2e4.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\"><strong>\uc694\uccad\uc758 \ucc98\ub9ac\ub7c9 \ubc0f \uc2dc\uc2a4\ud15c \ubd80\ud558\uc758 \ubd88\uade0\ud615\uc5d0 \ub300\ud55c \uace0\ub824<\/strong><\/mark>\n<ul class=\"wp-block-list\">\n<li>\ub9ac\uc18c\uc2a4\ub97c \uc9d1\uc57d\uc801\uc73c\ub85c \ucc98\ub9ac\ub97c \ud558\ub294 \uc571\uc758 \uacbd\uc6b0, \ud2b9\uc815 \uc778\uc2a4\ud134\uc2a4\uc5d0 \ubd80\ud558\uac00 \uc9d1\uc911\ub418\uae30 \uc27d\ub2e4.<\/li>\n\n\n\n<li>\ub2e4\ub978 \uc778\uc2a4\ud134\uc2a4\uc5d0 \ubd80\ud558 \ubd84\uc0b0\uc774 \ud6a8\uc728\uc801\uc73c\ub85c \ucc98\ub9ac\ub418\uc9c0 \uc54a\ub294\ub2e4.<\/li>\n\n\n\n<li>\ub2e8\uc77c \uc694\uccad\uc774 \uc11c\ubc84 \uc778\uc2a4\ud134\uc2a4\uc758 \ucc98\ub9ac\ub7c9\uc744 \ucd08\uacfc\ud558\ub294 \uacbd\uc6b0, <code>Scale Up<\/code>\uc774 \uc801\uc808\ud558\ub2e4.<\/li>\n\n\n\n<li><code>Scale out<\/code> \uc740 \uc778\uc2a4\ud134\uc2a4\uac00 \ub9cc\ub4e4\uc5b4\uc9c0\uace0 \ub85c\ub4dc \ubc38\ub7f0\uc2f1\uc744 \uc870\uc815\ud558\ub294\ub370 \uc2dc\uac04\uc774 \uc694\uad6c\ub41c\ub2e4.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is difference Scale Out and Scale Up<\/strong>?<\/h2>\n\n\n\n<p>\uc790\ub3d9 \ud06c\uae30 \uc870\uc815\uc740 \ud658\uacbd \ubcc0\ud654\uc5d0 \ub300\uc751\ud558\uc5ec \uc6f9 \uc11c\ubc84\ub97c \ucd94\uac00 \ud639\uc740 \uc81c\uac70\ud558\uace0, \uc6f9 \uc11c\ubc84 \uc778\uc2a4\ud134\uc2a4 \uc0ac\uc774\uc758 \ubd80\ud558\ub97c \ubd84\uc0b0\ud55c\ub2e4. <\/p>\n\n\n\n<p><code>Auto-scaling<\/code>\uc740 \uc11c\ubc84\uc758 \uc0ac\uc591(Resource: CPU, Memory \ub4f1)\uc758 \ubcc0\ud654\ub294 \uc5c6\uc774 \ub2e8\uc21c\ud788 \uc6f9 \uc11c\ubc84\uc758 \uc218\ub9cc\uc744 \ubcc0\uacbd<code>Scale out\/in<\/code>\ud55c\ub2e4.<\/p>\n\n\n\n<p><em>Tip. \uc11c\ubc84\uc758 \uc0ac\uc591\uc744 \ubcc0\uacbd\ud558\ub294 Scale up\/down \uacfc\ub294 \ub2e4\ub974\ub2e4.<\/em><\/p>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"625\" height=\"281\" src=\"https:\/\/engineer-chanpu.blog\/wp-content\/uploads\/2023\/11\/scaleup-out.png\" alt=\"\" class=\"wp-image-5808\" srcset=\"https:\/\/engineer-chanpu.blog\/wp-content\/uploads\/2023\/11\/scaleup-out.png 625w, https:\/\/engineer-chanpu.blog\/wp-content\/uploads\/2023\/11\/scaleup-out-300x135.png 300w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><figcaption class=\"wp-element-caption\"><code>Scale Up<\/code>\uacfc <code>Scale Out<\/code>\uc758 \ucc28\uc774\uc810<\/figcaption><\/figure>\n<\/div>\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Auto-scaling rules<\/h2>\n\n\n\n<p>\uaddc\uce59\uc740 \uc0ac\uc6a9\uc790 \uc815\uc758\uc5d0 \ub530\ub77c \uc791\ub3d9\ud55c\ub2e4. \uc571\uc758 \uad00\ub9ac\uc790\ub294 \ud574\ub2f9 \uba54\ud2b8\ub9ad\uc758 \uc784\uacc4\uac12(Threshold)\uc744 \uc9c0\uc815\ud558\uba74, <code>Auto-scaling rules<\/code>\uc740 \uc784\uacc4\uac12\uc774 \ucd08\uacfc\ub420 \ub54c \uc774\ubca4\ud2b8\uac00 \ub3d9\uc791\ud558\ub294 \uad6c\uc870\uc774\ub2e4.<\/p>\n\n\n\n<p><em>Tip. \uc6cc\ud06c\ub85c\ub4dc\uac00 \uac10\uc18c\ud588\uc744 \ub54c, \ucd94\uac00\ub41c \uc790\uc6d0\uc744 \ud574\uc81c\ud560 \uc218\ub3c4 \uc788\ub2e4.<\/em><\/p>\n\n\n\n<p>\ud655\uc7a5<code>Scale out<\/code>\uc758 \uacbd\uc6b0, \uc774\ubca4\ud2b8 \ud2b8\ub9ac\uac70\ub294 \uc124\uc815\ub41c \uaddc\uce59 \uc911 \ud558\ub098\ub77c\ub3c4 \ucda9\uc871\ub420 \uacbd\uc6b0\uc5d0 \ub3d9\uc791\ud55c\ub2e4. \ubc18\uba74 \ucd95\uc18c<code>Scale in<\/code> \uc758 \uacbd\uc6b0, \uc124\uc815\ub41c \ubaa8\ub4e0 \uaddc\uce59\uc774 \ucda9\uc871\ub418\uc5b4\uc57c \ub3d9\uc791\ud55c\ub2e4. \uc774 \ub54c \uc0ac\uc6a9\ub418\ub294 \ub17c\ub9ac \uc5f0\uc0b0\uc790\ub294 <code>OR<\/code> \uacfc<code>AND<\/code> \uc774\ub2e4.<\/p>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\uc81c\ud55c \uc0ac\ud56d<\/h3>\n\n\n\n<p><em>Tip. Automatic \uae30\ub2a5\uc744 \uc774\uc6a9\ud558\ub824\uba74 SKU Premium \uc774\uc0c1\uc774 \uc694\uad6c\ub41c\ub2e4.<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"763\" src=\"https:\/\/engineer-chanpu.blog\/wp-content\/uploads\/2023\/11\/image-65-1024x763.png\" alt=\"\" class=\"wp-image-5829\" srcset=\"https:\/\/engineer-chanpu.blog\/wp-content\/uploads\/2023\/11\/image-65-1024x763.png 1024w, https:\/\/engineer-chanpu.blog\/wp-content\/uploads\/2023\/11\/image-65-300x223.png 300w, https:\/\/engineer-chanpu.blog\/wp-content\/uploads\/2023\/11\/image-65-768x572.png 768w, https:\/\/engineer-chanpu.blog\/wp-content\/uploads\/2023\/11\/image-65.png 1516w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Azure App Service\uc758 Auto-scaling(\uc790\ub3d9 \ud06c\uae30 \uc870\uc815)\uc740 \uc6f9 \uc571\uc774 \uc2e4\ud589\ub418\ub294 \ub3d9\uc548 \ub9ac\uc18c\uc2a4 \uba54\ud2b8\ub9ad\uc744 \ubaa8\ub2c8\ud130\ub9c1\ud55c\ub2e4. \uc774\ub294 \uc6cc\ud06c\ub85c\ub4dc \uc99d\uac00\uc5d0 \ub300\ucc98\ud558\uae30 \uc704\ud574 \ucd94\uac00 \uc790\uc6d0\uc774 \ud544\uc694\ud55c \uc0c1\ud669\uc744 \uac10\uc9c0\ud558\uace0, \uc2dc\uc2a4\ud15c\uc774 \uacfc\ubd80\ud558\ub418\uae30 \uc804\uc5d0 \ud574\ub2f9 \uc790\uc6d0\uc744 \uc870\uc808\ud558\uae30 &#8230;<\/p>\n","protected":false},"author":1,"featured_media":5834,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[107,33,203],"tags":[172,123],"class_list":["post-5805","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure","category-tech-notes","category-web-apps-services","tag-app-service","tag-azure"],"_links":{"self":[{"href":"https:\/\/engineer-chanpu.blog\/index.php?rest_route=\/wp\/v2\/posts\/5805","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/engineer-chanpu.blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/engineer-chanpu.blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/engineer-chanpu.blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/engineer-chanpu.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5805"}],"version-history":[{"count":17,"href":"https:\/\/engineer-chanpu.blog\/index.php?rest_route=\/wp\/v2\/posts\/5805\/revisions"}],"predecessor-version":[{"id":5832,"href":"https:\/\/engineer-chanpu.blog\/index.php?rest_route=\/wp\/v2\/posts\/5805\/revisions\/5832"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/engineer-chanpu.blog\/index.php?rest_route=\/wp\/v2\/media\/5834"}],"wp:attachment":[{"href":"https:\/\/engineer-chanpu.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5805"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/engineer-chanpu.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5805"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/engineer-chanpu.blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5805"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}