as_umn_1109

Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: guoyanyan <guoyanyan3@huawei.com>
Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
This commit is contained in:
guoyanyan 2022-11-14 08:36:37 +00:00 committed by zuul
parent 82eb5b4813
commit 5f383cf200
131 changed files with 5176 additions and 0 deletions

File diff suppressed because it is too large Load Diff

785
docs/as/umn/CLASS.TXT.json Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,3 @@
version=""
language="en-us"
type=""

View File

@ -0,0 +1,27 @@
<a name="as_01_0100"></a><a name="as_01_0100"></a>
<h1 class="topictitle1">AS Group</h1>
<div id="body34892981"></div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="en-us_topic_0042018368.html">Creating an AS Group</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="as_01_0102.html">(Optional) Adding a Load Balancer to an AS Group</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="as_01_0103.html">Changing the AS Configuration for an AS Group</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="as_01_0104.html">Enabling an AS Group</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="as_01_0105.html">Disabling an AS Group</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="as_01_0106.html">Modifying an AS Group</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="as_01_0107.html">Deleting an AS Group</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0042283271.html">AS Management</a></div>
</div>
</div>

View File

@ -0,0 +1,14 @@
<a name="as_01_0102"></a><a name="as_01_0102"></a>
<h1 class="topictitle1">(Optional) Adding a Load Balancer to an AS Group</h1>
<div id="body27997"><p id="as_01_0102__p60047194313">Elastic Load Balancing (ELB) automatically distributes incoming traffic across multiple backend servers based on configured forwarding policies. ELB expands the service capabilities of applications and improves their availability by eliminating single points of failure (SPOFs).</p>
<p id="as_01_0102__p24961767172013">If ELB functions are required, perform the operations provided in this section to add a load balancer to your AS group. The load balancer added to an AS group distributes application traffic to all instances in the AS group when an instance is added to or deleted from the AS group.</p>
<p id="as_01_0102__p61668855162725">Only a created load balancer can be bound to an AS group, and the AS group and load balancer must be in the same VPC. For details about how to create a load balancer, see <em id="as_01_0102__i426810252439"></em><em id="as_01_0102__i172684256431"></em><em id="as_01_0102__i4268182512431"></em><em id="as_01_0102__i132681525184318">Elastic Load Balancing User Guide</em><em id="as_01_0102__i122698253433"></em><em id="as_01_0102__i477985218389"></em><em id="as_01_0102__i9269325134320"></em>. To add a load balancer for an AS group, perform the following operations:</p>
<ul id="as_01_0102__ul18103114716363"><li id="as_01_0102__li11103114743610">When creating an AS group, configure parameter <strong id="as_01_0102__b1499520558382">Load Balancing</strong> to add a load balancer. For details, see <a href="en-us_topic_0042018368.html">Creating an AS Group</a>.</li><li id="as_01_0102__li870934165617">If the AS group is not enabled, contains no instance, and has no scaling action ongoing, you can modify <strong id="as_01_0102__b287996202">Load Balancing</strong> to add a load balancer for the AS group. For details, see <a href="as_01_0106.html">Modifying an AS Group</a>.</li></ul>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_01_0100.html">AS Group</a></div>
</div>
</div>

View File

@ -0,0 +1,20 @@
<a name="as_01_0103"></a><a name="as_01_0103"></a>
<h1 class="topictitle1">Changing the AS Configuration for an AS Group</h1>
<div id="body60390938"><div class="section" id="as_01_0103__section2495449014355"><h4 class="sectiontitle">Scenarios</h4><p id="as_01_0103__p12791151115265">If you need to change the specifications of ECS instances in an AS group, changing the AS configuration used by the AS group is an easy way to help you get there.</p>
</div>
<div class="section" id="as_01_0103__section2083725425614"><h4 class="sectiontitle">Effective Time of New AS Configuration</h4><p id="as_01_0103__p368217252572">After you change the AS configuration for an AS group, the new AS configuration will not be used until any ongoing scaling actions are complete.</p>
<p id="as_01_0103__p1513316302576">For example, if there is a scaling action ongoing for an AS group, and you change the AS configuration of the AS group from <strong id="as_01_0103__b11686132284411">as-config-A</strong> to <strong id="as_01_0103__b10177102994413">as-config-B</strong>, <strong id="as_01_0103__b6526123813270">as-config-A</strong> is still used for the instances that are being added in the ongoing scaling action.</p>
<p id="as_01_0103__p148612168576"><strong id="as_01_0103__b15706159204619">as-config-B</strong> will take effect in the next scaling action.</p>
</div>
<div class="fignone" id="as_01_0103__fig585111549564"><span class="figcap"><b>Figure 1 </b>Changing the AS configuration</span><br><span><img id="as_01_0103__image178511854175612" src="en-us_image_0282829283.png"></span></div>
<div class="section" id="as_01_0103__section1657416306249"><h4 class="sectiontitle">Procedure</h4><ol id="as_01_0103__ol62220677"><li id="as_01_0103__en-us_topic_0118498861_l67f1c4bb070b4f3d9b83021e83da345b">Log in to the management console.</li><li id="as_01_0103__li5914166211049">Click <span><img id="as_01_0103__image1551031374015" src="en-us_image_0210485079.png"></span> in the upper left corner to select a region and a project.</li><li id="as_01_0103__li34458486151">Under <strong id="as_01_0103__b998716238172">Computing</strong>, click <strong id="as_01_0103__b17989723101716">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_01_0103__b199112351714">Instance Scaling</strong>. Then click the <strong id="as_01_0103__b699316236173">AS Groups</strong> tab.</li><li id="as_01_0103__li47622971175625">Click the name of the AS group for which you want to change the AS configuration. On the <strong id="as_01_0103__b06931155193511">Basic Information</strong> page, click <strong id="as_01_0103__b11511218194113">Change Configuration</strong> to the right of <strong id="as_01_0103__b2153918114111">Configuration Name</strong>.<p id="as_01_0103__p56137475175626">You can also locate the row containing the target AS group and choose <strong id="as_01_0103__b842352706151739">More</strong> &gt; <strong id="as_01_0103__b842352706151744">Change Configuration</strong> in the <strong id="as_01_0103__b842352706151758">Operation</strong> column.</p>
</li><li id="as_01_0103__li59827780">In the displayed <strong id="as_01_0103__b4273115214510">Change AS Configuration</strong> dialog box, select another AS configuration to be used by the AS group.</li><li id="as_01_0103__li60799090">Click <strong id="as_01_0103__b84235270617291">OK</strong>.</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_01_0100.html">AS Group</a></div>
</div>
</div>

View File

@ -0,0 +1,18 @@
<a name="as_01_0104"></a><a name="as_01_0104"></a>
<h1 class="topictitle1">Enabling an AS Group</h1>
<div id="body3148005"><div class="section" id="as_01_0104__section2495449014355"><h4 class="sectiontitle">Scenarios</h4><p id="as_01_0104__p5261101691115">You can enable an AS group to automatically scale in or out capacity.</p>
<p id="as_01_0104__p22340483145237">After an AS group is enabled, its status changes to <strong id="as_01_0104__b81000019229">Enabled</strong>. AS monitors the AS policy and triggers a scaling action for AS groups only in <strong id="as_01_0104__b729000719229">Enabled</strong> state. After an AS group is enabled, AS triggers a scaling action to automatically add or remove instances if the number of instances in the AS group is different from the expected number of instances.</p>
<ul id="as_01_0104__ul144791150104313"><li id="as_01_0104__li5480650174319">Only AS groups in the <strong id="as_01_0104__b15243164218319">Disabled</strong> state can be enabled.</li><li id="as_01_0104__li16735205440">Only AS groups in the <strong id="as_01_0104__b52524182413">Abnormal</strong> state can be forcibly enabled. You can choose <strong id="as_01_0104__b121207121729">More</strong> &gt; <strong id="as_01_0104__b74181162025">Forcibly Enable</strong> to enable an abnormal AS group. Forcibly enabling an AS group does not have adverse consequences.</li><li id="as_01_0104__li207693191444">After you create an AS group and add an AS configuration to an AS group, the AS group is automatically enabled.</li></ul>
</div>
<div class="section" id="as_01_0104__section47602278104932"><h4 class="sectiontitle">Enabling an AS Group</h4><ol id="as_01_0104__ol52511872104959"><li id="as_01_0104__en-us_topic_0118498861_l67f1c4bb070b4f3d9b83021e83da345b">Log in to the management console.</li><li id="as_01_0104__li5914166211049">Click <span><img id="as_01_0104__image444954844511" src="en-us_image_0210485079.png"></span> in the upper left corner to select a region and a project.</li><li id="as_01_0104__li6308165821918">Under <strong id="as_01_0104__b16985128154512">Computing</strong>, click <strong id="as_01_0104__b799792824519">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_01_0104__b7999102894517">Instance Scaling</strong>. Then click the <strong id="as_01_0104__b1801229144513">AS Groups</strong> tab.</li><li id="as_01_0104__li6647531">In the AS group list, locate the row containing the target AS group and click <strong id="as_01_0104__b1072322648162420">Enable</strong> in the <strong id="as_01_0104__b2936649719229">Operation</strong> column. You can also click the AS group name and then <strong id="as_01_0104__b1491982662916">Enable</strong> to the right of <strong id="as_01_0104__b1920122618294">Status</strong> on the <strong id="as_01_0104__b192117263298">Basic Information</strong> page to enable the AS group.</li><li id="as_01_0104__li44278307121256">In the <strong id="as_01_0104__b84235270645758">Enable AS Group</strong> dialog box, click <strong id="as_01_0104__b84235270645812">Yes</strong>.</li></ol>
</div>
<div class="section" id="as_01_0104__section10127616112737"><h4 class="sectiontitle">Forcibly Enabling an AS Group</h4><ol id="as_01_0104__ol15030544112737"><li id="as_01_0104__li184971591347">Log in to the management console.</li><li id="as_01_0104__li9514561112737">Click <span><img id="as_01_0104__image282683719470" src="en-us_image_0210485079.png"></span> in the upper left corner to select a region and a project.</li><li id="as_01_0104__li142011242142015">Under <strong id="as_01_0104__b14761193312452">Computing</strong>, click <strong id="as_01_0104__b12763733144510">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_01_0104__b117647339454">Instance Scaling</strong>. Then click the <strong id="as_01_0104__b177641833124513">AS Groups</strong> tab.</li><li id="as_01_0104__li23902354112737">In the AS group list, locate the row containing the target AS group and select <strong id="as_01_0104__b8423527065144">Forcibly Enable</strong> from the <strong id="as_01_0104__b1281549719229">More</strong> drop-down list in the <strong id="as_01_0104__b4823061519229">Operation</strong> column. You can also click the AS group name and then <strong id="as_01_0104__b1041663982417">Forcibly Enable</strong> to the right of <strong id="as_01_0104__b24217397242">Status</strong> on the <strong id="as_01_0104__b6421103922417">Basic Information</strong> page to enable the AS group.</li><li id="as_01_0104__li56088805141315">In the <strong id="as_01_0104__b904159832">Forcibly Enable AS Group</strong> dialog box, click <strong id="as_01_0104__b1953968378">Yes</strong>.</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_01_0100.html">AS Group</a></div>
</div>
</div>

View File

@ -0,0 +1,18 @@
<a name="as_01_0105"></a><a name="as_01_0105"></a>
<h1 class="topictitle1">Disabling an AS Group</h1>
<div id="body56577386"><div class="section" id="as_01_0105__section2495449014355"><h4 class="sectiontitle">Scenarios</h4><p id="as_01_0105__p2140677493115">If you need to stop an instance in an AS group for configuration or upgrade, disable the AS group before performing the operation. This prevents the instance from being deleted in a health check. When the instance status is restored, you can enable the AS group again.</p>
<p id="as_01_0105__p34086180164125">If a scaling action keeps failing and being retried (the failure cause can be viewed on the <strong id="as_01_0105__b84235270695647">Elastic Cloud Server</strong> page) for an AS group, use either of the following methods to stop the action from being repeated:</p>
<ul id="as_01_0105__ul8764317154936"><li id="as_01_0105__li11769993154936">Disable the AS group. Then, after the scaling action fails, it will not be retried. Enable the AS group again when the environment recovers or after replacing the AS configuration.</li><li id="as_01_0105__li38821076154936">Disable the AS group and change the expected number of instances to the number of existing instances. Then after the scaling action fails, the scaling action will not be retried.</li></ul>
<p id="as_01_0105__p26317078154931">After an AS group is disabled, its status changes to <strong id="as_01_0105__b2533636919229">Disabled</strong>. AS does not automatically trigger any scaling actions for a <strong id="as_01_0105__b935821039162217">Disabled</strong> AS group. When an AS group has an in-progress scaling action, the scaling action does not stop immediately after the AS group is disabled.</p>
<p id="as_01_0105__p35527111154931">You can disable an AS group when its status is <strong id="as_01_0105__b634163125511">Enabled</strong> or <strong id="as_01_0105__b84235270615304">Abnormal</strong>.</p>
</div>
<div class="section" id="as_01_0105__section51147066105242"><h4 class="sectiontitle">Procedure</h4><ol id="as_01_0105__ol52511872104959"><li id="as_01_0105__en-us_topic_0118498861_l67f1c4bb070b4f3d9b83021e83da345b">Log in to the management console.</li><li id="as_01_0105__li5914166211049">Click <span><img id="as_01_0105__image157521545174914" src="en-us_image_0210485079.png"></span> in the upper left corner to select a region and a project.</li><li id="as_01_0105__li124961711112211">Under <strong id="as_01_0105__b597212462454">Computing</strong>, click <strong id="as_01_0105__b598164615452">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_01_0105__b1298214612457">Instance Scaling</strong>. Then click the <strong id="as_01_0105__b12984046144514">AS Groups</strong> tab.</li><li id="as_01_0105__li6647531">In the AS group list, locate the row containing the target AS group and click <strong id="as_01_0105__b1072322648162420">Disable</strong> in the <strong id="as_01_0105__b2936649719229">Operation</strong> column. You can also click the AS group name and then <strong id="as_01_0105__b10554105811279">Disable</strong> to the right of <strong id="as_01_0105__b195604582278">Status</strong> on the <strong id="as_01_0105__b45605583275">Basic Information</strong> page to disable the AS group.</li><li id="as_01_0105__li44278307121256">In the <strong id="as_01_0105__b84235270645758">Disable AS Group</strong> dialog box, click <strong id="as_01_0105__b84235270645812">Yes</strong>.</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_01_0100.html">AS Group</a></div>
</div>
</div>

View File

@ -0,0 +1,18 @@
<a name="as_01_0106"></a><a name="as_01_0106"></a>
<h1 class="topictitle1">Modifying an AS Group</h1>
<div id="body18826965"><div class="section" id="as_01_0106__section2495449014355"><h4 class="sectiontitle">Scenarios</h4><p id="as_01_0106__p35356632">You can modify an AS group if needed. The values of the following parameters can be changed: <strong id="as_01_0106__b10988355151017">Name</strong>, <strong id="as_01_0106__b149931955151019">Max. Instances</strong>, <strong id="as_01_0106__b39932551104">Min. Instances</strong>, <strong id="as_01_0106__b499314553108">Expected Instances</strong>, <strong id="as_01_0106__b19994175571013">Cooldown Period</strong>, <strong id="as_01_0106__b199419559102">Health Check Method</strong>, <strong id="as_01_0106__b6994105519104">Health Check Interval</strong>, <strong id="as_01_0106__b1999515551016">Enterprise project</strong>, <strong id="as_01_0106__b2995175561014">Instance Removal Policy</strong>, <strong id="as_01_0106__b1899685512101">EIP</strong>, and <strong id="as_01_0106__b5996105519103">Notification Mode</strong>.</p>
<div class="note" id="as_01_0106__note43412436"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p class="text" id="as_01_0106__p55167604">Changing the value of <strong id="as_01_0106__b51351353192252">Expected Instances</strong> will trigger a scaling action. AS will automatically increase or decrease the number of instances to the value of <strong id="as_01_0106__b756438057163743">Expected Instances</strong>.</p>
</div></div>
<p id="as_01_0106__p431611162618">If the AS group is not enabled, contains no instances, and has no scaling action ongoing, you can modify <strong id="as_01_0106__b1314145119920">Subnet</strong> and <strong id="as_01_0106__b7153519919">Load Balancing</strong> configurations.</p>
</div>
<div class="section" id="as_01_0106__section2227263611026"><h4 class="sectiontitle">Procedure</h4><ol id="as_01_0106__ol911039911042"><li id="as_01_0106__en-us_topic_0118498861_l67f1c4bb070b4f3d9b83021e83da345b">Log in to the management console.</li><li id="as_01_0106__li5914166211049">Click <span><img id="as_01_0106__image157291035219" src="en-us_image_0210485079.png"></span> in the upper left corner to select a region and a project.</li><li id="as_01_0106__li850464712311">Under <strong id="as_01_0106__b1712019558453">Computing</strong>, click <strong id="as_01_0106__b191311855184516">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_01_0106__b1313116556450">Instance Scaling</strong>. Then click the <strong id="as_01_0106__b181321455194519">AS Groups</strong> tab.</li></ol><ol start="4" id="as_01_0106__ol209755061112"><li id="as_01_0106__li157111131702">In the AS group list, locate the AS group you want to modify and choose <strong id="as_01_0106__b326294419229">More</strong> &gt; <strong id="as_01_0106__b1072322648162420">Modify</strong> in the <strong id="as_01_0106__b2936649719229">Operation</strong> column.<p id="as_01_0106__p196851027506">You can also click the AS group name to switch to the <strong id="as_01_0106__b1766184110045">Overview</strong> page, and click <strong id="as_01_0106__b109059617489">Modify</strong> in the upper right corner.</p>
</li><li id="as_01_0106__li34649765">In the <strong id="as_01_0106__b5378143718017">Modify AS Group</strong> dialog box, modify related data, for example, the expected number of instances.</li><li id="as_01_0106__li26746391">Click <strong id="as_01_0106__b842352706171154">OK</strong>.</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_01_0100.html">AS Group</a></div>
</div>
</div>

View File

@ -0,0 +1,15 @@
<a name="as_01_0107"></a><a name="as_01_0107"></a>
<h1 class="topictitle1">Deleting an AS Group</h1>
<div id="body1424418"><div class="section" id="as_01_0107__section08931748103217"><h4 class="sectiontitle">Scenarios</h4><p id="as_01_0107__p4172194518545">You can delete an AS group when it is no longer required.</p>
<ul id="as_01_0107__ul2057894611142"><li id="as_01_0107__li5099279111142">If an AS group is not required during a specified period of time, you are advised to disable it but not delete it.</li><li id="as_01_0107__li1787626794625">An AS group can be deleted only when it has no instances and no scaling action is being performed.</li><li id="as_01_0107__li5628194211142">When an AS group is deleted, its AS policies and the alarm rules generated based those AS policies will be automatically deleted.</li></ul>
</div>
<div class="section" id="as_01_0107__section1959939911151"><h4 class="sectiontitle">Procedure</h4><ol id="as_01_0107__ol52511872104959"><li id="as_01_0107__en-us_topic_0118498861_l67f1c4bb070b4f3d9b83021e83da345b">Log in to the management console.</li><li id="as_01_0107__li5914166211049">Click <span><img id="as_01_0107__image17990104385317" src="en-us_image_0210485079.png"></span> in the upper left corner and select the desired region and project.</li><li id="as_01_0107__li129253152418">Under <strong id="as_01_0107__b16545193194617">Computing</strong>, click <strong id="as_01_0107__b755717315464">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_01_0107__b1155815313467">Instance Scaling</strong>. Then click the <strong id="as_01_0107__b1255911311466">AS Groups</strong> tab.</li><li id="as_01_0107__li6647531">In the AS group list, locate the row containing the target AS group and choose <strong id="as_01_0107__b326294419229">More</strong> &gt; <strong id="as_01_0107__b1072322648162420">Delete</strong> in the <strong id="as_01_0107__b2936649719229">Operation</strong> column.</li><li id="as_01_0107__li791511545113">In the displayed <strong id="as_01_0107__b84235270615160">Delete AS Group</strong> dialog box, click <strong id="as_01_0107__b842352706191722">Yes</strong>.</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_01_0100.html">AS Group</a></div>
</div>
</div>

View File

@ -0,0 +1,23 @@
<a name="as_02_0100"></a><a name="as_02_0100"></a>
<h1 class="topictitle1">AS Configuration</h1>
<div id="body1539933917554"></div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="en-us_topic_0042018362.html">Creating an AS Configuration</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="as_02_0102.html">Creating an AS Configuration from an Existing ECS Instance</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="as_02_0103.html">Creating an AS Configuration from a New Specifications Template</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="as_02_0104.html">Copying an AS Configuration</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="as_02_0105.html">Deleting an AS Configuration</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0042283271.html">AS Management</a></div>
</div>
</div>

View File

@ -0,0 +1,40 @@
<a name="as_02_0101"></a><a name="as_02_0101"></a>
<h1 class="topictitle1">Setting Up an Automatically Scalable Discuz! Forum</h1>
<div id="body1505096664598"><div class="section" id="as_02_0101__section57465090145856"><h4 class="sectiontitle">Overview</h4><p id="as_02_0101__p1599862915589">AS automatically adds instances to an AS group for applications and removes unneeded ones on demand. You do not need to prepare a large number of extra ECS instances for an expected marketing activity or unexpected peak hours. By eliminating the need to deploy those extra instances, AS ensures system reliability and reduces your operating costs.</p>
<p id="as_02_0101__p5100199015391">This section describes how to use services, such as AS, ECS, ELB, and VPC to deploy a web service that can be automatically scaled in and out, for example, a Discuz! forum.</p>
<p id="as_02_0101__p3409979693316"><span><img class="vsd" id="as_02_0101__image376663429337" src="en-us_image_0077278626.png"></span></p>
<p id="as_02_0101__p4418257393337"></p>
</div>
<div class="section" id="as_02_0101__section8941180154154"><h4 class="sectiontitle">Prerequisites</h4><ol id="as_02_0101__ol01433819393"><li id="as_02_0101__li141420388395"><a name="as_02_0101__li141420388395"></a><a name="li141420388395"></a>A VPC, subnet, security group, and EIP are available.</li></ol><ol start="2" id="as_02_0101__ol1268714414395"><li id="as_02_0101__li568784415399">A load balancer and listener have been created. The VPC obtained in <a href="#as_02_0101__li141420388395">1</a> is selected during the load balancer creation.</li></ol>
</div>
<div class="section" id="as_02_0101__section72789851688"><h4 class="sectiontitle">Procedure</h4><p id="as_02_0101__p20526999113438"><strong id="as_02_0101__b842352706185641">Create an ECS and install a MySQL database.</strong></p>
<p id="as_02_0101__p46047843144546">You can create a relational database using the Relational Database Service (RDS) service provided by the cloud platform, or create an ECS and install the database there. In this section, we will install a MySQL database on a newly created ECS.</p>
<ol id="as_02_0101__ol14773980113641"><li id="as_02_0101__li4839386511380">Use the created VPC, security group, and EIP for the ECS you create. For instructions about how to create an ECS, see <em id="as_02_0101__i0411204598">Elastic Cloud Server User Guide</em><em id="as_02_0101__i866844125911"></em><em id="as_02_0101__i1665581214593"></em><em id="as_02_0101__i1924915270148"></em><em id="as_02_0101__i1884932018595"></em><em id="as_02_0101__i45342717187"></em>.</li><li id="as_02_0101__li65856956113641">When the status of the ECS changes to <strong id="as_02_0101__b84235270616471">Running</strong>, use Xftp or Xshell to log in to the ECS through its EIP, and install and configure a MySQL database.</li></ol>
<div class="p" id="as_02_0101__p4774226171323"><strong id="as_02_0101__b756045747">Create an ECS and deploy a Discuz! forum on it.</strong><ol id="as_02_0101__ol5372058171451"><li id="as_02_0101__li13000299113922">Create an ECS but do not bind an EIP to it. For instructions about how to create an ECS, see <em id="as_02_0101__i1163118471716">Elastic Cloud Server User Guide</em><em id="as_02_0101__i1952683014592"></em><em id="as_02_0101__i75262030175917"></em><em id="as_02_0101__i73851156191514"></em><em id="as_02_0101__i18526163025918"></em><em id="as_02_0101__i028413226200"></em>.</li><li id="as_02_0101__li32799591113935">Unbind the EIP from the ECS where the MySQL database is installed and bind the EIP to the ECS where the Discuz! forum is to be deployed.<p id="as_02_0101__p54251053113937"><a name="as_02_0101__li32799591113935"></a><a name="li32799591113935"></a>You can access the MySQL database through a private network, so the EIP bound to the ECS where the MySQL database is installed can be unbound and then bound to the ECS where the Discuz! forum is to be deployed. This improves resource utilization. For detailed operations, see <em id="as_02_0101__i99764190363">Virtual Private Cloud User Guide</em><em id="as_02_0101__i2976141910368"></em><em id="as_02_0101__i159761919203619"></em><em id="as_02_0101__i13245157131819"></em><em id="as_02_0101__i20976181914365"></em>. After binding the EIP, you can access the ECS from the Internet and install various environments, such as PHP and Apache.</p>
</li><li id="as_02_0101__li60971215173234">Deploy the forum.<p id="as_02_0101__p27293202173522"><a name="as_02_0101__li60971215173234"></a><a name="li60971215173234"></a>For instructions about how to deploy the Discuz! forum, see officially released Discuz! documentation. When configuring parameters, configure the private IP address of the ECS where the MySQL database is installed for the database server, and use the username and password authorized for remotely accessing the ECS where the MySQL database is installed to access the MySQL database. After the configuration is complete, you can unbind the EIP from the ECS where the forum is deployed to reduce resource usage.</p>
</li></ol>
</div>
<p id="as_02_0101__p66585209174144"><strong id="as_02_0101__b842352706185656">Create a private image.</strong></p>
<div class="p" id="as_02_0101__p5483719017446">Use the ECS where the Discuz! forum is deployed to create a private image. This private image is used to create the ECSs that will be used for capacity expansion.<ol id="as_02_0101__ol9459319174157"><li id="as_02_0101__li3164379174157">Only a stopped ECS can be used to create a private image, so stop the ECS where the Discuz! forum is deployed before creating a private image. For detailed operations, see <em id="as_02_0101__i786162413218">Elastic Cloud Server User Guide</em><em id="as_02_0101__i68611724627"></em><em id="as_02_0101__i8861162414214"></em><em id="as_02_0101__i2958102961914"></em><em id="as_02_0101__i1586112249220"></em><em id="as_02_0101__i11324191210561"></em>.</li><li id="as_02_0101__li55478818174845">Use the ECS to create a private image. For details, see <em id="as_02_0101__i1495412119916">Image Management Service User Guide</em><em id="as_02_0101__i5718142011917"></em><em id="as_02_0101__i024882816911"></em><em id="as_02_0101__i95051628122014"></em><em id="as_02_0101__i118181532891"></em><em id="as_02_0101__i2075578135714"></em>.</li></ol>
</div>
<p id="as_02_0101__p3087634317548"><strong id="as_02_0101__b84235270618577">Create an AS group.</strong></p>
<p id="as_02_0101__p12431791114137">An AS group consists of a collection of ECS instances, AS configurations, and AS policies that have similar attributes and apply to the same application scenario. An AS group is the basis for enabling or disabling AS policies and performing scaling actions. You must create an AS group to automatically add or remove ECS instances to match changes in traffic to the Discuz! forum.</p>
<p id="as_02_0101__p6055495917549">For instructions about how to create an AS group, see <a href="en-us_topic_0042018368.html">Creating an AS Group</a>. During the configuration, use the created VPC, subnet, load balancer, and listener.</p>
<p id="as_02_0101__p45200077155452"><strong id="as_02_0101__b842352706185713">Create an AS configuration.</strong></p>
<p id="as_02_0101__p5686965117549">The AS configuration lists the basic specifications of the ECSs to be automatically added to the AS group in a scaling action.</p>
<p id="as_02_0101__p516457351806">For instructions about how to create an AS configuration, see <a href="as_02_0103.html">Creating an AS Configuration from a New Specifications Template</a>. During the configuration, select the private image you created in the preceding step. Configure other parameters based on service requirements.</p>
<p id="as_02_0101__p15002706141638"><strong id="as_02_0101__b842352706185743">Manually add the ECS to the AS group.</strong></p>
<p id="as_02_0101__p7693526141832">On the page providing details about the AS group, click the <strong id="as_02_0101__b18169122111716">Instances</strong> tab and then <strong id="as_02_0101__b11170522171720">Add</strong> to add the ECS where the Discuz! forum is deployed to the AS group. For details, see <a href="as_04_0103.html">Manual Scaling</a>. You can enable instance protection on this ECS so that it will not be automatically removed from the AS group.</p>
<p id="as_02_0101__p82627518240"><strong id="as_02_0101__b842352706185755">Create an AS policy.</strong></p>
<p id="as_02_0101__p48573106143225">An AS policy specifies the conditions for triggering a scaling action. After you create an AS policy for the AS group, AS automatically increases or decreases the number of instances based on the policy.</p>
<p id="as_02_0101__p66475082143347">You can configure an alarm-based AS policy. When Cloud Eye generates an alarm for a monitoring metric, such as vCPU usage, AS automatically increases or decreases the number of instances in the AS group. If traffic fluctuations are predictable, you can also configure a scheduled or periodic AS policy.</p>
<p id="as_02_0101__p5377936518344">For instructions about how to create an AS policy, see <a href="as_04_0101.html">Dynamic Scaling</a> and <a href="as_04_0102.html">Scheduled Scaling</a>. After an AS policy is created and enabled, if a triggering condition is met, the AS group scales in or out as needed.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0111176246.html">Best Practices</a></div>
</div>
</div>

View File

@ -0,0 +1,88 @@
<a name="as_02_0102"></a><a name="as_02_0102"></a>
<h1 class="topictitle1">Creating an AS Configuration from an Existing ECS Instance</h1>
<div id="body9426010"><div class="section" id="as_02_0102__section2495449014355"><h4 class="sectiontitle">Scenarios</h4><p id="as_02_0102__p10702103311281">You can use an existing ECS instance to rapidly create an AS configuration. In such a case, the parameter settings, such as the vCPUs, memory, image, disk, and ECS type in the AS configuration are the same as those of the selected instance by default.</p>
</div>
<div class="section" id="as_02_0102__section1657416306249"><h4 class="sectiontitle">Procedure</h4><ol id="as_02_0102__ol61231749172811"><li id="as_02_0102__en-us_topic_0118498861_l67f1c4bb070b4f3d9b83021e83da345b">Log in to the management console.</li><li id="as_02_0102__li5914166211049">Click <span><img id="as_02_0102__image1494812412565" src="en-us_image_0210485079.png"></span> in the upper left corner to select a region and a project.</li><li id="as_02_0102__li207990092618">Under <strong id="as_02_0102__b1840444933714">Computing</strong>, click <strong id="as_02_0102__b14069498375">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_02_0102__b7407184918379">Instance Scaling</strong>.</li><li id="as_02_0102__li26457778">Click <strong id="as_02_0102__b20409745161312">Create AS Configuration</strong>.</li><li id="as_02_0102__li36793414">Set the parameters for the AS configuration. <a href="#as_02_0102__table27476571">Table 1</a> lists the AS configuration parameters.
<div class="tablenoborder"><a name="as_02_0102__table27476571"></a><a name="table27476571"></a><table cellpadding="4" cellspacing="0" summary="" id="as_02_0102__table27476571" frame="border" border="1" rules="all"><caption><b>Table 1 </b>AS configuration parameters</caption><thead align="left"><tr id="as_02_0102__row32016662"><th align="left" class="cellrowborder" valign="top" width="19.189999999999998%" id="mcps1.3.2.2.5.2.2.4.1.1"><p id="as_02_0102__p43212834">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="61.5%" id="mcps1.3.2.2.5.2.2.4.1.2"><p id="as_02_0102__p10578662">Description</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.31%" id="mcps1.3.2.2.5.2.2.4.1.3"><p id="as_02_0102__p51565323">Example Value</p>
</th>
</tr>
</thead>
<tbody><tr id="as_02_0102__row515341432317"><td class="cellrowborder" valign="top" width="19.189999999999998%" headers="mcps1.3.2.2.5.2.2.4.1.1 "><p id="as_02_0102__p51531114202310">Region</p>
</td>
<td class="cellrowborder" valign="top" width="61.5%" headers="mcps1.3.2.2.5.2.2.4.1.2 "><p id="as_02_0102__p17184175316413">A region is where an AS configuration resides.</p>
</td>
<td class="cellrowborder" valign="top" width="19.31%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0102__p4153191417231">N/A</p>
</td>
</tr>
<tr id="as_02_0102__row57496954161325"><td class="cellrowborder" valign="top" width="19.189999999999998%" headers="mcps1.3.2.2.5.2.2.4.1.1 "><p id="as_02_0102__p26741679161325">Name</p>
</td>
<td class="cellrowborder" valign="top" width="61.5%" headers="mcps1.3.2.2.5.2.2.4.1.2 "><p id="as_02_0102__p18592405161325">Specifies the name of an AS configuration.</p>
</td>
<td class="cellrowborder" valign="top" width="19.31%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0102__p29589843161325">N/A</p>
</td>
</tr>
<tr id="as_02_0102__row16041657"><td class="cellrowborder" valign="top" width="19.189999999999998%" headers="mcps1.3.2.2.5.2.2.4.1.1 "><p id="as_02_0102__p24305815">Configuration Template</p>
</td>
<td class="cellrowborder" valign="top" width="61.5%" headers="mcps1.3.2.2.5.2.2.4.1.2 "><p id="as_02_0102__p59011025101558">Select <strong id="as_02_0102__b106759141360">Use specifications of an existing ECS</strong> &gt; <strong id="as_02_0102__b1358210298362">Select ECS</strong>. </p>
<p id="as_02_0102__p32378487175332">The ECS type, vCPUs, memory, image, and disk information in the AS configuration are the same as those of the selected ECS by default. </p>
</td>
<td class="cellrowborder" valign="top" width="19.31%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0102__p59638115">Use specifications of an existing ECS</p>
</td>
</tr>
<tr id="as_02_0102__row8624119112542"><td class="cellrowborder" valign="top" width="19.189999999999998%" headers="mcps1.3.2.2.5.2.2.4.1.1 "><p id="as_02_0102__p814113820394">EIP</p>
</td>
<td class="cellrowborder" valign="top" width="61.5%" headers="mcps1.3.2.2.5.2.2.4.1.2 "><p id="as_02_0102__p10128370112614">An EIP is a static public IP address bound to an ECS in a VPC. Using the EIP, the ECS provides services externally.</p>
<div class="p" id="as_02_0102__p24046472112614">The following options are provided:<ul id="as_02_0102__ul1338415125618"><li id="as_02_0102__li15202104345914">Do not use<p id="as_02_0102__p77776467592"><a name="as_02_0102__li15202104345914"></a><a name="li15202104345914"></a>An ECS without an EIP cannot access the Internet. However, it can still be used as a service ECS or deployed in a cluster on a private network.</p>
</li><li id="as_02_0102__li1339444917594">Automatically assign<p id="as_02_0102__p1353012513593"><a name="as_02_0102__li1339444917594"></a><a name="li1339444917594"></a>An EIP with a dedicated bandwidth is automatically assigned to each ECS. The bandwidth size is configurable.</p>
</li></ul>
</div>
</td>
<td class="cellrowborder" valign="top" width="19.31%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0102__p30834244112614">Automatically assign</p>
</td>
</tr>
<tr id="as_02_0102__row42842654"><td class="cellrowborder" valign="top" width="19.189999999999998%" headers="mcps1.3.2.2.5.2.2.4.1.1 "><p id="as_02_0102__p47702931">Key Pair</p>
</td>
<td class="cellrowborder" valign="top" width="61.5%" headers="mcps1.3.2.2.5.2.2.4.1.2 "><p id="as_02_0102__p38732217">A key pair is used for ECS login authentication. If you select this mode, create or import a key pair on the <strong id="as_02_0102__b427209230171221">Key Pair</strong> page.</p>
<div class="note" id="as_02_0102__note13045638"><span class="notetitle"> NOTE: </span><div class="notebody"><p class="textintable" id="as_02_0102__p50301879">If you use an existing key, make sure that you have saved the key file locally. Without the key, you will not be able to log in to your instance.</p>
</div></div>
</td>
<td class="cellrowborder" valign="top" width="19.31%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0102__p47920438">N/A</p>
</td>
</tr>
<tr id="as_02_0102__row118911154313"><td class="cellrowborder" valign="top" width="19.189999999999998%" headers="mcps1.3.2.2.5.2.2.4.1.1 "><p id="as_02_0102__p5189015123111">Advanced Settings</p>
</td>
<td class="cellrowborder" valign="top" width="61.5%" headers="mcps1.3.2.2.5.2.2.4.1.2 "><p id="as_02_0102__p12120173110500">This allows you to configure <strong id="as_02_0102__b91122296146"></strong><strong id="as_02_0102__b8505817141">User Data</strong>.</p>
<p id="as_02_0102__p152801338145112">You can select <strong id="as_02_0102__b552719595111">Do not configure</strong> or <strong id="as_02_0102__b125287594114">Configure now</strong>.</p>
</td>
<td class="cellrowborder" valign="top" width="19.31%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0102__p15189715173120">N/A</p>
</td>
</tr>
<tr id="as_02_0102__row1422016374126"><td class="cellrowborder" valign="top" width="19.189999999999998%" headers="mcps1.3.2.2.5.2.2.4.1.1 "><p id="as_02_0102__p18537848162213">User Data</p>
</td>
<td class="cellrowborder" valign="top" width="61.5%" headers="mcps1.3.2.2.5.2.2.4.1.2 "><p id="as_02_0102__p65371748192215">Enables an ECS to automatically inject user data when the ECS starts for the first time. This configuration is optional. If this function is enabled, the ECS automatically injects user data during its first startup.</p>
<p id="as_02_0102__p7555752125319">For details, see <em id="as_02_0102__i17732017154219"><a href="https://docs.otc.t-systems.com/usermanual/ecs/en-us_topic_0032380449.html" target="_blank" rel="noopener noreferrer">Elastic Cloud Server User Guide</a></em>.</p>
<p id="as_02_0102__p163635436250">The following two methods are available:</p>
<ul id="as_02_0102__ul169841562611"><li id="as_02_0102__li18698131562611"><strong id="as_02_0102__b102971477174">As text</strong>: allows you to enter the user data in the text box below.</li><li id="as_02_0102__li4974152942618"><strong id="as_02_0102__b18255081717">As file</strong>: allows you to inject a script or other files when you create an ECS instance. <div class="note" id="as_02_0102__note41349835811"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="as_02_0102__ul1913519814582"><li id="as_02_0102__li313510813581">For Linux, if you use password authentication, this function is not supported.</li><li id="as_02_0102__li1313516812584">If the selected image does not support user data injection, this function is not supported.</li></ul>
</div></div>
</li></ul>
</td>
<td class="cellrowborder" valign="top" width="19.31%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0102__p95377487227">-</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="as_02_0102__li59140967">Click <strong id="as_02_0102__b141221226386">Create Now</strong>.</li><li id="as_02_0102__li29874939">If you want to use the newly created AS configuration, add it to the AS group. For details, see <a href="as_01_0103.html">Changing the AS Configuration for an AS Group</a>.</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_02_0100.html">AS Configuration</a></div>
</div>
</div>

147
docs/as/umn/as_02_0103.html Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,15 @@
<a name="as_02_0104"></a><a name="as_02_0104"></a>
<h1 class="topictitle1">Copying an AS Configuration</h1>
<div id="body34934986"><div class="section" id="as_02_0104__section2495449014355"><h4 class="sectiontitle">Scenarios</h4><p id="as_02_0104__p25788929113142">You can copy an existing AS configuration.</p>
<p id="as_02_0104__p37373550113048">When copying an AS configuration, you can modify parameter settings, such as the configuration name, ECS specifications, and image of the existing AS configuration to rapidly add a new AS configuration.</p>
</div>
<div class="section" id="as_02_0104__section1657416306249"><h4 class="sectiontitle">Procedure</h4><ol id="as_02_0104__ol54453050"><li id="as_02_0104__en-us_topic_0118498861_l67f1c4bb070b4f3d9b83021e83da345b">Log in to the management console.</li><li id="as_02_0104__li5914166211049">Click <span><img id="as_02_0104__image34981317408" src="en-us_image_0210485079.png"></span> in the upper left corner to select a region and a project.</li><li id="as_02_0104__li12010219280">Under <strong id="as_02_0104__b4306113812517">Computing</strong>, click <strong id="as_02_0104__b53081438142511">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_02_0104__b1530883817255">Instance Scaling</strong>.</li><li id="as_02_0104__li33345988">Click the <strong id="as_02_0104__b2832247131457">AS Configurations</strong> tab, locate the row containing the target AS configuration, and click <strong id="as_02_0104__b25490224131457">Copy</strong> in the <strong id="as_02_0104__b28085427131457">Operation</strong> column.</li><li id="as_02_0104__li16670523">On the <strong id="as_02_0104__b842352706203212">Copy AS Configuration</strong> page, modify parameter settings, such as <strong id="as_02_0104__b3689124014471">Name</strong>, <strong id="as_02_0104__b19689204004719">Specifications</strong>, and <strong id="as_02_0104__b11690840174717">Image</strong>.</li><li id="as_02_0104__li15816986">Click <strong id="as_02_0104__b938697450172559">OK</strong>.</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_02_0100.html">AS Configuration</a></div>
</div>
</div>

View File

@ -0,0 +1,14 @@
<a name="as_02_0105"></a><a name="as_02_0105"></a>
<h1 class="topictitle1">Deleting an AS Configuration</h1>
<div id="body2026335"><div class="section" id="as_02_0105__section2495449014355"><h4 class="sectiontitle">Scenarios</h4><p id="as_02_0105__p37373550113048">When you no longer need an AS configuration, you can delete it as long as the AS configuration is not used by an AS group. You can delete a single AS configuration or delete them batches.</p>
</div>
<div class="section" id="as_02_0105__section1657416306249"><h4 class="sectiontitle">Procedure</h4><ol id="as_02_0105__ol1107452"><li id="as_02_0105__en-us_topic_0118498861_l67f1c4bb070b4f3d9b83021e83da345b">Log in to the management console.</li><li id="as_02_0105__li5914166211049">Click <span><img id="as_02_0105__image179401228344" src="en-us_image_0210485079.png"></span> in the upper left corner and select the desired region and project.</li><li id="as_02_0105__li23412051162913">Under <strong id="as_02_0105__b611824532518">Computing</strong>, click <strong id="as_02_0105__b4121445152514">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_02_0105__b131226454252">Instance Scaling</strong>.</li><li id="as_02_0105__li803253">Click the <strong id="as_02_0105__b842352706173452">AS Configurations</strong> tab page, locate the row containing the target AS configuration, and click <strong id="as_02_0105__b842352706173526">Delete</strong> in the <strong id="as_02_0105__b842352706173529">Operation</strong> column to delete this AS configuration. You can also select multiple AS configurations to be deleted and click <strong id="as_02_0105__b84235270617444">Delete</strong> in the upper part of the AS configuration list to delete them all at once.</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_02_0100.html">AS Configuration</a></div>
</div>
</div>

View File

@ -0,0 +1,19 @@
<a name="as_03_0100"></a><a name="as_03_0100"></a>
<h1 class="topictitle1">AS Policy</h1>
<div id="body1548143445104"></div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="en-us_topic_2019013003.html">Overview</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="as_03_0102.html">Creating an AS Policy</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="as_03_0103.html">Managing AS Policies</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0042283271.html">AS Management</a></div>
</div>
</div>

161
docs/as/umn/as_03_0102.html Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,33 @@
<a name="as_03_0103"></a><a name="as_03_0103"></a>
<h1 class="topictitle1">Managing AS Policies</h1>
<div id="body1479115524484"><div class="section" id="as_03_0103__section2495449014355"><h4 class="sectiontitle">Scenarios</h4><p id="as_03_0103__p7590191320316">An AS policy specifies the conditions for triggering a scaling action as well as the operation that will be performed. If the conditions are met, a scaling action is triggered automatically.</p>
<p id="as_03_0103__p8060118">This section describes how to manage an AS policy, including modifying, enabling, disabling, executing, and deleting an AS policy.</p>
</div>
<div class="section" id="as_03_0103__section3429568117294"><h4 class="sectiontitle">Modifying an AS Policy</h4><p id="as_03_0103__p1181531595631">If a particular AS policy cannot meet service requirements, you can modify the parameter settings of the policy.</p>
<ol id="as_03_0103__ol49943176172944"><li id="as_03_0103__en-us_topic_0118498861_l67f1c4bb070b4f3d9b83021e83da345b">Log in to the management console.</li><li id="as_03_0103__li5914166211049">Click <span><img id="as_03_0103__image1829244341012" src="en-us_image_0210485079.png"></span> in the upper left corner to select a region and a project.</li><li id="as_03_0103__li6552583619">Under <strong id="as_03_0103__b165571243102810">Computing</strong>, click <strong id="as_03_0103__b1256813435284">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_03_0103__b18569144352814">Instance Scaling</strong>. Then click the <strong id="as_03_0103__b14569143112814">AS Groups</strong> tab.</li><li id="as_03_0103__li3783188785112">Locate the row containing the target AS group and click <strong id="as_03_0103__b7003162192252">View AS Policy</strong> in the <strong id="as_03_0103__b63028463192252">Operation</strong> column. On the displayed page, locate the row containing the target AS policy and choose <strong id="as_03_0103__b30385260192252">More</strong> &gt; <strong id="as_03_0103__b41801927154221">Modify</strong> in the <strong id="as_03_0103__b5031891192252">Operation</strong> column.</li><li id="as_03_0103__li791511545113">In the displayed <strong id="as_03_0103__b18596112925416">Modify AS Policy</strong> dialog box, modify the parameters and click <strong id="as_03_0103__b96231335165419">OK</strong>.</li></ol>
</div>
<div class="section" id="as_03_0103__section206278173059"><h4 class="sectiontitle">Enabling an AS Policy</h4><p id="as_03_0103__p63183853">An AS policy can trigger scaling actions only when it and the AS group are both enabled. You can enable one or more AS policies for an AS group as required.</p>
<ul id="as_03_0103__ul31783765"><li id="as_03_0103__li33074810">Before enabling multiple AS policies, ensure that the AS policies do not conflict with one another.</li><li id="as_03_0103__li29237836">An AS policy can be enabled only when its status is <strong id="as_03_0103__b2163733192252">Disabled</strong>.</li></ul>
<p id="as_03_0103__p17618432">Locate the row containing the target AS group and click <strong id="as_03_0103__b41044699192252">View AS Policy</strong> in the <strong id="as_03_0103__b33857976192252">Operation</strong> column. On the displayed page, locate the row containing the target AS policy and click <strong id="as_03_0103__b36286329192252">Enable</strong> in the <strong id="as_03_0103__b58141513192252">Operation</strong> column. To concurrently enable multiple AS policies, select these AS policies and click <strong id="as_03_0103__b84235270620493">Enable</strong> in the upper part of the AS policy list.</p>
</div>
<div class="section" id="as_03_0103__section6367887185112"><h4 class="sectiontitle">Disabling an AS Policy</h4><p id="as_03_0103__p5771493385112">If you do not want a particular AS policy to trigger any scaling actions within a specified period of time, you can disable it.</p>
<ul id="as_03_0103__ul4967235785112"><li id="as_03_0103__li4439803685112">If all of the AS policies configured for an AS group are disabled, no scaling action will be triggered for this AS group. However, if you manually change the value of <strong id="as_03_0103__b51351353192252">Expected Instances</strong>, a scaling action will still be triggered.</li><li id="as_03_0103__li6403801285112">You can disable an AS policy only when its status is <strong id="as_03_0103__b65818957192252">Enabled</strong>.</li></ul>
<p id="as_03_0103__p3947119685112">Locate the row containing the target AS group and click <strong id="as_03_0103__b667748863">View AS Policy</strong> in the <strong id="as_03_0103__b1806672745">Operation</strong> column. On the displayed page, locate the row containing the target AS policy and click <strong id="as_03_0103__b571893315">Disable</strong> in the <strong id="as_03_0103__b1513842090">Operation</strong> column. To concurrently disable multiple AS policies, select these AS policies and click <strong id="as_03_0103__b994580921">Disable</strong> in the upper part of the AS policy list.</p>
</div>
<div class="section" id="as_03_0103__section1969644685112"><h4 class="sectiontitle">Manually Executing an AS Policy</h4><p id="as_03_0103__p4133284512421">You can make the number of instances in an AS group reach the expected number of instances immediately by manually executing an AS policy.</p>
<ul id="as_03_0103__ul64891355112319"><li id="as_03_0103__li1348985516231">You can manually execute an AS policy if the scaling conditions configured in the AS policy are not met.</li><li id="as_03_0103__li1748955514234">You can manually execute an AS policy only when the AS group and AS policy are both in <strong id="as_03_0103__b24113993192252">Enabled</strong> state.<p id="as_03_0103__p94891055192311">Locate the row containing the target AS group and click <strong id="as_03_0103__b7076413192252">View AS Policy</strong> in the <strong id="as_03_0103__b63687724192252">Operation</strong> column. On the displayed page, locate the row containing the target AS policy and click <strong id="as_03_0103__b1155421199204445">Execute Now</strong> in the <strong id="as_03_0103__b42198048815417">Operation</strong> column.</p>
</li></ul>
</div>
<div class="section" id="as_03_0103__section353374285112"><h4 class="sectiontitle">Deleting an AS Policy</h4><p id="as_03_0103__p1779772085112">You can delete an AS policy that will not be used for triggering scaling actions.</p>
<p id="as_03_0103__p20245643145412">An AS policy can be deleted even when the scaling action triggered by the policy is in progress. Deleting the AS policy does not affect a scaling action that has already started.</p>
<p id="as_03_0103__p142300685112">Locate the row containing the target AS group and click <strong id="as_03_0103__b1961245039">View AS Policy</strong> in the <strong id="as_03_0103__b1231255958">Operation</strong> column. On the displayed page, locate the row containing the target AS policy and choose <strong id="as_03_0103__b1853782234">More</strong> &gt; <strong id="as_03_0103__b466786811">Delete</strong> in the <strong id="as_03_0103__b13245524">Operation</strong> column.</p>
<p id="as_03_0103__p467171014193">To concurrently delete multiple AS policies, select these AS policies and click <strong id="as_03_0103__b460313961">Delete</strong> in the upper part of the AS policy list.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_03_0100.html">AS Policy</a></div>
</div>
</div>

View File

@ -0,0 +1,25 @@
<a name="as_04_0100"></a><a name="as_04_0100"></a>
<h1 class="topictitle1">Scaling Action</h1>
<div id="body28602718"></div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="as_04_0101.html">Dynamic Scaling</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="as_04_0102.html">Scheduled Scaling</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="as_04_0103.html">Manual Scaling</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="as_04_0104.html">Configuring an Instance Removal Policy</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="as_04_0105.html">Viewing a Scaling Action</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="as_04_0107.html">Configuring Instance Protection</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0042283271.html">AS Management</a></div>
</div>
</div>

View File

@ -0,0 +1,13 @@
<a name="as_04_0101"></a><a name="as_04_0101"></a>
<h1 class="topictitle1">Dynamic Scaling</h1>
<div id="body36437619"><p id="as_04_0101__p1711411596169">Before using AS to perform scaling actions, you must specify how to perform the scaling actions to dynamically expand resources.</p>
<p id="as_04_0101__p45319326115319">If the demands change frequently, you can configure alarm-based policies to scale resources. When the conditions for invoking an AS policy are met, AS automatically changes the expected number of instances to trigger a scaling action to scale up or down resources. For details about how to create an alarm policy, see <a href="as_03_0102.html">Creating an AS Policy</a>.</p>
<p id="as_04_0101__p172507261516">Consider a train ticket booking application. If the CPU usage of the instances that run the application goes up to 90%, an instance needs to be added to ensure that services run properly. If the CPU usage drops down to 30%, an instance needs to be deleted to prevent resource waste. To meet the requirements, you can configure two alarm policies. One policy is used to add one instance if the maximum CPU usage exceeds 90%. The other policy is used to remove an instance if the minimum CPU usage drops below 30%. </p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_04_0100.html">Scaling Action</a></div>
</div>
</div>

View File

@ -0,0 +1,12 @@
<a name="as_04_0102"></a><a name="as_04_0102"></a>
<h1 class="topictitle1">Scheduled Scaling</h1>
<div id="body56226836"><p id="as_04_0102__p175886291104">To satisfy demands that change regularly, you can configure a scheduled or periodic policy to scale resources at specified time or periodically. For details about how to create a scheduled or periodic policy, see <a href="as_03_0102.html">Creating an AS Policy</a>.</p>
<p id="as_04_0102__p474193415427">Take an online course selection web application as an example. This application is frequently used when a semester starts and seldom used during other parts of the year. You can configure two scheduled policies to scale resources at the beginning of each semester. The first policy is used to add an instance when the course selection starts, and the second policy is used to remove an instance when the course selection ends.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_04_0100.html">Scaling Action</a></div>
</div>
</div>

View File

@ -0,0 +1,30 @@
<a name="as_04_0103"></a><a name="as_04_0103"></a>
<h1 class="topictitle1">Manual Scaling</h1>
<div id="body43320496"><div class="section" id="as_04_0103__section2495449014355"><h4 class="sectiontitle">Scenarios</h4><p id="as_04_0103__p63592346">You can manually add or remove instances to or from an AS group, or changing the expected number of instances.</p>
</div>
<div class="section" id="as_04_0103__section53233117153934"><h4 class="sectiontitle">Procedure</h4><p id="as_04_0103__p1952357615401"><strong id="as_04_0103__b842352706183930">Adding instances to an AS group</strong></p>
</div>
<p id="as_04_0103__p31588946154030">If an AS group is enabled and has no ongoing scaling action, and the current number of instances is less than the maximum, you can manually add instances to the AS group.</p>
<p id="as_04_0103__p15865065154030">Before adding instances to an AS group, ensure that the following conditions are met:</p>
<ul id="as_04_0103__ul8567861154030"><li id="as_04_0103__li10001887154030">The instances are not in other AS groups.</li><li id="as_04_0103__li50130185153323">The instances are in the same VPC as the AS group.</li><li id="as_04_0103__li22908120154030">The instances are in the AZs used by the AS group.</li><li id="as_04_0103__li4846489154030">After the instances are added, the total number of instances is less than or equal to the maximum number of instances allowed.</li><li id="as_04_0103__li20588652112217">Up to 10 instances can be added at a time.</li></ul>
<p id="as_04_0103__p43618403154030">To add instances to an AS group, perform the following steps:</p>
<ol id="as_04_0103__ol57021311154030"><li id="as_04_0103__li832105333214">Under <strong id="as_04_0103__b7811195162814">Computing</strong>, click <strong id="as_04_0103__b682115515285">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_04_0103__b19822185117284">Instance Scaling</strong>.</li><li id="as_04_0103__li55323515154030">Click the <strong id="as_04_0103__b7640066115548">AS Groups</strong> tab and then the name of the target AS group.</li><li id="as_04_0103__li28149587154030">On the AS group details page, click the <strong id="as_04_0103__b9499716134213">Instances</strong> tab and then <strong id="as_04_0103__b14500181614211">Add</strong>.</li><li id="as_04_0103__li52019698154030">Select the instances to be added and click <strong id="as_04_0103__b842352706172643">OK</strong>.</li></ol>
<p id="as_04_0103__p2122834315416"><strong id="as_04_0103__b842352706184013">Removing instances from an AS group</strong></p>
<p id="as_04_0103__p48268822173930">You can remove an instance from an AS group, update the instance or fix an instance fault, and add the instance back to the AS group. An instance removed from the AS group no longer carries any application traffic.</p>
<p id="as_04_0103__p31766219173930">You can modify the AS configuration for an AS group at any time, but the new configuration will not be applied to any instances that are running. To apply the new configuration, stop an instance, and the system will replace it with a new one that has the specifications specified in the new configuration. You can also remove the instance from the AS group, update the instance, and add then instance back to the AS group.</p>
<p id="as_04_0103__p49035653154124">There are some restrictions on instance removal:</p>
<ul id="as_04_0103__ul38667698154124"><li id="as_04_0103__li2692496616239">The AS group cannot have a scaling action in progress, the instances must be enabled, and the total number of instances after removal cannot be less than the minimum number of instances specified.</li><li id="as_04_0103__li197481649115012">Instances can be removed from an AS group and deleted only if the AS group has no scaling action ongoing, and the instances are automatically created and enabled, and are not used by Storage Disaster Recovery Service (SDRS).</li><li id="as_04_0103__li5758880191635">Instances manually added to an AS group can only be removed. They cannot be removed and deleted.</li><li id="as_04_0103__li185881562417">A maximum of 10 instances can be removed at a time.</li></ul>
<p id="as_04_0103__p11869369154124">To remove an instance from an AS group, perform the following steps:</p>
<ol id="as_04_0103__ol39715459154124"><li id="as_04_0103__li3880610183611">Under <strong id="as_04_0103__b263195442812">Computing</strong>, click <strong id="as_04_0103__b863413542288">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_04_0103__b163518545280">Instance Scaling</strong>.</li><li id="as_04_0103__li62835592154124">Click the <strong id="as_04_0103__b1647743492">AS Groups</strong> tab and then the name of the target AS group.</li><li id="as_04_0103__li28649422154124">Click the <strong id="as_04_0103__b25108545115548">Instances</strong> tab, locate the row containing the target instance, and click <strong id="as_04_0103__b24650320115548">Remove</strong> or <strong id="as_04_0103__b20526296115548">Remove and Delete</strong> in the <strong id="as_04_0103__b50518936115548">Operation</strong> column.</li><li id="as_04_0103__li56518206154124">To delete multiple instances from an AS group, select the check boxes in front of them and click <strong id="as_04_0103__b322913510443">Remove</strong> or <strong id="as_04_0103__b132301564416">Remove and Delete</strong>.</li></ol>
<p id="as_04_0103__p38901811154124">To delete all instances from an AS group, select the check box on the left of <strong id="as_04_0103__b842352706115522">Name</strong> and click <strong id="as_04_0103__b4317258416">Remove</strong> or <strong id="as_04_0103__b11742510414">Remove and Delete</strong>.</p>
<p id="as_04_0103__p39393290154127"><strong id="as_04_0103__b842352706184035">Changing the expected number of instances</strong></p>
<p id="as_04_0103__p2367843414232">Manually change the expected number of instances to add or reduce the number of instances in an AS group for expanding resources.</p>
<p id="as_04_0103__p62037068154330">For details, see <a href="as_01_0106.html">Modifying an AS Group</a>.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_04_0100.html">Scaling Action</a></div>
</div>
</div>

View File

@ -0,0 +1,15 @@
<a name="as_04_0104"></a><a name="as_04_0104"></a>
<h1 class="topictitle1">Configuring an Instance Removal Policy</h1>
<div id="body1481161580856"><p id="as_04_0104__p1210173395143">When instances are automatically removed from your AS group, the instances that are not in the currently used AZs will be removed first. Besides, AS will check whether instances are evenly distributed in the currently used AZs. If the load among AZs is unbalanced, AS balances load among AZs when removing instances. If the load among AZs is balanced, AS removes instances following the pre-configured instance removal policy.</p>
<p id="as_04_0104__p3090278995143">AS supports the following instance removal policies:</p>
<ul id="as_04_0104__as_qs_0005_ul30955222"><li id="as_04_0104__as_qs_0005_li17778899"><strong id="as_04_0104__b978919415448">Oldest instance</strong>: The oldest instance is removed from the AS group first. Use this policy if you want to upgrade instances in an AS group to a new ECS type. You can gradually replace instances of the old type with instances of the new type.</li><li id="as_04_0104__as_qs_0005_li25792371"><strong id="as_04_0104__b19765181044">Newest instance</strong>: The newest instance is removed from the AS group first. Use this policy if you want to test a new AS configuration but do not want to keep it in production.</li><li id="as_04_0104__as_qs_0005_li10161546"><strong id="as_04_0104__b374736149023">Oldest instance created from oldest AS configuration</strong>: The oldest instance created from the oldest configuration is removed from the AS group first. Use this policy if you want to update an AS group and phase out the instances created from a previous AS configuration.</li><li id="as_04_0104__as_qs_0005_li24345054"><strong id="as_04_0104__b438636849023">Newest instance created from oldest AS configuration</strong>: The newest instance created from the oldest configuration is removed from the AS group first.</li></ul>
<div class="note" id="as_04_0104__as_qs_0005_note51385802143421"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="as_04_0104__p564910410223">Manually added instances are the last to be removed, and if AS does remove a manually added instance, it only removes the instance. It does not delete the instance. If multiple manually added instances must be removed, AS preferentially removes the earliest-added instance first.</p>
</div></div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_04_0100.html">Scaling Action</a></div>
</div>
</div>

View File

@ -0,0 +1,19 @@
<a name="as_04_0105"></a><a name="as_04_0105"></a>
<h1 class="topictitle1">Viewing a Scaling Action</h1>
<div id="body25229732"><div class="section" id="as_04_0105__section2495449014355"><h4 class="sectiontitle">Scenarios</h4><p id="as_04_0105__p63605762320">This section describes how to check whether a scaling action has been performed and how to view scaling action details.</p>
</div>
<div class="section" id="as_04_0105__section63885215174832"><h4 class="sectiontitle">Viewing Scaling Actions</h4><p id="as_04_0105__p37108621161544">The following steps illustrate how to view scaling actions of an AS group.</p>
</div>
<ol id="as_04_0105__ol5351474516163"><li id="as_04_0105__en-us_topic_0118498861_l67f1c4bb070b4f3d9b83021e83da345b">Log in to the management console.</li><li id="as_04_0105__li1864023912336">Under <strong id="as_04_0105__b162493138291">Computing</strong>, click <strong id="as_04_0105__b026118139298">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_04_0105__b16261513112912">Instance Scaling</strong>.</li><li id="as_04_0105__li3972709916163">Click the <strong id="as_04_0105__b167815479449">AS Groups</strong> tab and then the name of the target AS group.</li><li id="as_04_0105__li2199957816163">Click the <strong id="as_04_0105__b9427632082009">Monitoring</strong> tab and view scaling actions. On the <strong id="as_04_0105__b577451310207">Monitoring</strong> page, you can view changes in the number of instances and metrics such as CPU Usage.</li></ol>
<div class="section" id="as_04_0105__section16767161311122"><h4 class="sectiontitle">Viewing Historical Scaling Actions</h4><p id="as_04_0105__p66949174124">The following steps illustrate how to view the historical records of scaling actions of an AS group.</p>
<ol id="as_04_0105__ol119451151101411"><li id="as_04_0105__li1194535151419">Under <strong id="as_04_0105__b41509165290">Computing</strong>, click <strong id="as_04_0105__b1515251611298">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_04_0105__b13153191692917">Instance Scaling</strong>.</li><li id="as_04_0105__li20457599157">Click the <strong id="as_04_0105__b18583344450">AS Groups</strong> tab and then the name of the target AS group.</li><li id="as_04_0105__li19548152091510">Click the <strong id="as_04_0105__b13885127152414">Scaling Actions</strong> tab. This page displays historical scaling actions of an AS group, including instance scaling and load balancer migration.<p id="as_04_0105__p1893595451820"><strong id="as_04_0105__b1776036314">Scaling Action ID</strong>, <strong id="as_04_0105__b1263466798">Status</strong>, <strong id="as_04_0105__b1553569047">Scaling Action Type</strong>, <strong id="as_04_0105__b574547044">Description</strong>, <strong id="as_04_0105__b345451704">Start Time</strong>, and <strong id="as_04_0105__b137276329">End Time</strong> of scaling actions are displayed. Click <span><img id="as_04_0105__image280454525" src="en-us_image_0164543452.jpg"></span> before the scaling action ID to view the resource name, status, and failure cause. You can also use the filtering function in the upper right corner to view scaling actions in a specified period.</p>
</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_04_0100.html">Scaling Action</a></div>
</div>
</div>

View File

@ -0,0 +1,22 @@
<a name="as_04_0107"></a><a name="as_04_0107"></a>
<h1 class="topictitle1">Configuring Instance Protection</h1>
<div id="body1505441299081"><div class="section" id="as_04_0107__section68401743312"><h4 class="sectiontitle">Scenarios</h4><p id="as_04_0107__p5597657210920">To control whether a particular instance can be removed automatically from an AS group, use instance protection. Once configured, when AS automatically scales in the AS group, the instance that is protected will not be removed.</p>
</div>
<div class="section" id="as_04_0107__section33767911104059"><h4 class="sectiontitle">Prerequisites</h4><div class="p" id="as_04_0107__p24334635111917">Instance protection does not protect instances from the following:<ul id="as_04_0107__ul64867070111958"><li id="as_04_0107__li53144154111958">Health check replacement if the instance fails health checks</li><li id="as_04_0107__li7530062112010">Manual removal<div class="note" id="as_04_0107__note22815101111315"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="as_04_0107__ul1398872841611"><li id="as_04_0107__li94051919172615">Instance protection does not protect unhealthy instances because such instances cannot provide services.</li><li id="as_04_0107__li8988192810161">By default, instance protection does not take effect on the ECSs that are newly created in or added to an AS group.</li><li id="as_04_0107__li1198892816169">If an instance is removed from an AS group, its instance protection setting is lost.</li></ul>
</div></div>
</li></ul>
</div>
</div>
<div class="section" id="as_04_0107__section35538053104144"><h4 class="sectiontitle">Enabling Instance Protection</h4><ol id="as_04_0107__ol23369370112631"><li id="as_04_0107__en-us_topic_0118498861_l67f1c4bb070b4f3d9b83021e83da345b">Log in to the management console.</li><li id="as_04_0107__li5914166211049">Click <span><img id="as_04_0107__image682434081310" src="en-us_image_0210485079.png"></span> in the upper left corner and select the desired region and project.</li><li id="as_04_0107__li88631121133719">Under <strong id="as_04_0107__b12646543155016">Computing</strong>, click <strong id="as_04_0107__b16658124365013">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_04_0107__b2659124318506">Instance Scaling</strong>. Then click the <strong id="as_04_0107__b16591943125012">AS Groups</strong> tab.</li><li id="as_04_0107__li64603832112640">Click the name of the target AS group.</li><li id="as_04_0107__li4171482711427">Click the <strong id="as_04_0107__b10601239215">Instances</strong> tab. Select one or more instances and choose <strong id="as_04_0107__b136816391417">Enable Instance Protection</strong> from the <strong id="as_04_0107__b2681339919">More</strong> drop-down list. In the displayed <strong id="as_04_0107__b9688391017">Enable Instance Protection</strong> dialog box, click <strong id="as_04_0107__b1468539014">Yes</strong>.</li></ol>
</div>
<div class="section" id="as_04_0107__section42597752104218"><h4 class="sectiontitle">Disabling Instance Protection</h4><ol id="as_04_0107__ol62220677"><li id="as_04_0107__li156062513812">Log in to the management console.</li></ol>
<ol id="as_04_0107__ol5398190615277"><li id="as_04_0107__li1045830015277">Click <span><img id="as_04_0107__image91081337161511" src="en-us_image_0210485079.png"></span> in the upper left corner and select the desired region and project.</li><li id="as_04_0107__li1366115923712">Under <strong id="as_04_0107__b0606846185011">Computing</strong>, click <strong id="as_04_0107__b186111246135015">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_04_0107__b106121463508">Instance Scaling</strong>. Then click the <strong id="as_04_0107__b7613124625010">AS Groups</strong> tab.</li><li id="as_04_0107__li24631284383">Click the name of the target AS group.</li><li id="as_04_0107__li3165273815277">Click the <strong id="as_04_0107__b360492752184813">Instances</strong> tab. Select one or more instances and choose <strong id="as_04_0107__b155508894801517">Disable Instance Protection</strong> from the <strong id="as_04_0107__b1605866210192941">More</strong> drop-down list. In the displayed <strong id="as_04_0107__b140981100184827">Disable Instance Protection</strong> dialog box, click <strong id="as_04_0107__b91471367184827">Yes</strong>.</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_04_0100.html">Scaling Action</a></div>
</div>
</div>

View File

@ -0,0 +1,19 @@
<a name="as_05_0101"></a><a name="as_05_0101"></a>
<h1 class="topictitle1">Bandwidth Scaling</h1>
<div id="body1526441065142"></div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="en-us_topic_0112331243.html">Creating a Bandwidth Scaling Policy</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="as_05_0102.html">Viewing Details About a Bandwidth Scaling Policy</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="as_05_0103.html">Managing a Bandwidth Scaling Policy</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0042283271.html">AS Management</a></div>
</div>
</div>

View File

@ -0,0 +1,16 @@
<a name="as_05_0102"></a><a name="as_05_0102"></a>
<h1 class="topictitle1">Viewing Details About a Bandwidth Scaling Policy</h1>
<div id="body1526441264746"><div class="section" id="as_05_0102__section2495449014355"><h4 class="sectiontitle">Scenarios</h4><p id="as_05_0102__p5166173584311">You can view details about a bandwidth scaling policy, including its basic information and execution logs. Policy execution logs record details about policy execution. This section describes how to create a bandwidth scaling policy.</p>
</div>
<div class="section" id="as_05_0102__as_01_0103_section63621909102627"><h4 class="sectiontitle">Procedure</h4><ol id="as_05_0102__as_01_0103_ol62220677"><li id="as_05_0102__en-us_topic_0118498861_l67f1c4bb070b4f3d9b83021e83da345b">Log in to the management console.</li><li id="as_05_0102__lb6d7ef518d99439ab531f944d85bd857">Click <span><img id="as_05_0102__image14241195115244" src="en-us_image_0210485079.png"></span> in the upper left corner to select a region and a project.</li><li id="as_05_0102__as_01_0103_li47357582">Under <strong id="as_05_0102__en-us_topic_0112331243_b13906349155020">Computing</strong>, click <strong id="as_05_0102__en-us_topic_0112331243_b292616493502">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_05_0102__en-us_topic_0112331243_b59261949175010">Bandwidth Scaling</strong>.</li><li id="as_05_0102__lbfbe2c96502a409caaeb352e1f0ee05a">On the <strong id="as_05_0102__b84003439480">Bandwidth Scaling</strong> page, click the name of a bandwidth scaling policy to go to the page showing its basic information and view its details. You can view basic information about the scaling policy, including <strong id="as_05_0102__b1411319178197">Policy Type</strong>, <strong id="as_05_0102__b294652616197">Trigger Condition</strong>, and <strong id="as_05_0102__b199151051201916">Scaling Action</strong>.</li></ol>
</div>
<div class="section" id="as_05_0102__section333611121556"><h4 class="sectiontitle">Viewing Execution Logs of a Bandwidth Scaling Policy</h4><p id="as_05_0102__p319816371275">In the <strong id="as_05_0102__b1325412183205">Policy Execution Logs</strong> area on the bandwidth scaling policy details page, you can view the policy execution logs. Policy execution logs record the execution status, execution time, original value, and target value of a bandwidth scaling policy.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_05_0101.html">Bandwidth Scaling</a></div>
</div>
</div>

View File

@ -0,0 +1,40 @@
<a name="as_05_0103"></a><a name="as_05_0103"></a>
<h1 class="topictitle1">Managing a Bandwidth Scaling Policy</h1>
<div id="body1526441264746"><div class="section" id="as_05_0103__section2495449014355"><h4 class="sectiontitle">Scenarios</h4><p id="as_05_0103__p12289145174811">You can adjust the bandwidth through a bandwidth scaling policy.</p>
<p id="as_05_0103__p5166173584311">This section describes how to manage bandwidth scaling policies, including enabling, disabling, modifying, deleting, and immediately executing a bandwidth scaling policy.</p>
<div class="note" id="as_05_0103__note14938192715590"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="as_05_0103__p5136176526">The bandwidth scaling policy corresponding to a released EIP still occupies the policy quota. Only the account and its IAM users with the global permission can manage the AS bandwidth policy.</p>
</div></div>
</div>
<div class="section" id="as_05_0103__as_01_0104_section47602278104932"><h4 class="sectiontitle">Enabling a Bandwidth Scaling Policy</h4><p id="as_05_0103__as_01_0104_p46963207145323">A bandwidth scaling policy can be enabled only when its status is <strong id="as_05_0103__b2163733192252">Disabled</strong>.</p>
<ol id="as_05_0103__as_01_0104_ol52511872104959"><li id="as_05_0103__en-us_topic_0118498861_l67f1c4bb070b4f3d9b83021e83da345b">Log in to the management console.</li><li id="as_05_0103__as_01_0104_li5914166211049">Click <span><img id="as_05_0103__image952853582610" src="en-us_image_0210485079.png"></span> in the upper left corner to select a region and a project.</li><li id="as_05_0103__li834043711716">Under <strong id="as_05_0103__en-us_topic_0112331243_b13906349155020">Computing</strong>, click <strong id="as_05_0103__en-us_topic_0112331243_b292616493502">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_05_0103__en-us_topic_0112331243_b59261949175010">Bandwidth Scaling</strong>.</li><li id="as_05_0103__as_01_0104_li6647531">In the bandwidth scaling policy list, locate the row containing the target policy and click <strong id="as_05_0103__b1072322648162420">Enable</strong> in the <strong id="as_05_0103__b2936649719229">Operation</strong> column. </li><li id="as_05_0103__as_01_0104_li44278307121256">In the displayed <strong id="as_05_0103__b17593949657">Enable Bandwidth Scaling Policy</strong> dialog box, click <strong id="as_05_0103__b13262238614">Yes</strong>.</li></ol>
</div>
<div class="section" id="as_05_0103__section25871448152519"><h4 class="sectiontitle">Disabling a Bandwidth Scaling Policy</h4><p id="as_05_0103__as_01_0105_p35527111154931">A bandwidth scaling policy can be disabled only when its status is <strong id="as_05_0103__b93071581718">Enabled</strong>.</p>
<ol id="as_05_0103__as_01_0105_ol52511872104959"><li id="as_05_0103__li1441314501182">Log in to the management console.</li><li id="as_05_0103__as_01_0105_li5914166211049">Click <span><img id="as_05_0103__image9623111516286" src="en-us_image_0210485079.png"></span> in the upper left corner to select a region and a project.</li><li id="as_05_0103__as_01_0103_li47357582">Under <strong id="as_05_0103__en-us_topic_0112331243_b13906349155020_1">Computing</strong>, click <strong id="as_05_0103__en-us_topic_0112331243_b292616493502_1">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_05_0103__en-us_topic_0112331243_b59261949175010_1">Bandwidth Scaling</strong>.</li><li id="as_05_0103__as_01_0105_li6647531">In the bandwidth scaling policy list, locate the row containing the target policy and click <strong id="as_05_0103__b389143020117">Disable</strong> in the <strong id="as_05_0103__b2892133012110">Operation</strong> column.</li><li id="as_05_0103__li19536175105513">In the displayed <strong id="as_05_0103__b18831516868">Disable Bandwidth Scaling Policy</strong> dialog box, click <strong id="as_05_0103__b58841316367">Yes</strong>.<div class="note" id="as_05_0103__note4716192363711"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="as_05_0103__p19716122311379">After a bandwidth scaling policy is disabled, its status changes to <strong id="as_05_0103__b2533636919229">Disabled</strong>. AS does not automatically trigger any scaling action based on a <strong id="as_05_0103__b935821039162217">Disabled</strong> bandwidth scaling policy.</p>
</div></div>
</li></ol>
</div>
<div class="section" id="as_05_0103__as_01_0106_section2227263611026"><h4 class="sectiontitle">Modifying a Bandwidth Scaling Policy</h4><ol id="as_05_0103__as_01_0106_ol911039911042"><li id="as_05_0103__li128697531881">Log in to the management console.</li><li id="as_05_0103__as_01_0106_li5914166211049">Click <span><img id="as_05_0103__image38501110203111" src="en-us_image_0210485079.png"></span> in the upper left corner to select a region and a project.</li></ol><ol start="3" id="as_05_0103__as_01_0106_ol209755061112"><li id="as_05_0103__li1660815561971">Under <strong id="as_05_0103__en-us_topic_0112331243_b13906349155020_2">Computing</strong>, click <strong id="as_05_0103__en-us_topic_0112331243_b292616493502_2">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_05_0103__en-us_topic_0112331243_b59261949175010_2">Bandwidth Scaling</strong>.</li><li id="as_05_0103__as_01_0106_li35224963">In the bandwidth scaling policy list, locate the row containing the target policy and click the policy name to switch to its details page.<p id="as_05_0103__as_01_0106_p45368382175935"><a name="as_05_0103__as_01_0106_li35224963"></a><a name="as_01_0106_li35224963"></a>Click <strong id="as_05_0103__as_01_0106_b84235270613832">Modify</strong> in the upper right corner of the page.</p>
<p id="as_05_0103__as_01_0106_p1990118175916">You can also locate the row containing the target policy, click <strong id="as_05_0103__b84235270615321">More</strong> in the <strong id="as_05_0103__b181386583108">Operation</strong> column, and select <strong id="as_05_0103__b84235270615324">Modify</strong>.</p>
</li><li id="as_05_0103__as_01_0106_li34649765">Modify parameters. You can modify the following parameters of a bandwidth scaling policy: <strong id="as_05_0103__b11914124487">Policy Name</strong>, <strong id="as_05_0103__b345109082">EIP</strong>, <strong id="as_05_0103__b735218246817">Policy Type</strong>, <strong id="as_05_0103__b06891341785">Scaling Action</strong>, and <strong id="as_05_0103__b5949125512817">Cooldown Period</strong>.</li><li id="as_05_0103__as_01_0106_li26746391">Click <strong id="as_05_0103__b1570856957172655">OK</strong>.</li></ol>
<div class="note" id="as_05_0103__note132481324291"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="as_05_0103__p202508262918">A bandwidth scaling policy which is being executed cannot be modified.</p>
</div></div>
</div>
<div class="section" id="as_05_0103__as_01_0107_section1959939911151"><h4 class="sectiontitle">Deleting a Bandwidth Scaling Policy</h4><ol id="as_05_0103__as_01_0107_ol52511872104959"><li id="as_05_0103__li61231588814">Log in to the management console.</li><li id="as_05_0103__as_01_0107_li5914166211049">Click <span><img id="as_05_0103__image656117575323" src="en-us_image_0210485079.png"></span> in the upper left corner to select a region and a project.</li><li id="as_05_0103__li37011061781">Under <strong id="as_05_0103__en-us_topic_0112331243_b13906349155020_3">Computing</strong>, click <strong id="as_05_0103__en-us_topic_0112331243_b292616493502_3">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_05_0103__en-us_topic_0112331243_b59261949175010_3">Bandwidth Scaling</strong>.</li><li id="as_05_0103__as_01_0107_li6647531">In the bandwidth scaling policy list, locate the row containing the target policy, click <strong id="as_05_0103__b873231412147">More</strong> in the <strong id="as_05_0103__b1726619411136">Operation</strong> column, and select <strong id="as_05_0103__b6926526121410">Delete</strong>.</li><li id="as_05_0103__li190718570553">In the displayed <strong id="as_05_0103__b1481612914566">Delete Bandwidth Scaling Policy</strong> dialog box, click <strong id="as_05_0103__b1692931135814">Yes</strong>.<p id="as_05_0103__p5492192922118">You can also select one or more scaling policies and click <strong id="as_05_0103__b92611855427">Delete</strong> above the list to delete one or more scaling policies.</p>
</li></ol>
<div class="note" id="as_05_0103__note968911519281"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="as_05_0103__as_01_0107_ul2057894611142"><li id="as_05_0103__as_01_0107_li5099279111142">You can delete a bandwidth scaling policy when you no longer need it. If you do not need it only during a specified period of time, you are advised to disable rather than delete it.</li><li id="as_05_0103__li16611243274">A bandwidth scaling policy can be deleted only when it is not being executed.</li></ul>
</div></div>
</div>
<div class="section" id="as_05_0103__en-us_topic_0151018598_sbdc76804de224059adf54b5a048df0e7"><h4 class="sectiontitle">Executing a Bandwidth Scaling Policy</h4><p id="as_05_0103__en-us_topic_0151018598_p6611177195">By executing a bandwidth scaling policy, you can immediately adjust the bandwidth to that configured in the bandwidth scaling policy, instead of having to wait until the trigger condition is met.</p>
<ol id="as_05_0103__en-us_topic_0151018598_oe3330a13b1ed43318b8e306ebcb5e62f"><li id="as_05_0103__li79740117919">Log in to the management console.</li><li id="as_05_0103__en-us_topic_0151018598_lfab0648e039f47799d935f5a011ff3be">Click <span><img id="as_05_0103__image19728163818342" src="en-us_image_0210485079.png"></span> in the upper left corner to select a region and a project.</li><li id="as_05_0103__li1079214151484">Under <strong id="as_05_0103__en-us_topic_0112331243_b13906349155020_4">Computing</strong>, click <strong id="as_05_0103__en-us_topic_0112331243_b292616493502_4">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_05_0103__en-us_topic_0112331243_b59261949175010_4">Bandwidth Scaling</strong>.</li><li id="as_05_0103__en-us_topic_0151018598_as_01_0107_li6647531">In the bandwidth scaling policy list, locate the row that contains the target policy and click <strong id="as_05_0103__b131442149393">Execute Now</strong> in the <strong id="as_05_0103__b20758192343912">Operation</strong> column.</li><li id="as_05_0103__en-us_topic_0151018598_li190718570553">In the displayed <strong id="as_05_0103__b8653124893913">Execute Bandwidth Scaling Policy</strong> dialog box, click <strong id="as_05_0103__b225827184016">Yes</strong>.</li></ol>
<p id="as_05_0103__en-us_topic_0151018598_p1455455112415">You can also go to the bandwidth scaling policy details page and click <strong id="as_05_0103__b0330432154017">Execute Now</strong> in the upper right corner.</p>
<div class="note" id="as_05_0103__note088674174711"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="as_05_0103__ul3934237135215"><li id="as_05_0103__li49341937165219">A bandwidth scaling policy can be executed only when the policy is enabled and no other bandwidth scaling policy is being executed.</li><li id="as_05_0103__li99341337115216">Executing a bandwidth scaling policy does not affect automatic adjustment of the bandwidth when the trigger condition of the policy is met.</li></ul>
</div></div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_05_0101.html">Bandwidth Scaling</a></div>
</div>
</div>

View File

@ -0,0 +1,25 @@
<a name="as_06_0100"></a><a name="as_06_0100"></a>
<h1 class="topictitle1">AS Group and Instance Monitoring</h1>
<div id="body19325759"></div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="as_06_0101.html">Health Check</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="as_06_0103.html">Recording AS Resource Operations</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="as_06_0104.html">Adding Tags to AS Groups and Instances</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="as_06_0105.html">Monitoring Metrics</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="as_06_0106.html">Viewing Monitoring Metrics</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="as_06_0107.html">Setting Monitoring Alarm Rules</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0042283271.html">AS Management</a></div>
</div>
</div>

View File

@ -0,0 +1,15 @@
<a name="as_06_0101"></a><a name="as_06_0101"></a>
<h1 class="topictitle1">Health Check</h1>
<div id="body33449458"><p id="as_06_0101__p179471135164418">A health check removes abnormal instances from an AS group. Then, AS adds new instances to the AS group so that the number of instances is the same as the expected number. There are two types of AS group health check.</p>
<ul id="as_06_0101__ul50695543"><li id="as_06_0101__li6596890793234"><strong id="as_06_0101__b1260870592">ECS health check</strong>: checks ECS instance running status. If an instance is stopped or deleted, it is considered as abnormal. <strong id="as_06_0101__b190064118920556">ECS health check</strong> is the default health check mode for an AS group. The AS group periodically uses the check result to determine the running status of every instance in the AS group. If the health check results show that an instance is unhealthy, AS removes the instance from the AS group.</li><li id="as_06_0101__li1570960394927"><strong id="as_06_0101__b14131351251">ELB health check</strong>: determines ECS instance running status using a load balancing listener. If the AS group uses load balancers, the health check method can also be <strong id="as_06_0101__b71181815162220">ELB health check</strong>. If you add multiple load balancers to an AS group, an ECS instance is considered to be healthy only when all load balancers detect that the instance status is healthy. If any load balancer detects that an instance is unhealthy, the instance will be removed from the AS group.</li></ul>
<p id="as_06_0101__p7609153313153">In both <strong id="as_06_0101__b2114632368205822">ECS health check</strong> and <strong id="as_06_0101__b354675325205836">ELB health check</strong> methods, AS removes unhealthy instances from AS groups. However, the removed instances are processed differently in the following two scenarios:</p>
<p id="as_06_0101__p7538102671518">For instances automatically added to an AS group during scaling actions, AS removes and deletes them. For instances manually added to an AS group, AS only removes them from the AS group.</p>
<p id="as_06_0101__p32694917155459">When an AS group is disabled, checking instance health status continues. However, AS will not remove instances.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_06_0100.html">AS Group and Instance Monitoring</a></div>
</div>
</div>

224
docs/as/umn/as_06_0103.html Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,52 @@
<a name="as_06_0104"></a><a name="as_06_0104"></a>
<h1 class="topictitle1">Adding Tags to AS Groups and Instances</h1>
<div id="body1500376665684"><div class="section" id="as_06_0104__section2495449014355"><h4 class="sectiontitle">Scenarios</h4><p id="as_06_0104__p1622395820217">If you have many resources of the same type, you can use a tag to manage resources flexibly. You can identify specified resources quickly using the tags allocated to them.</p>
<p id="as_06_0104__p152183534">Using a tag, you can assign custom data to each AS group. You can organize and manage AS groups, for example, classify AS group resources by usage, owner, or environment.</p>
<p id="as_06_0104__p16708589317">Each tag contains a key and a value. You can specify the key and value for each tag. A key can be a category associated with certain values, such as usage, owner, and environment.</p>
<p id="as_06_0104__p57613131331">For example, if you want to distinguish the test environment and production environment, you can allocate a tag with the key <strong id="as_06_0104__b84235270616226">environment</strong> to each AS group. For the test environment, the key value is <strong id="as_06_0104__b842352706162244">test</strong> and for the production environment, the key value is <strong id="as_06_0104__b84235270616239">production</strong>. You are advised to use one or more groups of consistent tags to manage your AS group resources.</p>
<p id="as_06_0104__p12289145174811">After you allocate a tag to an AS group, the system will automatically add the tag to the instances automatically created in the AS group. If you add a tag to an AS group or modify the tag, the new tag will be added to the ECSs automatically created in the AS group. Creating, deleting, or modifying the tag of an AS group will have no impact on the ECSs in the AS group.</p>
</div>
<div class="section" id="as_06_0104__section7355112104225"><h4 class="sectiontitle">Restrictions of Using Tags</h4><div class="p" id="as_06_0104__p11616132104242">You must observe the following rules when using tags:<ul id="as_06_0104__ul37436328104242"><li id="as_06_0104__li1382640104242">Each AS group can have a maximum of 10 tags added to it.</li><li id="as_06_0104__li29817215105124">Each tag contains a key and a value.</li><li id="as_06_0104__li11807385104242">You can set the tag value to an empty character string.</li><li id="as_06_0104__li16874151104242">If you delete an AS group, all tags of it will also be deleted.</li></ul>
</div>
</div>
<div class="section" id="as_06_0104__section12477432195230"><h4 class="sectiontitle">Adding a Tag to an AS Group</h4><ol id="as_06_0104__ol25260342102011"><li id="as_06_0104__en-us_topic_0118498861_l67f1c4bb070b4f3d9b83021e83da345b">Log in to the management console.</li><li id="as_06_0104__li5914166211049">Click <span><img id="as_06_0104__image1670633316277" src="en-us_image_0210485079.png"></span> in the upper left corner to select a region and a project.</li><li id="as_06_0104__li17729115711396">Under <strong id="as_06_0104__b389015642212">Computing</strong>, click <strong id="as_06_0104__b18901155612216">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_06_0104__b10901105616227">Instance Scaling</strong>. Then click the <strong id="as_06_0104__b169022056202219">AS Groups</strong> tab.</li><li id="as_06_0104__li50956687151314">Click the AS group name. On the AS group details page, click the <strong id="as_06_0104__b842352706231413">Tags</strong> tab and then click <strong id="as_06_0104__b842352706231419">Add Tag</strong>.</li><li id="as_06_0104__li30720917102023">Set the parameters listed in <a href="#as_06_0104__table1794599823119">Table 1</a>.
<div class="tablenoborder"><a name="as_06_0104__table1794599823119"></a><a name="table1794599823119"></a><table cellpadding="4" cellspacing="0" summary="" id="as_06_0104__table1794599823119" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Tag naming rules</caption><thead align="left"><tr id="as_06_0104__row2997812223119"><th align="left" class="cellrowborder" valign="top" width="18.54%" id="mcps1.3.3.2.5.2.2.4.1.1"><p id="as_06_0104__p4367076523119">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="53.39%" id="mcps1.3.3.2.5.2.2.4.1.2"><p id="as_06_0104__p4767111023119">Requirement</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="28.07%" id="mcps1.3.3.2.5.2.2.4.1.3"><p id="as_06_0104__p3615470723119">Example Value</p>
</th>
</tr>
</thead>
<tbody><tr id="as_06_0104__row5695691323119"><td class="cellrowborder" valign="top" width="18.54%" headers="mcps1.3.3.2.5.2.2.4.1.1 "><p id="as_06_0104__p5010724023119">Tag Key</p>
</td>
<td class="cellrowborder" valign="top" width="53.39%" headers="mcps1.3.3.2.5.2.2.4.1.2 "><ul id="as_06_0104__ul2321196023222"><li id="as_06_0104__li400332623222">The value cannot be empty.</li><li id="as_06_0104__li56235771151321">An AS group has a unique key.</li></ul>
</td>
<td class="cellrowborder" valign="top" width="28.07%" headers="mcps1.3.3.2.5.2.2.4.1.3 "><p id="as_06_0104__p5438834323119">Organization</p>
</td>
</tr>
<tr id="as_06_0104__row1973304523119"><td class="cellrowborder" valign="top" width="18.54%" headers="mcps1.3.3.2.5.2.2.4.1.1 "><p id="as_06_0104__p5487280123119">Tag Value</p>
</td>
<td class="cellrowborder" valign="top" width="53.39%" headers="mcps1.3.3.2.5.2.2.4.1.2 "><ul id="as_06_0104__ul6706750105539"><li id="as_06_0104__li64806765101310">The value can be an empty character string.</li><li id="as_06_0104__li26634116105411">A key can have only one value.</li></ul>
</td>
<td class="cellrowborder" valign="top" width="28.07%" headers="mcps1.3.3.2.5.2.2.4.1.3 "><p id="as_06_0104__p4850087723119">Apache</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="as_06_0104__li39846552175450">Click <strong id="as_06_0104__b1570856957172655">OK</strong>.</li></ol>
</div>
<div class="section" id="as_06_0104__section8057725103917"><h4 class="sectiontitle">Modifying or Deleting Tags of an AS Group</h4><ol id="as_06_0104__ol62220677"><li id="as_06_0104__li9869732999">Log in to the management console.</li></ol>
<ol id="as_06_0104__ol2830085105211"><li id="as_06_0104__li53599395154535">Click <span><img id="as_06_0104__image18815121619297" src="en-us_image_0210485079.png"></span> in the upper left corner to select a region and a project.</li><li id="as_06_0104__li10136163984010">Under <strong id="as_06_0104__b11908359202214">Computing</strong>, click <strong id="as_06_0104__b9910259142216">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_06_0104__b16910155919224">Instance Scaling</strong>. Then click the <strong id="as_06_0104__b5911155932218">AS Groups</strong> tab.</li><li id="as_06_0104__li49866103105211">Click the AS group name. On the <strong id="as_06_0104__b84235270623139">Overview</strong> page, click the <strong id="as_06_0104__b680475908">Tags</strong> tab.</li><li id="as_06_0104__li2425833410547">Locate the row that contains the tag and click <strong id="as_06_0104__b84235270617366">Edit</strong> or <strong id="as_06_0104__b84235270617369">Delete</strong> in the <strong id="as_06_0104__b842352706173621">Operation</strong> column.<p id="as_06_0104__p1677314711125">After clicking <strong id="as_06_0104__b324261571173649">Edit</strong>, configure required parameters. For details, see <a href="#as_06_0104__table1794599823119">Table 1</a>.</p>
<p id="as_06_0104__p5990166611137">After you click <strong id="as_06_0104__b260932618173735">Delete</strong>, the added tag will be deleted.</p>
</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_06_0100.html">AS Group and Instance Monitoring</a></div>
</div>
</div>

168
docs/as/umn/as_06_0105.html Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,24 @@
<a name="as_06_0106"></a><a name="as_06_0106"></a>
<h1 class="topictitle1">Viewing Monitoring Metrics</h1>
<div id="body1524473675695"><div class="section" id="as_06_0106__section1930814493166"><h4 class="sectiontitle">Scenarios</h4><p id="as_06_0106__p168791599162">The cloud platform provides Cloud Eye to help you obtain the running status of your ECS instances. This section describes how to view details of AS group metrics to obtain information about the status of the ECS instances in the AS group.</p>
</div>
<div class="section" id="as_06_0106__en-us_topic_0027371530_section8439794224022"><h4 class="sectiontitle">Prerequisites</h4><div class="p" id="as_06_0106__p2171461273">The ECS instance is running properly.<div class="note" id="as_06_0106__note1850681482714"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="as_06_0106__ul1990888122620"><li id="as_06_0106__li173995563211">Monitoring metrics such as <strong id="as_06_0106__b89421156153613">CPU Usage</strong> and <strong id="as_06_0106__b19551145173614">Disks Read Rate</strong> are available only when there is at least one instance in an AS group. If not, only the <strong id="as_06_0106__b2089917483155">Number of Instances</strong> metric is available.</li><li id="as_06_0106__li1190808192610">Monitoring data is not displayed for a stopped, faulty, or deleted instance. After such an instance restarts or recovers, the monitoring data is available.</li></ul>
</div></div>
</div>
</div>
<div class="section" id="as_06_0106__section53841197455"><h4 class="sectiontitle">Viewing Monitoring Metrics on Auto Scaling</h4><ol id="as_06_0106__ol25260342102011"><li id="as_06_0106__en-us_topic_0118498861_l67f1c4bb070b4f3d9b83021e83da345b">Log in to the management console.</li><li id="as_06_0106__li5914166211049">Click <span><img id="as_06_0106__as_06_0104_image1670633316277" src="en-us_image_0210485079.png"></span> in the upper left corner to select a region and a project.</li><li id="as_06_0106__li17729115711396">Under <strong id="as_06_0106__as_06_0104_b389015642212">Computing</strong>, click <strong id="as_06_0106__as_06_0104_b18901155612216">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_06_0106__as_06_0104_b10901105616227">Instance Scaling</strong>. Then click the <strong id="as_06_0106__as_06_0104_b169022056202219">AS Groups</strong> tab.</li><li id="as_06_0106__li50956687151314">On the <strong id="as_06_0106__b11550145816422">AS Groups</strong> page, find the AS group to view monitoring data and click its name.</li><li id="as_06_0106__li39846552175450">Click the <strong id="as_06_0106__b1790562612313">Monitoring</strong> tab to view the monitoring data.<p id="as_06_0106__p17514172913534">You can view data of the last one, three, 12, or 24 hours, or last 7 days. If you want to view data for a longer time range, click <strong id="as_06_0106__b1794919117261">View details</strong> to go to the <strong id="as_06_0106__b1645104318266">Cloud Eye</strong> page, hover your mouse over a graph, and click <span><img id="as_06_0106__image10972336181215" src="en-us_image_0210500918.png"></span>.</p>
</li></ol>
</div>
<div class="section" id="as_06_0106__en-us_topic_0027371530_section44667294224513"><h4 class="sectiontitle">Viewing Monitoring Metrics on Cloud Eye</h4><ol id="as_06_0106__en-us_topic_0027371530_ol52641911224530"><li id="as_06_0106__li98397479911">Log in to the management console.</li><li id="as_06_0106__en-us_topic_0027371530_li12536302111831">Click <span><img id="as_06_0106__as_06_0103_image14718102764410" src="en-us_image_0210485079.png"></span> in the upper left corner to select a region and a project.</li><li id="as_06_0106__en-us_topic_0027371530_li56082099224530">Under <strong id="as_06_0106__b44851324111812">Management &amp; Deployment</strong>, select <strong id="as_06_0106__b1487202410187">Cloud Eye</strong>.</li><li id="as_06_0106__li8839354101513">In the navigation pane on the left, choose <strong id="as_06_0106__b1285941513719">Cloud Service Monitoring</strong> &gt; <strong id="as_06_0106__b1386010156379">Auto Scaling</strong>.</li><li id="as_06_0106__li144940413176">Locate the row that contains the target AS group and click <strong id="as_06_0106__b842352706125813">View Metric</strong> in the <strong id="as_06_0106__b842352706125827">Operation</strong> column to view monitoring data.<p id="as_06_0106__p1654217277316">You can view data of the last one, three, 12, or 24 hours, or last 7 days. Hover your mouse over a graph and click <span><img id="as_06_0106__image186951733915" src="en-us_image_0210500918.png"></span> to view data for a longer time range.</p>
</li></ol>
</div>
<div class="note" id="as_06_0106__note15894514192811"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="as_06_0106__p158961214202811">It can take a period of time to obtain and transfer the monitoring data. Therefore, wait for a while and then check the data.</p>
</div></div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_06_0100.html">AS Group and Instance Monitoring</a></div>
</div>
</div>

View File

@ -0,0 +1,16 @@
<a name="as_06_0107"></a><a name="as_06_0107"></a>
<h1 class="topictitle1">Setting Monitoring Alarm Rules</h1>
<div id="body1524473675695"><div class="section" id="as_06_0107__en-us_topic_0027371531_section38299792222911"><h4 class="sectiontitle">Scenarios</h4><p id="as_06_0107__en-us_topic_0027371531_p40311482223529">Setting alarm rules allows you to customize the monitored objects and notification policies and determine the running status of your ECS instances at any time.</p>
</div>
<div class="section" id="as_06_0107__en-us_topic_0027371531_section7969360222918"><h4 class="sectiontitle">Procedure</h4><ol id="as_06_0107__en-us_topic_0027371531_ol4340316622382"><li id="as_06_0107__en-us_topic_0118498861_l67f1c4bb070b4f3d9b83021e83da345b">Log in to the management console.</li><li id="as_06_0107__en-us_topic_0027371530_li12536302111831">Click <span><img id="as_06_0107__image5569101664315" src="en-us_image_0264244243.png"></span> in the upper left corner and select the desired region and project.</li><li id="as_06_0107__en-us_topic_0027371530_li56082099224530">Under <strong id="as_06_0107__b1860174121917">Management &amp; Deployment</strong>, select <strong id="as_06_0107__b1870114141915">Cloud Eye</strong>.</li><li id="as_06_0107__en-us_topic_0027371531_li13187821225633">In the navigation pane, choose <strong id="as_06_0107__en-us_topic_0027371531_b842352706141717">Alarm Management</strong> &gt; <strong id="as_06_0107__en-us_topic_0027371531_b842352706141723">Alarm Rules</strong>.</li><li id="as_06_0107__en-us_topic_0027371531_li32623014182110">On the <strong id="as_06_0107__b1848912511550">Alarm Rules</strong> page, click <strong id="as_06_0107__b434541921166">Create Alarm Rule</strong> to create an alarm rule for the AS service or modify an existing alarm rule of the AS service.</li><li id="as_06_0107__li17869149105317">After setting the parameters, click <strong id="as_06_0107__b3493102918411">Create</strong>.<div class="note" id="as_06_0107__note14869299539"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="as_06_0107__ul181314268289"><li id="as_06_0107__li68135262289">For more information about how to set alarm rules, see <em id="as_06_0107__i842352697151939">Cloud Eye User Guide</em>.</li><li id="as_06_0107__li9813326162813">You can create alarm rules on the Cloud Eye console to dynamically expand resources.</li></ul>
</div></div>
</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_06_0100.html">AS Group and Instance Monitoring</a></div>
</div>
</div>

View File

@ -0,0 +1,13 @@
<a name="as_06_0206"></a><a name="as_06_0206"></a>
<h1 class="topictitle1">Can I Use an ECS Instance ID to Learn What AS Group the Instance Is In?</h1>
<div id="body1605768270519"><p id="as_06_0206__p8060118">No.</p>
<p id="as_06_0206__p195481337204819">To obtain details about an AS group and the instances in the group, perform the following operations:</p>
<ol id="as_06_0206__ol733181212534"><li id="as_06_0206__li1333111128532"><span>Log in to the management console. Choose <strong id="as_06_0206__b14259231140">Compute</strong> &gt; <strong id="as_06_0206__b142612320418">Auto Scaling</strong> &gt; <strong id="as_06_0206__b427823442">Instance Scaling</strong>.</span></li><li id="as_06_0206__li53713533538"><span>On the <strong id="as_06_0206__b143431938124516">AS Groups</strong> tab page, click the name of the target AS group.</span></li><li id="as_06_0206__li937681965520"><span>Click the <strong id="as_06_0206__b1421612615529">Instances</strong> tab to view the instances in the AS group.</span></li></ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_faq_1102.html">AS Group</a></div>
</div>
</div>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
<a name="as_faq_0007"></a><a name="as_faq_0007"></a>
<h1 class="topictitle1">How Many AS Policies and AS Configurations Can I Create and Use?</h1>
<div id="body44576811"><p id="as_faq_0007__p1156666492928">You can create up to 25 AS groups and 100 AS configurations by default. An AS group can use 1 AS configuration and 50 AS policies at a time.</p>
<p id="as_faq_0007__p9470610145340">If the default quotas do not meet your service requirements, contact the customer service.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_faq_1101.html">General</a></div>
</div>
</div>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,11 @@
<a name="as_faq_0009"></a><a name="as_faq_0009"></a>
<h1 class="topictitle1">How Many AS Policies Can I Enable?</h1>
<div id="body58102813"><p id="as_faq_0009__p10021756">You can enable one or more AS policies as required.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_faq_1103.html">AS Policy</a></div>
</div>
</div>

View File

@ -0,0 +1,11 @@
<a name="as_faq_0010"></a><a name="as_faq_0010"></a>
<h1 class="topictitle1">Can AS Automatically Delete Instances Added Based on an AS Policy When They Are Not Required?</h1>
<div id="body58796504"><p id="as_faq_0010__p8060118">Yes. AS can do it if an AS policy has been added to trigger scaling actions to delete the instances.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_faq_1104.html">Instance</a></div>
</div>
</div>

View File

@ -0,0 +1,13 @@
<a name="as_faq_0011"></a><a name="as_faq_0011"></a>
<h1 class="topictitle1">How Can I Automatically Deploy My Application on an Instance?</h1>
<div id="body10296046"><p id="as_faq_0011__p12994144817479">To enable automatic application deployment on instances automatically added to an AS group, create a private image with the application preinstalled and automatic startup settings preconfigured. Create an AS configuration with the private image, and the change the AS configuration used by the AS group to the one you created. Your application will be automatically deployed on instances that are automatically added to the AS group. The procedure is as follows:</p>
<ol id="as_faq_0011__ol34166919"><li id="as_faq_0011__li34306193155039">Install the application on the instance you will use to create a private image, and configure the application to automatically start at boot.</li><li id="as_faq_0011__li735592116215"><a name="as_faq_0011__li735592116215"></a><a name="li735592116215"></a>Create a private image using the instance. For details, see <em id="as_faq_0011__i785261183116"></em><em id="as_faq_0011__i138529119312">Image Management Service User Guide</em><em id="as_faq_0011__i4852311123112"></em><em id="as_faq_0011__i78521211143110"></em><em id="as_faq_0011__i16852101143114"></em>.</li><li id="as_faq_0011__li6411253193514"><a name="as_faq_0011__li6411253193514"></a><a name="li6411253193514"></a>Create an AS configuration using the private image. For details, see <em id="as_faq_0011__i26111443125613"></em><a href="as_02_0103.html">Creating an AS Configuration from a New Specifications Template</a>. Ensure that the image in the AS configuration is the private image created in <a href="#as_faq_0011__li735592116215">2</a>.</li><li id="as_faq_0011__li28673382">Go to the page that shows the details about your AS group.</li><li id="as_faq_0011__li8316190164412">Click <strong id="as_faq_0011__b1284015561444">Change Configuration</strong> to the right of <strong id="as_faq_0011__b13484157054">Configuration Name</strong>. In the displayed dialog box, select the AS configuration created in <a href="#as_faq_0011__li6411253193514">3</a> and click <strong id="as_faq_0011__b6908192911514">OK</strong>.<p id="as_faq_0011__p7961105511473">After new instances are added to the AS group in the next scaling action, you can check whether your application has been installed on the instances. If you encounter any problems, contact technical support.</p>
</li></ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_faq_1105.html">Others</a></div>
</div>
</div>

View File

@ -0,0 +1,22 @@
<a name="as_faq_0012"></a><a name="as_faq_0012"></a>
<h1 class="topictitle1">Why Can't I Use a Key File to Log In to an ECS?</h1>
<div id="body43589667"><div class="section" id="as_faq_0012__section19793926"><h4 class="sectiontitle">Issue Description</h4><p class="MsoNormal" id="as_faq_0012__p41102114">When I used a key file to attempt to log in to an instance in an AS group, the login failed.</p>
</div>
<div class="section" id="as_faq_0012__section43927610"><h4 class="sectiontitle">Possible Causes</h4><p class="MsoNormal" id="as_faq_0012__p40936926">The image specified in the AS configuration of the AS group is a private image, on which Cloud-Init has not been installed.</p>
<p class="MsoNormal" id="as_faq_0012__p32888014">In this case, it would not be possible to customize the ECS configuration. As a result, you can log in to the ECS only using the original image password or key pair.</p>
</div>
<div class="section" id="as_faq_0012__section59804173"><h4 class="sectiontitle">Handling Method</h4><ol id="as_faq_0012__ol46683439"><li id="as_faq_0012__li17497770">Check whether the ECS needs to be logged in to.<ul class="subitemlist" id="as_faq_0012__ul23262209"><li id="as_faq_0012__li8033291">If yes, use the original image password or key pair to log in to this ECS.<p id="as_faq_0012__p5190763"><a name="as_faq_0012__li8033291"></a><a name="li8033291"></a>The original image password or key pair is the OS password or key pair configured when the private image was created.</p>
</li><li id="as_faq_0012__li46716873">If no, go to step <a href="#as_faq_0012__li4126846117151">2</a>.</li></ul>
</li><li id="as_faq_0012__li4126846117151"><a name="as_faq_0012__li4126846117151"></a><a name="li4126846117151"></a>Change the AS configuration for the AS group. For details, see <a href="as_01_0103.html">Changing the AS Configuration for an AS Group</a>.</li></ol>
<div class="note" id="as_faq_0012__note3276954817212"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="as_faq_0012__p2649047717212">Make sure that Cloud-Init or Cloudbase-Init has been installed on the image specified in the new AS configuration. For how to install Cloud-Init or Cloudbase-Init, see <em id="as_faq_0012__i141627494">Image Management Service User Guide</em>.</p>
</div></div>
<p class="litext" id="as_faq_0012__p20304554">After the AS configuration is changed, you can use the key file to log in to the new ECSs that are added to the AS group during scaling actions. You do not need to use the original image password or key pair to log in to these new ECSs anymore.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_faq_1105.html">Others</a></div>
</div>
</div>

View File

@ -0,0 +1,36 @@
<a name="as_faq_0014"></a><a name="as_faq_0014"></a>
<h1 class="topictitle1">How Can I Handle an AS Group Exception?</h1>
<div id="body22991320"><p id="as_faq_0014__p43216124195531">The handling method depends on the reported possible cause.</p>
<ul id="as_faq_0014__ul65292850195727"><li id="as_faq_0014__li3971491920242">Issue description: Insufficient ECS, EVS disk or EIP quota.<p id="as_faq_0014__p43685813192743"><a name="as_faq_0014__li3971491920242"></a><a name="li3971491920242"></a>Possible cause: insufficient quota</p>
<p id="as_faq_0014__p544175042031">Handling method: Increase the quota or delete unnecessary resources, and then enable the AS group.</p>
</li><li id="as_faq_0014__li3820466195742">Issue description: The VPC or subnet does not exist.<p id="as_faq_0014__p3865587191855"><a name="as_faq_0014__li3820466195742"></a><a name="li3820466195742"></a>Possible cause: The VPC service encounters an exception or resources have been deleted.</p>
<p id="as_faq_0014__p1462619195743">Handling method: Wait until the VPC service recovers, or modify parameters of the VPC and subnet in the AS group, and then enable the AS group.</p>
</li><li id="as_faq_0014__li13377738195749">Issue description: The ELB listener or backend ECS group does not exist, and the load balancer is unavailable.<p id="as_faq_0014__p32591234192327"><a name="as_faq_0014__li13377738195749"></a><a name="li13377738195749"></a>Possible cause: The ELB service encounters an exception or resources have been deleted.</p>
<p id="as_faq_0014__p24885651192327">Handling method: Wait until the ELB service recovers, or modify load balance parameters in the AS group, and then enable the AS group.</p>
</li><li id="as_faq_0014__li1492310144613">Issue description: The number of backend ECSs that you add to the ELB listener exceeds the upper limit.<p id="as_faq_0014__p12923714969"><a name="as_faq_0014__li1492310144613"></a><a name="li1492310144613"></a>Possible cause: If classical load balancer is used by an AS group, instances added to the AS group are automatically added to the ELB listener. A maximum of 300 backend ECSs can be added to an ELB listener.</p>
<p id="as_faq_0014__p392351417613">Handling method: Remove the backend ECSs that are both not required and not in the AS group from the listener. Then enable the AS group.</p>
</li><li id="as_faq_0014__li24773077192310">Issue description: The image used by the AS configuration, the flavor, or the key pair does not exist.<p id="as_faq_0014__p579852419198"><a name="as_faq_0014__li24773077192310"></a><a name="li24773077192310"></a>Possible cause: Resources have been deleted.</p>
<p id="as_faq_0014__p33837526195749">Handling method: Change the AS configuration for the AS group and then enable the AS group.</p>
</li><li id="as_faq_0014__li64036858111148">Issue description: The subnet you select does not have enough private IP addresses.<p id="as_faq_0014__p54243533193439"><a name="as_faq_0014__li64036858111148"></a><a name="li64036858111148"></a>Possible cause: Private IP addresses in the subnet used by the AS group have been used up.</p>
<p id="as_faq_0014__p39046674192913">Handling method: Modify the subnet information and enable the AS group.</p>
</li><li id="as_faq_0014__li2474067819292">Issue description: The ECS resources of this type in the selected AZ have been sold out.<p id="as_faq_0014__p25461982111847"><a name="as_faq_0014__li2474067819292"></a><a name="li2474067819292"></a>Possible cause: ECSs of this type have been sold out or are not supported in the AZ selected for the AS group. ECSs of this type are the ECS flavor selected in the AS configuration.</p>
<p id="as_faq_0014__p1414621421118">Handling method: Change the AS configuration for the AS group and then enable the AS group. If there is no instance in the AS group, you can also change the AZ for the AS group and then enable the AS group.</p>
</li><li id="as_faq_0014__li4086930810589">Issue description: The selected specifications and the disk do not match.<p id="as_faq_0014__p3227945410589"><a name="as_faq_0014__li4086930810589"></a><a name="li4086930810589"></a>Possible cause: The ECS type in the AS configuration does not match the disk type, leading to the ECS creation failure.</p>
<p id="as_faq_0014__p2207963710589">Handling method: Change the AS configuration for the AS group and then enable the AS group.</p>
</li><li id="as_faq_0014__li174752031310">Issue description: The selected specifications and the image do not match.<p id="as_faq_0014__p747513113111"><a name="as_faq_0014__li174752031310"></a><a name="li174752031310"></a>Possible cause: The ECS type in the AS configuration does not match the image, leading to the ECS creation failure.</p>
<p id="as_faq_0014__p247519314116">Handling method: Change the AS configuration for the AS group and then enable the AS group.</p>
</li><li id="as_faq_0014__li42303582105859">Issue description: Storage resources of this type have been sold out in the selected AZ.<p id="as_faq_0014__p3697112181010"><a name="as_faq_0014__li42303582105859"></a><a name="li42303582105859"></a>Possible cause: Storage resources of this type have been sold out or are not supported in the AZ selected for the AS group. Storage resources of this type refer to the system and data disk types selected for the AS configuration.</p>
<p id="as_faq_0014__p1249581913109">Handling method: Change the AS configuration for the AS group and then enable the AS group. If there is no instance in the AS group, you can also change the AZ for the AS group and then enable the AS group.</p>
</li><li id="as_faq_0014__li1867705418207">Issue description: A system error has occurred.<p id="as_faq_0014__p195625311388"><a name="as_faq_0014__li1867705418207"></a><a name="li1867705418207"></a>Possible cause: An error has occurred in the AS service, peripheral service, or network.</p>
<p id="as_faq_0014__p520311529381">Handling method: Try again later or contact technical support.</p>
</li><li id="as_faq_0014__li144221858603">Issue description: The specification defined in the AS configuration is unavailable.<p id="as_faq_0014__p18422758608"><a name="as_faq_0014__li144221858603"></a><a name="li144221858603"></a>Handling method: Change specifications by creating an AS configuration as prompted by the error message and use this AS configuration for the AS group. Then enable the AS group.</p>
</li><li id="as_faq_0014__li18141154418">Issue description: The selected AS configuration cannot be used by the AS group.<p id="as_faq_0014__p151421510418"><a name="as_faq_0014__li18141154418"></a><a name="li18141154418"></a>Handling method: Create an AS configuration as prompted by the error message and use this AS configuration for the AS group. Then enable the AS group.</p>
</li></ul>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_faq_1102.html">AS Group</a></div>
</div>
</div>

View File

@ -0,0 +1,13 @@
<a name="as_faq_0015"></a><a name="as_faq_0015"></a>
<h1 class="topictitle1">What Monitoring Metrics for an AS Group Will Be Affected If OTC Tools Are Not Installed on the Instances in the Group?</h1>
<div id="body8662426"><p id="as_faq_0015__en-us_topic_0037516548_p60987502142419">If OTC Tools have not been installed on ECS instances, Cloud Eye can monitor metrics Outband Incoming Rate and Outband Outgoing Rate. However, it cannot monitor metrics Memory Usage, Inband Incoming Rate, and Inband Outgoing Rate, which reduces data accuracy of CPU usage.</p>
<p id="as_faq_0015__p2181520918033">For details about monitoring metrics supported by AS, see <a href="as_pro_0006.html#as_pro_0006__en-us_topic_0190954097_table1856812418720">Table 1</a>.</p>
<p id="as_faq_0015__p3643521517147">If OTC Tools are not installed on ECS instances, AS cannot obtain the memory usage, inband incoming rate, and inband outgoing rate.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_faq_1103.html">AS Policy</a></div>
</div>
</div>

View File

@ -0,0 +1,22 @@
<a name="as_faq_0019"></a><a name="as_faq_0019"></a>
<h1 class="topictitle1">How Do I Delete an ECS Instance Created in a Scaling Action?</h1>
<div id="body1523951593395"><div class="section" id="as_faq_0019__section18167182325715"><h4 class="sectiontitle">Handling Methods</h4><p id="as_faq_0019__p48816311593">Method 1</p>
</div>
<ol id="as_faq_0019__ol52531481862"><li id="as_faq_0019__li199593551610">Log in to the management console.</li><li id="as_faq_0019__li56393815432">Under <strong id="as_faq_0019__b16781793528">Computing</strong>, click <strong id="as_faq_0019__b88729135214">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_faq_0019__b16877912524">Instance Scaling</strong>.</li><li id="as_faq_0019__li1548015171275">Click the AS group name on the <strong id="as_faq_0019__b7640066115548">AS Groups</strong> page.</li><li id="as_faq_0019__li1813165512815">On the AS group details page, click the <strong id="as_faq_0019__b114833171498">Instances</strong> tab.</li><li id="as_faq_0019__li362810112145">Locate the row that contains the instance and click <strong id="as_faq_0019__b1273124111513">Remove and Delete</strong> in the <strong id="as_faq_0019__b15148155545115">Operation</strong> column.<div class="note" id="as_faq_0019__note58381309204"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="as_faq_0019__p39574312155551">To delete multiple instances, select the check boxes in front of them and click <strong id="as_faq_0019__b26034715529">Remove and Delete</strong>.</p>
</div></div>
</li></ol>
<p id="as_faq_0019__p65993432173320"></p>
<p id="as_faq_0019__p30514033155626">Method 2</p>
<ol id="as_faq_0019__ol437214452418"><li id="as_faq_0019__li18632165913173">Log in to the management console.</li><li id="as_faq_0019__li2071751216441">Under <strong id="as_faq_0019__b796316473450">Computing</strong>, click <strong id="as_faq_0019__b39651747164514">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_faq_0019__b996511477456">Instance Scaling</strong>.</li><li id="as_faq_0019__li84117109240">Click the AS group name on the <strong id="as_faq_0019__b1851864415544">AS Groups</strong> page.</li><li id="as_faq_0019__li84121810182412">On the AS group details page, click the <strong id="as_faq_0019__b57514456534">AS Policies</strong> tab.</li><li id="as_faq_0019__li194842229249">Click <strong id="as_faq_0019__b7432193834714">Add AS Policy</strong>. In the displayed <strong id="as_faq_0019__b18433338144714">Add AS Policy</strong> dialog box, add an as policy to remove instances as needed or maintain a specified number of instances.</li></ol>
<p id="as_faq_0019__p13153711155650"></p>
<p id="as_faq_0019__p37433731155642">Method 3</p>
<ol id="as_faq_0019__ol1447419568177"><li id="as_faq_0019__li46024154188">Log in to the management console.</li></ol>
<ol id="as_faq_0019__ol88019120266"><li id="as_faq_0019__li19180144919449">Under <strong id="as_faq_0019__b1919285816452">Computing</strong>, click <strong id="as_faq_0019__b8202158204519">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_faq_0019__b6203155811454">Instance Scaling</strong>.</li><li id="as_faq_0019__li2804131182616">Click the AS group name on the <strong id="as_faq_0019__b59261249165412">AS Groups</strong> page.</li><li id="as_faq_0019__li36215463289">On the AS group details page, click <strong id="as_faq_0019__b1381616318214">Modify</strong> in the upper right corner.</li><li id="as_faq_0019__li14630746263">In the displayed <strong id="as_faq_0019__b14272215310">Modify AS Group</strong> dialog box, change the value of <strong id="as_faq_0019__b842352706142649">Expected Instances</strong>.</li></ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_faq_1104.html">Instance</a></div>
</div>
</div>

View File

@ -0,0 +1,11 @@
<a name="as_faq_0020"></a><a name="as_faq_0020"></a>
<h1 class="topictitle1">When an Instance Is Removed from an AS Group and Deleted, Is the Application Data Saved?</h1>
<div id="body1532424556831"><p id="as_faq_0020__p8060118">No. You must ensure that instances in the AS group do not store application status information or other important data, such as sessions, databases, and logs, or the data will be lost when AS automatically releases them. If you want to store your application status, you can store it on an independent server (such as an ECS) or database (such as an RDS database). </p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_faq_1104.html">Instance</a></div>
</div>
</div>

View File

@ -0,0 +1,12 @@
<a name="as_faq_0025"></a><a name="as_faq_0025"></a>
<h1 class="topictitle1">What Can I Do If the AS Group Fails to Be Enabled?</h1>
<div id="body1527070957295"><p id="as_faq_0025__p5690195554012">See section "How Can I Handle an AS Group Exception?"</p>
<p id="as_faq_0025__p1482534319184"></p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_faq_1102.html">AS Group</a></div>
</div>
</div>

View File

@ -0,0 +1,18 @@
<a name="as_faq_0026"></a><a name="as_faq_0026"></a>
<h1 class="topictitle1">What Can I Do If an AS Policy Fails to Be Enabled?</h1>
<div id="body1529477194423"><ul id="as_faq_0026__ul1356452012478"><li id="as_faq_0026__li1867705418207">Description: The alarm rule does not exist.<p id="as_faq_0026__p385617431477"><a name="as_faq_0026__li1867705418207"></a><a name="li1867705418207"></a>Possible cause: The alarm rule used in the alarm policy is deleted.</p>
<p id="as_faq_0026__p1083374214720">Handling method: Change the alarm rule used in the alarm policy and enable the AS policy again.</p>
</li><li id="as_faq_0026__li10610113484715">Description: The triggering time of the periodic policy falls outside the effective time range of the policy.<p id="as_faq_0026__p56908474471"><a name="as_faq_0026__li10610113484715"></a><a name="li10610113484715"></a>Possible cause: The periodic policy has expired.</p>
<p id="as_faq_0026__p178544764720">Handling method: Change the start time and end time of the periodic policy and enable the policy again.</p>
</li><li id="as_faq_0026__li1357861275616">Description: The triggering time of the scheduled policy must be later than the current time.<p id="as_faq_0026__p135784127564"><a name="as_faq_0026__li1357861275616"></a><a name="li1357861275616"></a>Possible causes: The triggering time of the scheduled policy has expired.</p>
<p id="as_faq_0026__p13578512155617">Handling method: Change the triggering time of the scheduled policy and enable the policy again.</p>
</li><li id="as_faq_0026__li137185356475">Description: A system error has occurred.<p id="as_faq_0026__p113981450104710"><a name="as_faq_0026__li137185356475"></a><a name="li137185356475"></a>Handling method: Try again later or contact technical support.</p>
</li></ul>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_faq_1103.html">AS Policy</a></div>
</div>
</div>

Some files were not shown because too many files have changed in this diff Show More