AS UMN DOC
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com> Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Zaoxu, Li <lizaoxu@huawei.com> Co-committed-by: Zaoxu, Li <lizaoxu@huawei.com>
@ -4,7 +4,7 @@
|
|||||||
<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>
|
<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__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>
|
<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__b1597315286">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>
|
<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__b1382993323">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>
|
<div>
|
||||||
<div class="familylinks">
|
<div class="familylinks">
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
<h1 class="topictitle1">Enabling an AS Group</h1>
|
<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 capacity in or out.</p>
|
<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 capacity in or out.</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>
|
<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> > <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>
|
<ul id="as_01_0104__ul144791150104313"><li id="as_01_0104__li5399161884617">Only AS groups in the <strong id="as_01_0104__b83921353154918">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> > <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>
|
||||||
<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 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>
|
||||||
<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__b24424416">Forcibly Enable AS Group</strong> dialog box, click <strong id="as_01_0104__b444606405">Yes</strong>.</li></ol>
|
<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__b2034192016">Forcibly Enable AS Group</strong> dialog box, click <strong id="as_01_0104__b1375125359">Yes</strong>.</li></ol>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<a name="as_01_0106"></a><a name="as_01_0106"></a>
|
<a name="as_01_0106"></a><a name="as_01_0106"></a>
|
||||||
|
|
||||||
<h1 class="topictitle1">Modifying an AS Group</h1>
|
<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 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__b1999515551016">Enterprise project</strong>, <strong id="as_01_0106__b2995175561014">Instance Removal Policy</strong>, <strong id="as_01_0106__b1899685512101">EIP</strong>, <strong id="as_01_0106__b5996105519103">Notification Mode</strong>, and <strong id="as_01_0106__b6994105519104">Health Check Interval</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 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>
|
</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>
|
<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>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<a name="as_01_0107"></a><a name="as_01_0107"></a>
|
<a name="as_01_0107"></a><a name="as_01_0107"></a>
|
||||||
|
|
||||||
<h1 class="topictitle1">Deleting an AS Group</h1>
|
<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>
|
<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 needed.</p>
|
||||||
<ul id="as_01_0107__ul2057894611142"><li id="as_01_0107__li5099279111142">If an AS group is not required during a specified period, 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 on those AS policies will be automatically deleted.</li></ul>
|
<ul id="as_01_0107__ul2057894611142"><li id="as_01_0107__li5099279111142">If an AS group is not required during a specified period, 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 on those AS policies will be automatically deleted.</li></ul>
|
||||||
</div>
|
</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> > <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 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> > <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>
|
||||||
|
@ -6,9 +6,9 @@
|
|||||||
<ul class="ullinks">
|
<ul class="ullinks">
|
||||||
<li class="ulchildlink"><strong><a href="en-us_topic_0042018362.html">Creating an AS Configuration</a></strong><br>
|
<li class="ulchildlink"><strong><a href="en-us_topic_0042018362.html">Creating an AS Configuration</a></strong><br>
|
||||||
</li>
|
</li>
|
||||||
<li class="ulchildlink"><strong><a href="as_02_0102.html">Creating an AS Configuration from an Existing ECS Instance</a></strong><br>
|
<li class="ulchildlink"><strong><a href="as_02_0102.html">Creating an AS Configuration from an Existing ECS</a></strong><br>
|
||||||
</li>
|
</li>
|
||||||
<li class="ulchildlink"><strong><a href="as_02_0103.html">Creating an AS Configuration from a New Specifications Template</a></strong><br>
|
<li class="ulchildlink"><strong><a href="as_02_0103.html">Creating an AS Configuration from Scratch</a></strong><br>
|
||||||
</li>
|
</li>
|
||||||
<li class="ulchildlink"><strong><a href="as_02_0104.html">Copying an AS Configuration</a></strong><br>
|
<li class="ulchildlink"><strong><a href="as_02_0104.html">Copying an AS Configuration</a></strong><br>
|
||||||
</li>
|
</li>
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
<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>
|
<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>
|
<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__i121788205573"></em><em id="as_02_0101__i45342717187"></em><em id="as_02_0101__i178102211755"></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>
|
<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__i121788205573"></em><em id="as_02_0101__i45342717187"></em><em id="as_02_0101__i178102211755"></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__b1830268781">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__i1438597314">Elastic Cloud Server User Guide</em><em id="as_02_0101__i18385573116"></em><em id="as_02_0101__i8385197917"></em><em id="as_02_0101__i138512720111"></em><em id="as_02_0101__i33851873111"></em><em id="as_02_0101__i18385271212"></em><em id="as_02_0101__i438597111"></em><em id="as_02_0101__i14385376111"></em><em id="as_02_0101__i93851579119"></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__i5204174518213">Virtual Private Cloud User Guide</em><em id="as_02_0101__i62052459219"></em><em id="as_02_0101__i1420512451225"></em><em id="as_02_0101__i102051745222"></em><em id="as_02_0101__i182051452216"></em><em id="as_02_0101__i12205545226"></em><em id="as_02_0101__i4205204511217"></em><em id="as_02_0101__i1720518451721"></em>. After binding the EIP, you can access the ECS from the Internet and install various environments, such as PHP and Apache.</p>
|
<div class="p" id="as_02_0101__p4774226171323"><strong id="as_02_0101__b1255787263">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__i1438597314">Elastic Cloud Server User Guide</em><em id="as_02_0101__i18385573116"></em><em id="as_02_0101__i8385197917"></em><em id="as_02_0101__i138512720111"></em><em id="as_02_0101__i33851873111"></em><em id="as_02_0101__i18385271212"></em><em id="as_02_0101__i438597111"></em><em id="as_02_0101__i14385376111"></em><em id="as_02_0101__i93851579119"></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__i5204174518213">Virtual Private Cloud User Guide</em><em id="as_02_0101__i62052459219"></em><em id="as_02_0101__i1420512451225"></em><em id="as_02_0101__i102051745222"></em><em id="as_02_0101__i182051452216"></em><em id="as_02_0101__i12205545226"></em><em id="as_02_0101__i4205204511217"></em><em id="as_02_0101__i1720518451721"></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>To learn how to deploy the Discuz! forum, see the 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><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>To learn how to deploy the Discuz! forum, see the 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>
|
</li></ol>
|
||||||
</div>
|
</div>
|
||||||
@ -19,11 +19,11 @@
|
|||||||
<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. Stop the ECS where the Discuz! forum is deployed before creating a private image. For detailed operations, see <em id="as_02_0101__i1822471117516">Elastic Cloud Server User Guide</em><em id="as_02_0101__i62241811353"></em><em id="as_02_0101__i922413111353"></em><em id="as_02_0101__i172245111519"></em><em id="as_02_0101__i72252112516"></em><em id="as_02_0101__i1722514118518"></em><em id="as_02_0101__i1022510112054"></em><em id="as_02_0101__i922517111955"></em>.</li><li id="as_02_0101__li55478818174845">Use the ECS to create a private image. For details, see <em id="as_02_0101__i123269241077">Image Management Service User Guide</em><em id="as_02_0101__i15326724373"></em><em id="as_02_0101__i17326324472"></em><em id="as_02_0101__i10326172417713"></em><em id="as_02_0101__i183268248715"></em><em id="as_02_0101__i632615245715"></em><em id="as_02_0101__i3326102419718"></em><em id="as_02_0101__i932672417711"></em>.</li></ol>
|
<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. Stop the ECS where the Discuz! forum is deployed before creating a private image. For detailed operations, see <em id="as_02_0101__i1822471117516">Elastic Cloud Server User Guide</em><em id="as_02_0101__i62241811353"></em><em id="as_02_0101__i922413111353"></em><em id="as_02_0101__i172245111519"></em><em id="as_02_0101__i72252112516"></em><em id="as_02_0101__i1722514118518"></em><em id="as_02_0101__i1022510112054"></em><em id="as_02_0101__i922517111955"></em>.</li><li id="as_02_0101__li55478818174845">Use the ECS to create a private image. For details, see <em id="as_02_0101__i123269241077">Image Management Service User Guide</em><em id="as_02_0101__i15326724373"></em><em id="as_02_0101__i17326324472"></em><em id="as_02_0101__i10326172417713"></em><em id="as_02_0101__i183268248715"></em><em id="as_02_0101__i632615245715"></em><em id="as_02_0101__i3326102419718"></em><em id="as_02_0101__i932672417711"></em>.</li></ol>
|
||||||
</div>
|
</div>
|
||||||
<p id="as_02_0101__p3087634317548"><strong id="as_02_0101__b84235270618577">Create an AS group.</strong></p>
|
<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__p12431791114137">An AS group is a collection of ECS instances with the same 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__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__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__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__p516457351806">For instructions about how to create an AS configuration, see <a href="as_02_0103.html">Creating an AS Configuration from Scratch</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__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 for this ECS so that it will not be automatically removed from the AS group.</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 for 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__p82627518240"><strong id="as_02_0101__b842352706185755">Create an AS policy.</strong></p>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<a name="as_02_0102"></a><a name="as_02_0102"></a>
|
<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>
|
<h1 class="topictitle1">Creating an AS Configuration from an Existing ECS</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 ECS type, vCPUs, memory, image, and disk settings (including size, type, encryption, and key) in the AS configuration are the same as those of the selected instance by default.</p>
|
<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 ECS type, vCPUs, memory, image, and disk settings (including size, encryption, key and type) in the AS configuration are the same as those of the selected instance by default.</p>
|
||||||
</div>
|
</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="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>
|
<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>
|
||||||
@ -16,14 +16,14 @@
|
|||||||
</td>
|
</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 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>
|
||||||
<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 class="cellrowborder" valign="top" width="19.31%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0102__p4153191417231">-</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</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>
|
<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>
|
||||||
<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 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>
|
||||||
<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 class="cellrowborder" valign="top" width="19.31%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0102__p29589843161325">-</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</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>
|
<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>
|
||||||
@ -51,7 +51,7 @@
|
|||||||
<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 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>
|
</div></div>
|
||||||
</td>
|
</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 class="cellrowborder" valign="top" width="19.31%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0102__p47920438">-</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</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>
|
<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>
|
||||||
@ -59,19 +59,19 @@
|
|||||||
<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>
|
<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>
|
<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>
|
||||||
<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 class="cellrowborder" valign="top" width="19.31%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0102__p15189715173120">-</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</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>
|
<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>
|
||||||
<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>
|
<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 upon 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__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>
|
<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>
|
<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. <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>
|
</div></div>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
</td>
|
</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">N/A</p>
|
<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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<a name="as_02_0103"></a><a name="as_02_0103"></a>
|
<a name="as_02_0103"></a><a name="as_02_0103"></a>
|
||||||
|
|
||||||
<h1 class="topictitle1">Creating an AS Configuration from a New Specifications Template</h1>
|
<h1 class="topictitle1">Creating an AS Configuration from Scratch</h1>
|
||||||
<div id="body63676932"><div class="section" id="as_02_0103__section2495449014355"><h4 class="sectiontitle">Scenarios</h4><p id="as_02_0103__p5110354492325">If you have special requirements on the ECS instances for resource expansion, use a new specifications template to create the AS configuration. In such a case, ECS instances that have the specifications specified in the template will be added to the AS group in scaling actions.</p>
|
<div id="body63676932"><div class="section" id="as_02_0103__section2495449014355"><h4 class="sectiontitle">Scenarios</h4><p id="as_02_0103__p5110354492325">If you have special requirements on the ECS instances for resource expansion, use a new specifications template to create the AS configuration. In such a case, ECS instances that have the specifications specified in the template will be added to the AS group in scaling actions.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="as_02_0103__section1657416306249"><h4 class="sectiontitle">Procedure</h4><ol id="as_02_0103__ol4404497145822"><li id="as_02_0103__en-us_topic_0118498861_l67f1c4bb070b4f3d9b83021e83da345b">Log in to the management console.</li><li id="as_02_0103__li5914166211049">Click <span><img id="as_02_0103__image196051642585" src="en-us_image_0210485079.png"></span> in the upper left corner to select a region and a project.</li><li id="as_02_0103__li16863440279">Under <strong id="as_02_0103__b1417752261313">Computing</strong>, click <strong id="as_02_0103__b1217952281320">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_02_0103__b4180822151311">Instance Scaling</strong>.</li><li id="as_02_0103__li13588943145822">Click <strong id="as_02_0103__b998711613593">Create AS Configuration</strong>.</li><li id="as_02_0103__li5781768145822">Set the parameters for the AS configuration. <a href="#as_02_0103__table52838201145822">Table 1</a> lists the AS configuration parameters.
|
<div class="section" id="as_02_0103__section1657416306249"><h4 class="sectiontitle">Procedure</h4><ol id="as_02_0103__ol4404497145822"><li id="as_02_0103__en-us_topic_0118498861_l67f1c4bb070b4f3d9b83021e83da345b">Log in to the management console.</li><li id="as_02_0103__li5914166211049">Click <span><img id="as_02_0103__image196051642585" src="en-us_image_0210485079.png"></span> in the upper left corner to select a region and a project.</li><li id="as_02_0103__li16863440279">Under <strong id="as_02_0103__b1417752261313">Computing</strong>, click <strong id="as_02_0103__b1217952281320">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_02_0103__b4180822151311">Instance Scaling</strong>.</li><li id="as_02_0103__li13588943145822">Click <strong id="as_02_0103__b998711613593">Create AS Configuration</strong>.</li><li id="as_02_0103__li5781768145822">Set the parameters for the AS configuration. <a href="#as_02_0103__table52838201145822">Table 1</a> lists the AS configuration parameters.
|
||||||
@ -23,7 +23,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="55.480000000000004%" headers="mcps1.3.2.2.5.2.2.4.1.2 "><p id="as_02_0103__p60847510145822">Specifies the name of the AS configuration to be created.</p>
|
<td class="cellrowborder" valign="top" width="55.480000000000004%" headers="mcps1.3.2.2.5.2.2.4.1.2 "><p id="as_02_0103__p60847510145822">Specifies the name of the AS configuration to be created.</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="25.120000000000005%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0103__p29701303145822">N/A</p>
|
<td class="cellrowborder" valign="top" width="25.120000000000005%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0103__p29701303145822">-</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="as_02_0103__row59477353145822"><td class="cellrowborder" valign="top" width="19.400000000000002%" headers="mcps1.3.2.2.5.2.2.4.1.1 "><p id="as_02_0103__p43196386145822">Configuration Template</p>
|
<tr id="as_02_0103__row59477353145822"><td class="cellrowborder" valign="top" width="19.400000000000002%" headers="mcps1.3.2.2.5.2.2.4.1.1 "><p id="as_02_0103__p43196386145822">Configuration Template</p>
|
||||||
@ -40,12 +40,12 @@
|
|||||||
<p id="as_02_0103__p61271243145822">For more information, see <em id="as_02_0103__i1188914381914"></em><em id="as_02_0103__i58891634190"></em><em id="as_02_0103__i388933101913">Elastic Cloud Server User Guide</em><em id="as_02_0103__i1188916315199"></em><em id="as_02_0103__i161582321614"></em><em id="as_02_0103__i16889173171910"></em><em id="as_02_0103__i139291302323"></em>.</p>
|
<p id="as_02_0103__p61271243145822">For more information, see <em id="as_02_0103__i1188914381914"></em><em id="as_02_0103__i58891634190"></em><em id="as_02_0103__i388933101913">Elastic Cloud Server User Guide</em><em id="as_02_0103__i1188916315199"></em><em id="as_02_0103__i161582321614"></em><em id="as_02_0103__i16889173171910"></em><em id="as_02_0103__i139291302323"></em>.</p>
|
||||||
<p id="as_02_0103__p14570276145822">Configure the ECS specifications, including vCPUs, memory, image type, and disk, according to the ECS type.</p>
|
<p id="as_02_0103__p14570276145822">Configure the ECS specifications, including vCPUs, memory, image type, and disk, according to the ECS type.</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="25.120000000000005%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0103__p39341736145822">Memory-optimized ECS</p>
|
<td class="cellrowborder" valign="top" width="25.120000000000005%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0103__p39341736145822">Memory-optimized</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="as_02_0103__row13585817145822"><td class="cellrowborder" valign="top" width="19.400000000000002%" headers="mcps1.3.2.2.5.2.2.4.1.1 "><p id="as_02_0103__p6905151611150">Image</p>
|
<tr id="as_02_0103__row13585817145822"><td class="cellrowborder" valign="top" width="19.400000000000002%" headers="mcps1.3.2.2.5.2.2.4.1.1 "><p id="as_02_0103__p6905151611150">Image</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="55.480000000000004%" headers="mcps1.3.2.2.5.2.2.4.1.2 "><ul id="as_02_0103__ul19190643145822"><li id="as_02_0103__li45209134145822">Public image<p id="as_02_0103__p49762479145822"><a name="as_02_0103__li45209134145822"></a><a name="li45209134145822"></a>A public image is a standard, widely used image. It contains an OS and preinstalled public applications and is available to all users. You can configure the applications or software in the public image as needed.</p>
|
<td class="cellrowborder" valign="top" width="55.480000000000004%" headers="mcps1.3.2.2.5.2.2.4.1.2 "><ul id="as_02_0103__ul19190643145822"><li id="as_02_0103__li45209134145822">Public image<p id="as_02_0103__p49762479145822"><a name="as_02_0103__li45209134145822"></a><a name="li45209134145822"></a>A public image is a standard, widely used image. It contains an OS and preinstalled public applications and is available to all users. If a public image does not contain the applications or software you need, you can use the public image to create a cloud server and then deploy required software as needed.</p>
|
||||||
</li><li id="as_02_0103__li33995008145822">Private image<p id="as_02_0103__p4229026145822"><a name="as_02_0103__li33995008145822"></a><a name="li33995008145822"></a>A private image is an image available only to the user who created it. It contains an OS, preinstalled public applications, and the user's private applications. Using a private image to create ECSs frees you from configuring multiple ECSs repeatedly.</p>
|
</li><li id="as_02_0103__li33995008145822">Private image<p id="as_02_0103__p4229026145822"><a name="as_02_0103__li33995008145822"></a><a name="li33995008145822"></a>A private image is an image available only to the user who created it. It contains an OS, preinstalled public applications, and the user's private applications. Using a private image to create ECSs frees you from configuring multiple ECSs repeatedly.</p>
|
||||||
<div class="note" id="as_02_0103__note18690304145822"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="as_02_0103__p38061236145822">If you select an encrypted image, you must grant key management system (KMS) access rights to EVS. Otherwise, encryption cannot be used. If you have rights granting permission, grant the KMS access rights to EVS. If you do not have the permission, contact the user having the security administrator rights to grant the KMS access rights. For details, see <em id="as_02_0103__i1976236060153736">Identity and Access Management User Guide</em>.</p>
|
<div class="note" id="as_02_0103__note18690304145822"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="as_02_0103__p38061236145822">If you select an encrypted image, you must grant key management system (KMS) access rights to EVS. Otherwise, encryption cannot be used. If you have rights granting permission, grant the KMS access rights to EVS. If you do not have the permission, contact the user having the security administrator rights to grant the KMS access rights. For details, see <em id="as_02_0103__i1976236060153736">Identity and Access Management User Guide</em>.</p>
|
||||||
<ul id="as_02_0103__ul7687284145822"><li id="as_02_0103__li7006805145822"><strong id="as_02_0103__b842352706124911">Encrypted</strong>: indicates that the image has been encrypted.</li><li id="as_02_0103__li63061246145822"><strong id="as_02_0103__b842352706124926">KMS Key Name</strong>: specifies the name of the key used by the encrypted image. By default, the name is <strong id="as_02_0103__b2061600687153535">ims/default</strong>.</li><li id="as_02_0103__li30680304145822"><strong id="as_02_0103__b84235270612501">Xrole Name: EVSAccessKMS</strong>: indicates that EVS has obtained the KMS access rights.</li></ul>
|
<ul id="as_02_0103__ul7687284145822"><li id="as_02_0103__li7006805145822"><strong id="as_02_0103__b842352706124911">Encrypted</strong>: indicates that the image has been encrypted.</li><li id="as_02_0103__li63061246145822"><strong id="as_02_0103__b842352706124926">KMS Key Name</strong>: specifies the name of the key used by the encrypted image. By default, the name is <strong id="as_02_0103__b2061600687153535">ims/default</strong>.</li><li id="as_02_0103__li30680304145822"><strong id="as_02_0103__b84235270612501">Xrole Name: EVSAccessKMS</strong>: indicates that EVS has obtained the KMS access rights.</li></ul>
|
||||||
@ -77,8 +77,8 @@
|
|||||||
</li></ul>
|
</li></ul>
|
||||||
</div>
|
</div>
|
||||||
<ul id="as_02_0103__ul11528273145822"><li id="as_02_0103__li16194000145822"><strong id="as_02_0103__b1914510113816">Data Disk</strong><p id="as_02_0103__p2766165812449">You can create multiple data disks for an ECS instance and encrypt them. In addition, you can specify a data disk image for exporting data.</p>
|
<ul id="as_02_0103__ul11528273145822"><li id="as_02_0103__li16194000145822"><strong id="as_02_0103__b1914510113816">Data Disk</strong><p id="as_02_0103__p2766165812449">You can create multiple data disks for an ECS instance and encrypt them. In addition, you can specify a data disk image for exporting data.</p>
|
||||||
<p id="as_02_0103__p55343398145822">When encrypting a data disk, select <strong id="as_02_0103__b842352706154539">Encryption</strong> for it. KMS access rights must be granted to EVS for using the encryption feature. If you have rights granting permission, grant the KMS access rights to EVS. If you do not have the permission, contact the user having the security administrator rights to grant the KMS access rights. For details, see <em id="as_02_0103__i894359783">Identity and Access Management User Guide</em>.</p>
|
<p id="as_02_0103__p55343398145822">When encrypting a data disk, select <strong id="as_02_0103__b842352706154539">Encryption</strong> for it. KMS access rights must be granted to EVS for using the encryption feature. If you have rights granting permission, grant the KMS access rights to EVS. If you do not have the permission, contact the user having the security administrator rights to grant the KMS access rights. For details, see <em id="as_02_0103__i198371534">Identity and Access Management User Guide</em>.</p>
|
||||||
<ul id="as_02_0103__ul49081691145822"><li id="as_02_0103__li28328536145822"><strong id="as_02_0103__b1121191229">Xrole Name: EVSAccessKMS</strong>: indicates that EVS has obtained the KMS access rights.</li><li id="as_02_0103__li53630234145822"><strong id="as_02_0103__b2027478093">KMS Key Name</strong>: specifies the name of the key used by the encrypted data disk. By default, the name is <strong id="as_02_0103__b877168901">evs/default</strong>.</li><li id="as_02_0103__li12910061145822"><strong id="as_02_0103__b842352706155046">KMS Key ID</strong>: specifies the ID of the key used by the encrypted data disk.</li></ul>
|
<ul id="as_02_0103__ul49081691145822"><li id="as_02_0103__li28328536145822"><strong id="as_02_0103__b949252593">Xrole Name: EVSAccessKMS</strong>: indicates that EVS has obtained the KMS access rights.</li><li id="as_02_0103__li53630234145822"><strong id="as_02_0103__b172683546">KMS Key Name</strong>: specifies the name of the key used by the encrypted data disk. By default, the name is <strong id="as_02_0103__b1031029237">evs/default</strong>.</li><li id="as_02_0103__li12910061145822"><strong id="as_02_0103__b842352706155046">KMS Key ID</strong>: specifies the ID of the key used by the encrypted data disk.</li></ul>
|
||||||
<p id="as_02_0103__p39082035145822">For more information about EVS disk encryption, see <em id="as_02_0103__i842352697115514">Elastic Volume Service User Guide</em>.</p>
|
<p id="as_02_0103__p39082035145822">For more information about EVS disk encryption, see <em id="as_02_0103__i842352697115514">Elastic Volume Service User Guide</em>.</p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
</td>
|
</td>
|
||||||
@ -89,14 +89,14 @@
|
|||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="55.480000000000004%" headers="mcps1.3.2.2.5.2.2.4.1.2 "><p id="as_02_0103__p209231547193913">Controls ECS access within or between security groups by defining access rules. ECSs added to a security group are protected by the access rules you define.</p>
|
<td class="cellrowborder" valign="top" width="55.480000000000004%" headers="mcps1.3.2.2.5.2.2.4.1.2 "><p id="as_02_0103__p209231547193913">Controls ECS access within or between security groups by defining access rules. ECSs added to a security group are protected by the access rules you define.</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="25.120000000000005%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0103__p1746103353914">N/A</p>
|
<td class="cellrowborder" valign="top" width="25.120000000000005%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0103__p1746103353914">-</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="as_02_0103__row9178779145822"><td class="cellrowborder" valign="top" width="19.400000000000002%" headers="mcps1.3.2.2.5.2.2.4.1.1 "><p id="as_02_0103__p108218336525">EIP</p>
|
<tr id="as_02_0103__row9178779145822"><td class="cellrowborder" valign="top" width="19.400000000000002%" headers="mcps1.3.2.2.5.2.2.4.1.1 "><p id="as_02_0103__p108218336525">EIP</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="55.480000000000004%" headers="mcps1.3.2.2.5.2.2.4.1.2 "><p id="as_02_0103__p50083153145822">An EIP is a static public IP address bound to an ECS in a VPC. Using the EIP, the ECS provides services externally.</p>
|
<td class="cellrowborder" valign="top" width="55.480000000000004%" headers="mcps1.3.2.2.5.2.2.4.1.2 "><p id="as_02_0103__p50083153145822">An EIP is a static public IP address bound to an ECS in a VPC. Using the EIP, the ECS provides services externally.</p>
|
||||||
<p id="as_02_0103__p48095200145822">The following options are provided:</p>
|
<p id="as_02_0103__p48095200145822">The following options are provided:</p>
|
||||||
<ul id="as_02_0103__ul30574237145822"><li id="as_02_0103__li30203621145822"><strong id="as_02_0103__b109070192042">Do not use</strong>: 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.</li><li id="as_02_0103__li1792184214559"><strong id="as_02_0103__b65370391183">Automatically assign</strong>: An EIP with a dedicated bandwidth is automatically assigned to each ECS. You can set the bandwidth size. If you select <strong id="as_02_0103__b3484144012210">Automatically assign</strong>, you need to specify <strong id="as_02_0103__b448704012224">EIP Type</strong>, <strong id="as_02_0103__b15490174072215">Billed By</strong>, and <strong id="as_02_0103__b1449254017222">Bandwidth</strong>.</li></ul>
|
<ul id="as_02_0103__ul30574237145822"><li id="as_02_0103__li30203621145822"><strong id="as_02_0103__b109070192042">Do not use</strong>: 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.</li><li id="as_02_0103__li1792184214559"><strong id="as_02_0103__b65370391183">Automatically assign</strong>: An EIP with a dedicated bandwidth is automatically assigned to each ECS. You can set the bandwidth size.</li></ul>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="25.120000000000005%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0103__p60594146145822">Automatically assign</p>
|
<td class="cellrowborder" valign="top" width="25.120000000000005%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0103__p60594146145822">Automatically assign</p>
|
||||||
</td>
|
</td>
|
||||||
@ -107,27 +107,27 @@
|
|||||||
<div class="note" id="as_02_0103__note4444705145822"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="as_02_0103__p30320017145822">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 class="note" id="as_02_0103__note4444705145822"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="as_02_0103__p30320017145822">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>
|
</div></div>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="25.120000000000005%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0103__p24476844145822">N/A</p>
|
<td class="cellrowborder" valign="top" width="25.120000000000005%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0103__p24476844145822">-</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="as_02_0103__row169972316201"><td class="cellrowborder" valign="top" width="19.400000000000002%" headers="mcps1.3.2.2.5.2.2.4.1.1 "><p id="as_02_0103__p199981314203">Advanced Settings</p>
|
<tr id="as_02_0103__row169972316201"><td class="cellrowborder" valign="top" width="19.400000000000002%" headers="mcps1.3.2.2.5.2.2.4.1.1 "><p id="as_02_0103__p199981314203">Advanced Settings</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="55.480000000000004%" headers="mcps1.3.2.2.5.2.2.4.1.2 "><p id="as_02_0103__p12120173110500">This parameter allows you to configure <strong id="as_02_0103__b97191811955">User Data</strong>.</p>
|
<td class="cellrowborder" valign="top" width="55.480000000000004%" headers="mcps1.3.2.2.5.2.2.4.1.2 "><p id="as_02_0103__p12120173110500">This allows you to configure <strong id="as_02_0103__b97191811955">User Data</strong>.</p>
|
||||||
<p id="as_02_0103__p152801338145112">You can select <strong id="as_02_0103__b3974104514363">Do not configure</strong> or <strong id="as_02_0103__b797514458361">Configure now</strong>.</p>
|
<p id="as_02_0103__p152801338145112">You can select <strong id="as_02_0103__b3974104514363">Do not configure</strong> or <strong id="as_02_0103__b797514458361">Configure now</strong>.</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="25.120000000000005%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0103__p11998123172016">N/A</p>
|
<td class="cellrowborder" valign="top" width="25.120000000000005%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0103__p11998123172016">-</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="as_02_0103__row94071752092"><td class="cellrowborder" valign="top" width="19.400000000000002%" headers="mcps1.3.2.2.5.2.2.4.1.1 "><p id="as_02_0103__p18537848162213">User Data</p>
|
<tr id="as_02_0103__row94071752092"><td class="cellrowborder" valign="top" width="19.400000000000002%" headers="mcps1.3.2.2.5.2.2.4.1.1 "><p id="as_02_0103__p18537848162213">User Data</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="55.480000000000004%" headers="mcps1.3.2.2.5.2.2.4.1.2 "><p id="as_02_0103__p65371748192215">Enables an ECS to automatically inject user data when the ECS starts for the first time. This configuration is optional. After this function is enabled, the ECS automatically injects user data during its first startup.</p>
|
<td class="cellrowborder" valign="top" width="55.480000000000004%" headers="mcps1.3.2.2.5.2.2.4.1.2 "><p id="as_02_0103__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 upon its first startup.</p>
|
||||||
<p id="as_02_0103__p1263166165110">For details, see <em id="as_02_0103__i10667231174316"><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_0103__p1263166165110">For details, see <em id="as_02_0103__i10667231174316"><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_0103__p163635436250">The following methods are available:</p>
|
<p id="as_02_0103__p163635436250">The following methods are available:</p>
|
||||||
<ul id="as_02_0103__ul169841562611"><li id="as_02_0103__li18698131562611"><strong id="as_02_0103__b333671135918">As text</strong>: allows you to enter the user data in the text box below.</li><li id="as_02_0103__li4974152942618"><strong id="as_02_0103__b17676212592">As file</strong>: allows you to inject script files or other files when you create an ECS. <div class="note" id="as_02_0103__note41349835811"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="as_02_0103__ul1913519814582"><li id="as_02_0103__li313510813581">For Linux, if you use password authentication, this function is not supported.</li><li id="as_02_0103__li1313516812584">If the selected image does not support user data injection, this function is not supported.</li></ul>
|
<ul id="as_02_0103__ul169841562611"><li id="as_02_0103__li18698131562611"><strong id="as_02_0103__b333671135918">As text</strong>: allows you to enter the user data in the text box below.</li><li id="as_02_0103__li4974152942618"><strong id="as_02_0103__b17676212592">As file</strong>: allows you to inject script files or other files when you create an ECS. <div class="note" id="as_02_0103__note41349835811"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="as_02_0103__ul1913519814582"><li id="as_02_0103__li313510813581">For Linux, if you use password authentication, this function is not supported.</li><li id="as_02_0103__li1313516812584">If the selected image does not support user data injection, this function is not supported.</li></ul>
|
||||||
</div></div>
|
</div></div>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="25.120000000000005%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0103__p95377487227">N/A</p>
|
<td class="cellrowborder" valign="top" width="25.120000000000005%" headers="mcps1.3.2.2.5.2.2.4.1.3 "><p id="as_02_0103__p95377487227">-</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<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>
|
<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>
|
<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>
|
||||||
<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 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>, and configure the ECS login mode (key pair) based on service requirements.</li><li id="as_02_0104__li15816986">Click <strong id="as_02_0104__b938697450172559">OK</strong>.</li></ol>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
<a name="as_03_0102"></a><a name="as_03_0102"></a>
|
<a name="as_03_0102"></a><a name="as_03_0102"></a>
|
||||||
|
|
||||||
<h1 class="topictitle1">Creating an AS Policy</h1>
|
<h1 class="topictitle1">Creating an AS Policy</h1>
|
||||||
<div id="body1548143445104"><div class="section" id="as_03_0102__section2495449014355"><h4 class="sectiontitle">Scenarios</h4><p id="as_03_0102__p8060118">You can manage instances in an AS group through AS policies. This section describes how to create an AS policy.</p>
|
<div id="body1548143445104"><div class="section" id="as_03_0102__section2495449014355"><h4 class="sectiontitle">Scenarios</h4><p id="as_03_0102__p44131191592">You can create different types of AS policies. In an AS policy, you can define the conditions for triggering a scaling action and what operation to be performed. When the conditions are met, AS automatically triggers a scaling action to adjust the number of instances in the AS group.</p>
|
||||||
|
<p id="as_03_0102__p1332175915916">This section describes how to create alarm-based, scheduled, or periodic AS policy for an AS group.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="as_03_0102__section28492877113953"><h4 class="sectiontitle">Creating an Alarm Policy</h4><ol id="as_03_0102__ol62220677"><li id="as_03_0102__en-us_topic_0118498861_l67f1c4bb070b4f3d9b83021e83da345b">Log in to the management console.</li></ol><ol start="2" id="as_03_0102__ol4757637585112"><li id="as_03_0102__li5914166211049">Click <span><img id="as_03_0102__image1451516261459" src="en-us_image_0210485079.png"></span> in the upper left corner to select a region and a project.</li><li id="as_03_0102__li139251229183015">Under <strong id="as_03_0102__b1154116537263">Computing</strong>, click <strong id="as_03_0102__b155315372615">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_03_0102__b3554453132613">Instance Scaling</strong>.</li><li id="as_03_0102__li3783188785112">Locate the row containing the target AS group and click <strong id="as_03_0102__b31654637192252">View AS Policy</strong> in the <strong id="as_03_0102__b16456283192252">Operation</strong> column.</li><li id="as_03_0102__li494266385112">On the <strong id="as_03_0102__b1970315231919">AS Policies</strong> page, click <strong id="as_03_0102__b1338710525475">Add AS Policy</strong>.</li><li id="as_03_0102__li17918738115940">Set the parameters listed in <a href="#as_03_0102__table442371481205">Table 1</a>.
|
<div class="section" id="as_03_0102__section28492877113953"><h4 class="sectiontitle">Creating an Alarm Policy</h4><ol id="as_03_0102__ol62220677"><li id="as_03_0102__en-us_topic_0118498861_l67f1c4bb070b4f3d9b83021e83da345b">Log in to the management console.</li></ol><ol start="2" id="as_03_0102__ol4757637585112"><li id="as_03_0102__li5914166211049">Click <span><img id="as_03_0102__image1451516261459" src="en-us_image_0210485079.png"></span> in the upper left corner to select a region and a project.</li><li id="as_03_0102__li139251229183015">Under <strong id="as_03_0102__b1154116537263">Computing</strong>, click <strong id="as_03_0102__b155315372615">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_03_0102__b3554453132613">Instance Scaling</strong>.</li><li id="as_03_0102__li3783188785112">Locate the row containing the target AS group and click <strong id="as_03_0102__b31654637192252">View AS Policy</strong> in the <strong id="as_03_0102__b16456283192252">Operation</strong> column.</li><li id="as_03_0102__li494266385112">On the <strong id="as_03_0102__b1970315231919">AS Policies</strong> page, click <strong id="as_03_0102__b1338710525475">Add AS Policy</strong>.</li><li id="as_03_0102__li17918738115940">Set the parameters listed in <a href="#as_03_0102__table442371481205">Table 1</a>.
|
||||||
<div class="tablenoborder"><a name="as_03_0102__table442371481205"></a><a name="table442371481205"></a><table cellpadding="4" cellspacing="0" summary="" id="as_03_0102__table442371481205" frame="border" border="1" rules="all"><caption><b>Table 1 </b>AS policy parameters</caption><thead align="left"><tr id="as_03_0102__row577295371205"><th align="left" class="cellrowborder" valign="top" width="22.81%" id="mcps1.3.2.3.5.2.2.4.1.1"><p id="as_03_0102__p75748481205">Parameter</p>
|
<div class="tablenoborder"><a name="as_03_0102__table442371481205"></a><a name="table442371481205"></a><table cellpadding="4" cellspacing="0" summary="" id="as_03_0102__table442371481205" frame="border" border="1" rules="all"><caption><b>Table 1 </b>AS policy parameters</caption><thead align="left"><tr id="as_03_0102__row577295371205"><th align="left" class="cellrowborder" valign="top" width="22.81%" id="mcps1.3.2.3.5.2.2.4.1.1"><p id="as_03_0102__p75748481205">Parameter</p>
|
||||||
@ -28,11 +29,11 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr id="as_03_0102__row84666261205"><td class="cellrowborder" valign="top" width="22.81%" headers="mcps1.3.2.3.5.2.2.4.1.1 "><p id="as_03_0102__p147080751205">Alarm Rule</p>
|
<tr id="as_03_0102__row84666261205"><td class="cellrowborder" valign="top" width="22.81%" headers="mcps1.3.2.3.5.2.2.4.1.1 "><p id="as_03_0102__p147080751205">Alarm Rule</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="43.480000000000004%" headers="mcps1.3.2.3.5.2.2.4.1.2 "><p id="as_03_0102__p505033881205">Specifies whether a new alarm rule is to be created (<strong id="as_03_0102__b16955153314166">Create</strong>) or an existing alarm rule will be used (<strong id="as_03_0102__b99568335160">Use existing</strong>).</p>
|
<td class="cellrowborder" valign="top" width="43.480000000000004%" headers="mcps1.3.2.3.5.2.2.4.1.2 "><p id="as_03_0102__p505033881205">You can use an existing alarm rule or create a new one.</p>
|
||||||
<div class="p" id="as_03_0102__p2787840394913">To create an alarm rule, configure the following parameters:<ul id="as_03_0102__ul340997094947"><li id="as_03_0102__li2774219594947">Rule Name<p id="as_03_0102__p2649132795040"><a name="as_03_0102__li2774219594947"></a><a name="li2774219594947"></a>Specifies the name of the new alarm rule, for example, <strong id="as_03_0102__b842352706172220">as-alarm-7o1u</strong>.</p>
|
<div class="p" id="as_03_0102__p2787840394913">To create an alarm rule, configure the following parameters:<ul id="as_03_0102__ul340997094947"><li id="as_03_0102__li2774219594947">Rule Name<p id="as_03_0102__p2649132795040"><a name="as_03_0102__li2774219594947"></a><a name="li2774219594947"></a>Specifies the name of the new alarm rule, for example, <strong id="as_03_0102__b842352706172220">as-alarm-7o1u</strong>.</p>
|
||||||
</li><li id="as_03_0102__li22625889502">Trigger Condition<p id="as_03_0102__p182080359512"><a name="as_03_0102__li22625889502"></a><a name="li22625889502"></a>Specifies a monitoring metric and condition for triggering a scaling action. For example, when CPU Usage becomes higher than 70%, AS automatically triggers a scaling action.</p>
|
</li><li id="as_03_0102__li22625889502">Trigger Condition<p id="as_03_0102__p182080359512"><a name="as_03_0102__li22625889502"></a><a name="li22625889502"></a>Specifies a monitoring metric and condition for triggering a scaling action. For example, when CPU Usage becomes higher than 70%, AS automatically triggers a scaling action.</p>
|
||||||
</li><li id="as_03_0102__li2578691895017">Monitoring Interval<p id="as_03_0102__p3466834095116"><a name="as_03_0102__li2578691895017"></a><a name="li2578691895017"></a>Specifies the interval (such as five minutes) at which the alarm status is updated based on the alarm rule.</p>
|
</li><li id="as_03_0102__li2578691895017">Monitoring Interval<p id="as_03_0102__p3466834095116"><a name="as_03_0102__li2578691895017"></a><a name="li2578691895017"></a>Specifies the interval (such as five minutes) at which the alarm status is updated based on the alarm rule.</p>
|
||||||
</li><li id="as_03_0102__li4453899495026">Consecutive Occurrences<p id="as_03_0102__p4052459495128"><a name="as_03_0102__li4453899495026"></a><a name="li4453899495026"></a>Specifies the number of sampling points when an alarm is triggered. If <strong id="as_03_0102__b842352706164722">Occurrences</strong> is set to <strong id="as_03_0102__b569758072164351">n</strong>, the sampling points of the alarm rule are the sampling points in n consecutive sampling periods. Only if all the sampling points meet the threshold configured for the alarm rule will the alarm rule status be refreshed as the <strong id="as_03_0102__b412799387164351">Alarm</strong> status.</p>
|
</li><li id="as_03_0102__li4453899495026">Consecutive Occurrences<p id="as_03_0102__p4052459495128"><a name="as_03_0102__li4453899495026"></a><a name="li4453899495026"></a>Specifies the number of sampling points when an alarm is triggered. If <strong id="as_03_0102__b842352706164722">Consecutive Occurrences</strong> is set to <strong id="as_03_0102__b569758072164351">n</strong>, the sampling points of the alarm rule are the sampling points in n consecutive sampling periods. Only if all the sampling points meet the threshold configured for the alarm rule will the alarm rule status be refreshed as the <strong id="as_03_0102__b412799387164351">Alarm</strong> status.</p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
@ -56,11 +57,11 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr id="as_03_0102__row253348581205"><td class="cellrowborder" valign="top" width="22.81%" headers="mcps1.3.2.3.5.2.2.4.1.1 "><p id="as_03_0102__p388576551205">Cooldown Period</p>
|
<tr id="as_03_0102__row253348581205"><td class="cellrowborder" valign="top" width="22.81%" headers="mcps1.3.2.3.5.2.2.4.1.1 "><p id="as_03_0102__p388576551205">Cooldown Period</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="43.480000000000004%" headers="mcps1.3.2.3.5.2.2.4.1.2 "><p id="as_03_0102__p6166644141214">To prevent an alarm policy from being repeatedly invoked by the same event, you can set a cooldown period.</p>
|
<td class="cellrowborder" valign="top" width="43.480000000000004%" headers="mcps1.3.2.3.5.2.2.4.1.2 "><p id="as_03_0102__p6166644141214">To prevent an alarm-based policy from being repeatedly triggered by the same event, you can set a cooldown period.</p>
|
||||||
<p id="as_03_0102__p118187578527">A cooldown period specifies how long any alarm-triggered scaling action will be disallowed after a previous scaling action is complete.</p>
|
<p id="as_03_0102__p118187578527">A cooldown period (in seconds) is the period of time between two scaling actions. AS recounts the cooldown period after a scaling action is complete.</p>
|
||||||
<p id="as_03_0102__p21343661141258">The cooldown period does not apply to scheduled or periodic scaling actions. However, AS recounts the cooling duration after a scheduled or periodic scaling action is complete.</p>
|
<p id="as_03_0102__p19491757192214">During the cooldown period, AS denies all scaling requests triggered by alarm-based policies. Scaling requests triggered manually or by scheduled or periodic policies are not affected.</p>
|
||||||
<p id="as_03_0102__p18764141012532">For example, suppose that the cooldown period is set to 300 seconds (5 minutes), and a scheduled policy is specified to trigger a scaling action at 10:32, and a previous scaling action triggered by an alarm policy ends at 10:30. Any alarm-triggered scaling action will then be denied during the cooldown period from 10:30 to 10:35, but the scaling action scheduled for 10:32 will still take place. If the scheduled scaling action ends at 10:36, a new cooldown period starts at 10:36 and ends at 10:41.</p>
|
<p id="as_03_0102__p18764141012532">For example, suppose that the cooldown period is set to 300 seconds (5 minutes), and a scheduled policy is specified to trigger a scaling action at 10:32, and a previous scaling action triggered by an alarm policy ends at 10:30. Any alarm-triggered scaling action will then be denied during the cooldown period from 10:30 to 10:35, but the scaling action scheduled for 10:32 will still take place. If the scheduled scaling action ends at 10:36, a new cooldown period starts at 10:36 and ends at 10:41.</p>
|
||||||
<div class="note" id="as_03_0102__note57875228141258"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="as_03_0102__ul51115008141258"><li id="as_03_0102__li57381890141258">If a scaling action is triggered by an AS policy, the cooldown period is whatever configured for that AS policy.</li><li id="as_03_0102__li46674963141258">If a scaling action is triggered by manually changing the expected number of instances or by other actions, the cooldown period is whatever configured for the AS group.</li></ul>
|
<div class="note" id="as_03_0102__note57875228141258"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="as_03_0102__ul51115008141258"><li id="as_03_0102__li57381890141258">If a scaling action is triggered by an AS policy, the cooldown period is whatever configured for that AS policy.</li><li id="as_03_0102__li46674963141258">If a scaling action is triggered by manually changing the expected number of instances or by other actions, the cooldown period is whatever configured for the AS group.</li><li id="as_03_0102__li173501725152811">When an AS group scales out, scale-in requests triggered manually or by scheduled or periodic policies will be executed immediately after the scale-out is complete, without being affected by the cooldown period.</li><li id="as_03_0102__li11350172572819">When an AS group scales in, scale-out requests triggered manually or by scheduled or periodic policies will be executed immediately after the scale-in is complete, without being affected by the cooldown period.</li></ul>
|
||||||
</div></div>
|
</div></div>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="33.71%" headers="mcps1.3.2.3.5.2.2.4.1.3 "><p id="as_03_0102__p31638772">300</p>
|
<td class="cellrowborder" valign="top" width="33.71%" headers="mcps1.3.2.3.5.2.2.4.1.3 "><p id="as_03_0102__p31638772">300</p>
|
||||||
@ -69,7 +70,7 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</li><li id="as_03_0102__li21342203111444">Click <strong id="as_03_0102__b2532821161711">OK</strong>.<p id="as_03_0102__p9013280111540">The newly added AS policy is displayed on the <strong id="as_03_0102__b842352706181654">AS Policy</strong> tab. In addition, the AS policy is in <strong id="as_03_0102__b842352706181723">Enabled</strong> state by default.</p>
|
</li><li id="as_03_0102__li21342203111444">Click <strong id="as_03_0102__b2532821161711">OK</strong>.<p id="as_03_0102__p9013280111540">The newly added AS policy is displayed on the <strong id="as_03_0102__b842352706181654">AS Policies</strong> tab. In addition, the AS policy is in <strong id="as_03_0102__b842352706181723">Enabled</strong> state by default.</p>
|
||||||
</li></ol>
|
</li></ol>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="as_03_0102__section72110321079"><h4 class="sectiontitle">Creating a Scheduled or Periodic Policy</h4><ol id="as_03_0102__ol2414341458"><li id="as_03_0102__li14147411359">Log in to the management console.</li></ol><ol start="2" id="as_03_0102__ol1621511321574"><li id="as_03_0102__li7220932076">Click <span><img id="as_03_0102__image1888652915810" src="en-us_image_0210485079.png"></span> in the upper left corner to select a region and a project.</li><li id="as_03_0102__li76833718322">Under <strong id="as_03_0102__b5404484274">Computing</strong>, click <strong id="as_03_0102__b5421484272">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_03_0102__b15431548172719">Instance Scaling</strong>.</li><li id="as_03_0102__li1222815321077">Locate the row containing the target AS group and click <strong id="as_03_0102__b2035152142114">View AS Policy</strong> in the <strong id="as_03_0102__b1035552182111">Operation</strong> column.</li><li id="as_03_0102__li162327321714">On the <strong id="as_03_0102__b883314602617">AS Policies</strong> page, click <strong id="as_03_0102__b384044620267">Add AS Policy</strong>.</li><li id="as_03_0102__li1523843214714">Configure the parameters listed in <a href="#as_03_0102__table1342892013">Table 2</a>.
|
<div class="section" id="as_03_0102__section72110321079"><h4 class="sectiontitle">Creating a Scheduled or Periodic Policy</h4><ol id="as_03_0102__ol2414341458"><li id="as_03_0102__li14147411359">Log in to the management console.</li></ol><ol start="2" id="as_03_0102__ol1621511321574"><li id="as_03_0102__li7220932076">Click <span><img id="as_03_0102__image1888652915810" src="en-us_image_0210485079.png"></span> in the upper left corner to select a region and a project.</li><li id="as_03_0102__li76833718322">Under <strong id="as_03_0102__b5404484274">Computing</strong>, click <strong id="as_03_0102__b5421484272">Auto Scaling</strong>. In the navigation pane on the left, choose <strong id="as_03_0102__b15431548172719">Instance Scaling</strong>.</li><li id="as_03_0102__li1222815321077">Locate the row containing the target AS group and click <strong id="as_03_0102__b2035152142114">View AS Policy</strong> in the <strong id="as_03_0102__b1035552182111">Operation</strong> column.</li><li id="as_03_0102__li162327321714">On the <strong id="as_03_0102__b883314602617">AS Policies</strong> page, click <strong id="as_03_0102__b384044620267">Add AS Policy</strong>.</li><li id="as_03_0102__li1523843214714">Configure the parameters listed in <a href="#as_03_0102__table1342892013">Table 2</a>.
|
||||||
@ -97,7 +98,7 @@
|
|||||||
<ul id="as_03_0102__ul163381915111"><li id="as_03_0102__li203383912110">Time Range<p id="as_03_0102__p5338139916"><a name="as_03_0102__li203383912110"></a><a name="li203383912110"></a>Specifies the time range during which the AS policy can be triggered.</p>
|
<ul id="as_03_0102__ul163381915111"><li id="as_03_0102__li203383912110">Time Range<p id="as_03_0102__p5338139916"><a name="as_03_0102__li203383912110"></a><a name="li203383912110"></a>Specifies the time range during which the AS policy can be triggered.</p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.3.3.5.2.2.4.1.3 "><p id="as_03_0102__p29434348536">N/A</p>
|
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.3.3.5.2.2.4.1.3 "><p id="as_03_0102__p29434348536">-</p>
|
||||||
<p id="as_03_0102__p4431162811510"></p>
|
<p id="as_03_0102__p4431162811510"></p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -113,7 +114,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.3.3.5.2.2.4.1.2 "><p id="as_03_0102__p1733915910114">Specifies the time at which the AS policy is triggered.</p>
|
<td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.3.3.5.2.2.4.1.2 "><p id="as_03_0102__p1733915910114">Specifies the time at which the AS policy is triggered.</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.3.3.5.2.2.4.1.3 "><p id="as_03_0102__p12625813204612">N/A</p>
|
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.3.3.5.2.2.4.1.3 "><p id="as_03_0102__p12625813204612">-</p>
|
||||||
<p id="as_03_0102__p171591347134511"></p>
|
<p id="as_03_0102__p171591347134511"></p>
|
||||||
<p id="as_03_0102__p8166133944515"></p>
|
<p id="as_03_0102__p8166133944515"></p>
|
||||||
</td>
|
</td>
|
||||||
@ -135,11 +136,11 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr id="as_03_0102__row5342691114"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.3.3.5.2.2.4.1.1 "><p id="as_03_0102__p143418911111">Cooldown Period</p>
|
<tr id="as_03_0102__row5342691114"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.3.3.5.2.2.4.1.1 "><p id="as_03_0102__p143418911111">Cooldown Period</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.3.3.5.2.2.4.1.2 "><p id="as_03_0102__p163411197112">To prevent an alarm policy from being repeatedly invoked by the same event, you can set a cooldown period.</p>
|
<td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.3.3.5.2.2.4.1.2 "><p id="as_03_0102__p163411197112">To prevent an alarm-based policy from being repeatedly triggered by the same event, you can set a cooldown period.</p>
|
||||||
<p id="as_03_0102__p33411594118">Specifies how long any alarm-triggered scaling action will be disallowed after a previous scaling action is complete.</p>
|
<p id="as_03_0102__p33411594118">A cooldown period (in seconds) is the period of time between two scaling actions. AS recounts the cooldown period after a scaling action is complete.</p>
|
||||||
<p id="as_03_0102__p93411496114">The cooldown period does not apply to scheduled or periodic scaling actions. However, AS recounts the cooling duration after a scheduled or periodic scaling action is complete.</p>
|
<p id="as_03_0102__p12551108123613">During the cooldown period, AS denies all scaling requests triggered by alarm-based policies. Scaling requests triggered manually or by scheduled or periodic policies are not affected.</p>
|
||||||
<p id="as_03_0102__p6341591310">For example, suppose that the cooldown period is set to 300 seconds (5 minutes), and a scheduled policy is specified to trigger a scaling action at 10:32, and a previous scaling action triggered by an alarm policy ends at 10:30. Any alarm-triggered scaling action will then be denied during the cooldown period from 10:30 to 10:35, but the scaling action scheduled for 10:32 will still take place. If the scheduled scaling action ends at 10:36, a new cooldown period starts at 10:36 and ends at 10:41.</p>
|
<p id="as_03_0102__p6341591310">For example, suppose that the cooldown period is set to 300 seconds (5 minutes), and a scheduled policy is specified to trigger a scaling action at 10:32, and a previous scaling action triggered by an alarm policy ends at 10:30. Any alarm-triggered scaling action will then be denied during the cooldown period from 10:30 to 10:35, but the scaling action scheduled for 10:32 will still take place. If the scheduled scaling action ends at 10:36, a new cooldown period starts at 10:36 and ends at 10:41.</p>
|
||||||
<div class="note" id="as_03_0102__note1934218920115"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="as_03_0102__ul1134119913119"><li id="as_03_0102__li19341591611">If a scaling action is triggered by an AS policy, the cooldown period is whatever configured for that AS policy.</li><li id="as_03_0102__li153411091412">If a scaling action is triggered by manually changing the expected number of instances or by other actions, the cooldown period is whatever configured for the AS group.</li></ul>
|
<div class="note" id="as_03_0102__note1934218920115"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="as_03_0102__ul1134119913119"><li id="as_03_0102__li19341591611">If a scaling action is triggered by an AS policy, the cooldown period is whatever configured for that AS policy.</li><li id="as_03_0102__li153411091412">If a scaling action is triggered by manually changing the expected number of instances or by other actions, the cooldown period is whatever configured for the AS group.</li><li id="as_03_0102__li652852410366">When an AS group scales out, scale-in requests triggered manually or by scheduled or periodic policies will be executed immediately after the scale-out is complete, without being affected by the cooldown period.</li><li id="as_03_0102__li45283242364">When an AS group scales in, scale-out requests triggered manually or by scheduled or periodic policies will be executed immediately after the scale-in is complete, without being affected by the cooldown period.</li></ul>
|
||||||
</div></div>
|
</div></div>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.3.3.5.2.2.4.1.3 "><p id="as_03_0102__p183424917113">300</p>
|
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.3.3.5.2.2.4.1.3 "><p id="as_03_0102__p183424917113">300</p>
|
||||||
@ -148,7 +149,7 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</li></ol><ol start="7" id="as_03_0102__ol28193397152919"><li id="as_03_0102__li1636083214718">Click <strong id="as_03_0102__b1570856957172655">OK</strong>.<p id="as_03_0102__p2412469711411">The newly added AS policy is displayed on the <strong id="as_03_0102__b12910142182717">AS Policy</strong> tab. In addition, the AS policy is in <strong id="as_03_0102__b13911521162715">Enabled</strong> state by default.</p>
|
</li></ol><ol start="7" id="as_03_0102__ol28193397152919"><li id="as_03_0102__li1636083214718">Click <strong id="as_03_0102__b1570856957172655">OK</strong>.<p id="as_03_0102__p2412469711411">The newly added AS policy is displayed on the <strong id="as_03_0102__b12910142182717">AS Policies</strong> tab. In addition, the AS policy is in <strong id="as_03_0102__b13911521162715">Enabled</strong> state by default.</p>
|
||||||
</li></ol>
|
</li></ol>
|
||||||
<div class="note" id="as_03_0102__note1790191022217"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="as_03_0102__p2877560711390">If you have created scheduled or periodic AS policies that are invoked at the same time, AS will execute the one created later. This constraint does not apply to alarm-triggered AS policies.</p>
|
<div class="note" id="as_03_0102__note1790191022217"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="as_03_0102__p2877560711390">If you have created scheduled or periodic AS policies that are invoked at the same time, AS will execute the one created later. This constraint does not apply to alarm-triggered AS policies.</p>
|
||||||
</div></div>
|
</div></div>
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
</div>
|
</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>
|
<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>
|
<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__b109812987">View AS Policy</strong> in the <strong id="as_03_0103__b399660504">Operation</strong> column. On the displayed page, locate the row containing the target AS policy and click <strong id="as_03_0103__b43208007">Disable</strong> in the <strong id="as_03_0103__b1347491051">Operation</strong> column. To concurrently disable multiple AS policies, select these AS policies and click <strong id="as_03_0103__b308520640">Disable</strong> in the upper part of the AS policy list.</p>
|
<p id="as_03_0103__p3947119685112">Locate the row containing the target AS group and click <strong id="as_03_0103__b271407399">View AS Policy</strong> in the <strong id="as_03_0103__b1549263287">Operation</strong> column. On the displayed page, locate the row containing the target AS policy and click <strong id="as_03_0103__b29978541">Disable</strong> in the <strong id="as_03_0103__b1567507782">Operation</strong> column. To concurrently disable multiple AS policies, select these AS policies and click <strong id="as_03_0103__b110259044">Disable</strong> in the upper part of the AS policy list.</p>
|
||||||
</div>
|
</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>
|
<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>
|
<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>
|
||||||
@ -21,8 +21,8 @@
|
|||||||
</div>
|
</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>
|
<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__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__b380303454">View AS Policy</strong> in the <strong id="as_03_0103__b377774115">Operation</strong> column. On the displayed page, locate the row containing the target AS policy and choose <strong id="as_03_0103__b2122414179">More</strong> > <strong id="as_03_0103__b696555358">Delete</strong> in the <strong id="as_03_0103__b554578394">Operation</strong> column.</p>
|
<p id="as_03_0103__p142300685112">Locate the row containing the target AS group and click <strong id="as_03_0103__b32489879">View AS Policy</strong> in the <strong id="as_03_0103__b1359596195">Operation</strong> column. On the displayed page, locate the row containing the target AS policy and choose <strong id="as_03_0103__b1973143778">More</strong> > <strong id="as_03_0103__b1758550628">Delete</strong> in the <strong id="as_03_0103__b1075293041">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__b261572427">Delete</strong> in the upper part of the AS policy list.</p>
|
<p id="as_03_0103__p467171014193">To concurrently delete multiple AS policies, select these AS policies and click <strong id="as_03_0103__b76063678">Delete</strong> in the upper part of the AS policy list.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -14,6 +14,8 @@
|
|||||||
</li>
|
</li>
|
||||||
<li class="ulchildlink"><strong><a href="as_04_0105.html">Viewing a Scaling Action</a></strong><br>
|
<li class="ulchildlink"><strong><a href="as_04_0105.html">Viewing a Scaling Action</a></strong><br>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="ulchildlink"><strong><a href="en-us_topic_0042018380.html">Managing Lifecycle Hooks</a></strong><br>
|
||||||
|
</li>
|
||||||
<li class="ulchildlink"><strong><a href="as_04_0107.html">Configuring Instance Protection</a></strong><br>
|
<li class="ulchildlink"><strong><a href="as_04_0107.html">Configuring Instance Protection</a></strong><br>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -1,23 +1,69 @@
|
|||||||
<a name="as_04_0103"></a><a name="as_04_0103"></a>
|
<a name="as_04_0103"></a><a name="as_04_0103"></a>
|
||||||
|
|
||||||
<h1 class="topictitle1">Manual Scaling</h1>
|
<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 change the expected number of instances.</p>
|
<div id="body43320496"><div class="section" id="as_04_0103__section2495449014355"><h4 class="sectiontitle">Scenarios</h4><p id="as_04_0103__p63592346">You can change the size of an AS group manually. You can either add or remove instances to or from the AS group, or modify the expected number of instances of the AS group.</p>
|
||||||
</div>
|
</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 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 an instance to an AS group</strong></p>
|
||||||
|
</div>
|
||||||
|
<div class="p" id="as_04_0103__p31588946154030">Before you add an instance to an AS group, ensure that the conditions below are met.
|
||||||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_04_0103__table936164613322" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Conditions for manually adding an instance to an AS group</caption><thead align="left"><tr id="as_04_0103__row20362164616325"><th align="left" class="cellrowborder" valign="top" width="21.05%" id="mcps1.3.3.1.2.3.1.1"><p id="as_04_0103__p1362546173214">Item</p>
|
||||||
|
</th>
|
||||||
|
<th align="left" class="cellrowborder" valign="top" width="78.95%" id="mcps1.3.3.1.2.3.1.2"><p id="as_04_0103__p1362746143214">Condition</p>
|
||||||
|
</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody><tr id="as_04_0103__row11362146183213"><td class="cellrowborder" valign="top" width="21.05%" headers="mcps1.3.3.1.2.3.1.1 "><p id="as_04_0103__p136264620325">AS group</p>
|
||||||
|
</td>
|
||||||
|
<td class="cellrowborder" valign="top" width="78.95%" headers="mcps1.3.3.1.2.3.1.2 "><ul id="as_04_0103__ul116103547345"><li id="as_04_0103__li6610115433412">The AS group is in the <strong id="as_04_0103__b1720197173215">Enabled</strong> status.</li><li id="as_04_0103__li161035418349">The AS group does not have ongoing scaling actions.</li><li id="as_04_0103__li13610105414340">The number of instances to be added plus the expected number of instances cannot exceed the maximum number of instances of the AS group.</li></ul>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr id="as_04_0103__row636214617324"><td class="cellrowborder" valign="top" width="21.05%" headers="mcps1.3.3.1.2.3.1.1 "><p id="as_04_0103__p1362184612323">Instance</p>
|
||||||
|
</td>
|
||||||
|
<td class="cellrowborder" valign="top" width="78.95%" headers="mcps1.3.3.1.2.3.1.2 "><ul id="as_04_0103__ul13783457133819"><li id="as_04_0103__li10783257183811">The instance to be added is not a member of another AS group.</li><li id="as_04_0103__li15783957133813">The instance is in the same VPC as the AS group.</li></ul>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="note" id="as_04_0103__note93601186417"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="as_04_0103__ul85783528411"><li id="as_04_0103__li4578145254116">A maximum of 10 instances can be added to an AS group at a time.</li><li id="as_04_0103__li33401147578">If the AS group has an attached load balancer, the instances will be associated with the load balancer.</li></ul>
|
||||||
|
</div></div>
|
||||||
</div>
|
</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>
|
<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>
|
<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__p2122834315416"><strong id="as_04_0103__b842352706184013">Removing an instance 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__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. After the instance is removed from the AS group, it no longer processes 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__p31766219173930">For example, you can change AS configuration for an AS group at any time. New instances will be created using the new configuration, but existing instances in the AS group are not affected. To update the existing instances, you can stop them so that they can be replaced automatically. You can also remove the instances from the AS group, update them, and then add them back to the AS group.</p>
|
||||||
<p id="as_04_0103__p49035653154124">There are some restrictions on instance removal:</p>
|
<div class="p" id="as_04_0103__p49035653154124">When you remove instances from an AS group, consider the restrictions below.
|
||||||
<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>
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_04_0103__table946134716320" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Constraints on manually removing an instance from an AS group</caption><thead align="left"><tr id="as_04_0103__row1546144719311"><th align="left" class="cellrowborder" valign="top" width="21.05%" id="mcps1.3.9.1.2.3.1.1"><p id="as_04_0103__p446117477315">Item</p>
|
||||||
<p id="as_04_0103__p11869369154124">To remove an instance from an AS group, perform the following steps:</p>
|
</th>
|
||||||
<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__b1053046595">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>
|
<th align="left" class="cellrowborder" valign="top" width="78.95%" id="mcps1.3.9.1.2.3.1.2"><p id="as_04_0103__p15461347934">Constraint</p>
|
||||||
<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>
|
</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody><tr id="as_04_0103__row9461164719312"><td class="cellrowborder" valign="top" width="21.05%" headers="mcps1.3.9.1.2.3.1.1 "><p id="as_04_0103__p74611647730">AS group</p>
|
||||||
|
</td>
|
||||||
|
<td class="cellrowborder" valign="top" width="78.95%" headers="mcps1.3.9.1.2.3.1.2 "><ul id="as_04_0103__ul10461747833"><li id="as_04_0103__li046112471131">The AS group is in the <strong id="as_04_0103__b8987202751420">Enabled</strong> status.</li><li id="as_04_0103__li154614471831">The AS group does not have ongoing scaling actions.</li></ul>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr id="as_04_0103__row194616471239"><td class="cellrowborder" valign="top" width="21.05%" headers="mcps1.3.9.1.2.3.1.1 "><p id="as_04_0103__p746214710310">Instance</p>
|
||||||
|
</td>
|
||||||
|
<td class="cellrowborder" valign="top" width="78.95%" headers="mcps1.3.9.1.2.3.1.2 "><ul id="as_04_0103__ul84628470315"><li id="as_04_0103__li124625471318">The instances are in the <strong id="as_04_0103__b16315102517471">Enabled</strong> lifecycle status.</li><li id="as_04_0103__li04629471932">The instances are not used by SDRS.</li></ul>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="note" id="as_04_0103__note114141810185817"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="as_04_0103__ul151839151210"><li id="as_04_0103__li15183915720">A maximum of 50 instances can be removed from to an AS group at a time.</li><li id="as_04_0103__li15183615621">If the number of instances you are removing decreases the number of instances in the AS group below the minimum number of instances allowed, AS launches new instances to maintain the expected capacity.</li><li id="as_04_0103__li1818317153220">If you remove instances from an AS group that has an associated load balancer, the instances will be dissociated from the load balancer.</li></ul>
|
||||||
|
</div></div>
|
||||||
|
</div>
|
||||||
|
<p id="as_04_0103__p11869369154124">To remove instances 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__b1092259933">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 desired 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.<p id="as_04_0103__p582195011323">To remove multiple instances from the 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>.</p>
|
||||||
|
<p id="as_04_0103__p3798193493212">To remove all instances from the AS group, select the check box on the left of <strong id="as_04_0103__b1319063220551">Name</strong> and click <strong id="as_04_0103__b419063295510">Remove</strong> or <strong id="as_04_0103__b4190632135519">Remove and Delete</strong>.</p>
|
||||||
|
<div class="note" id="as_04_0103__note1276935512321"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="as_04_0103__ul926835711345"><li id="as_04_0103__li1268557183413">If the instances you want to remove were automatically added to the AS group, they are billed on a pay-per-use basis by default. You can:<ul id="as_04_0103__ul69451971254"><li id="as_04_0103__li1794557158">Remove the instances from the AS group by choosing <strong id="as_04_0103__b1694510715516">Remove</strong>.</li></ul>
|
||||||
|
<ul id="as_04_0103__ul53071202519"><li id="as_04_0103__li13307142015519">Remove the instances from the AS group and delete them by choosing <strong id="as_04_0103__b0307920352">Remove and Delete</strong>.</li></ul>
|
||||||
|
</li><li id="as_04_0103__li4269125793412">If the instances were manually added to the AS group, they can only be removed. They cannot be removed and deleted.</li></ul>
|
||||||
|
</div></div>
|
||||||
|
</li></ol>
|
||||||
<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__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__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>
|
<p id="as_04_0103__p62037068154330">For details, see <a href="as_01_0106.html">Modifying an AS Group</a>.</p>
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
<a name="as_04_0104"></a><a name="as_04_0104"></a>
|
<a name="as_04_0104"></a><a name="as_04_0104"></a>
|
||||||
|
|
||||||
<h1 class="topictitle1">Configuring an Instance Removal Policy</h1>
|
<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>
|
<div id="body1481161580856"><p id="as_04_0104__p2050093318525">When instances are automatically removed from your AS group, the instances that are not in the currently used AZs will be removed first. Then the instance removal policy you select will be applied.</p>
|
||||||
<p id="as_04_0104__p3090278995143">AS supports the following instance removal policies:</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>
|
<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 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. 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>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
</div>
|
</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>
|
<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>
|
<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__b2038149730">Scaling Action ID</strong>, <strong id="as_04_0105__b2106414372">Status</strong>, <strong id="as_04_0105__b1691102077">Scaling Action Type</strong>, <strong id="as_04_0105__b2098139679">Description</strong>, <strong id="as_04_0105__b979473263">Start Time</strong>, and <strong id="as_04_0105__b670703933">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>
|
<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__b852986788">Scaling Action ID</strong>, <strong id="as_04_0105__b1639438856">Status</strong>, <strong id="as_04_0105__b1848308822">Scaling Action Type</strong>, <strong id="as_04_0105__b647739481">Description</strong>, <strong id="as_04_0105__b1021871701">Start Time</strong>, and <strong id="as_04_0105__b2072682616">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>
|
</li></ol>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<a name="as_04_0107"></a><a name="as_04_0107"></a>
|
<a name="as_04_0107"></a><a name="as_04_0107"></a>
|
||||||
|
|
||||||
<h1 class="topictitle1">Configuring Instance Protection</h1>
|
<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 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 id="body1505441299081"><div class="section" id="as_04_0107__section68401743312"><h4 class="sectiontitle">Scenarios</h4><p id="as_04_0107__p5597657210920">To control whether an 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>
|
||||||
<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 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>
|
</div></div>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<h1 class="topictitle1">Managing a Bandwidth Scaling Policy</h1>
|
<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>
|
<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>
|
<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 configured for a released EIP still occupies the policy quota. Only the account and its IAM users with the global permission can manage the 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 configured for a released EIP still occupies the policy quota. Only the account and its IAM users with the global permissions can manage the bandwidth scaling policy. IAM users with permissions to some enterprise projects cannot manage the policy.</p>
|
||||||
</div></div>
|
</div></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>
|
<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>
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
</li>
|
</li>
|
||||||
<li class="ulchildlink"><strong><a href="as_06_0103.html">Recording AS Resource Operations</a></strong><br>
|
<li class="ulchildlink"><strong><a href="as_06_0103.html">Recording AS Resource Operations</a></strong><br>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="ulchildlink"><strong><a href="as_06_0108.html">Querying Real-Time Traces</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 class="ulchildlink"><strong><a href="as_06_0104.html">Adding Tags to AS Groups and Instances</a></strong><br>
|
||||||
</li>
|
</li>
|
||||||
<li class="ulchildlink"><strong><a href="as_06_0105.html">Monitoring Metrics</a></strong><br>
|
<li class="ulchildlink"><strong><a href="as_06_0105.html">Monitoring Metrics</a></strong><br>
|
||||||
|
@ -1,11 +1,15 @@
|
|||||||
<a name="as_06_0101"></a><a name="as_06_0101"></a>
|
<a name="as_06_0101"></a><a name="as_06_0101"></a>
|
||||||
|
|
||||||
<h1 class="topictitle1">Health Check</h1>
|
<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 checks.</p>
|
<div id="body33449458"><div class="section" id="as_06_0101__section1723874354813"><h4 class="sectiontitle">Health Check Methods</h4><p id="as_06_0101__p1221210489487">A health check removes unhealthy 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 checks.</p>
|
||||||
<ul id="as_06_0101__ul50695543"><li id="as_06_0101__li6596890793234"><strong id="as_06_0101__b210819083">ECS health check</strong>: checks ECS instance running status. If an instance is stopped or deleted, it is considered 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>
|
</div>
|
||||||
<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>
|
<ul id="as_06_0101__ul50695543"><li id="as_06_0101__li6596890793234"><strong id="as_06_0101__b82405">ECS health check</strong>: checks the ECS instance running status. If an instance is stopped or deleted, it is considered 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__li10652172710582"><strong id="as_06_0101__b14131351251">ELB health check</strong>: determines ECS 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>.<p id="as_06_0101__p8951529185818">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 is healthy. If any load balancer detects that an instance is unhealthy, the instance will be removed from the AS group.</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__p15638933185813"></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>
|
</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> modes, AS removes unhealthy instances from the AS group. Whether a removed instance will be deleted depends on how the instance is added to the AS group.</p>
|
||||||
|
<p id="as_06_0101__p7538102671518">If the instance is automatically added to the AS group during a scaling action, AS removes and deletes it. If the instance is manually added to the AS group, AS only removes it from the AS group.</p>
|
||||||
|
<div class="section" id="as_06_0101__section103761343151818"><h4 class="sectiontitle">Constraints</h4><ul id="as_06_0101__ul184792611206"><li id="as_06_0101__li1184722612209">Even when an AS group is disabled, AS still checks the health of instances in the AS group, but does not remove unhealthy instances.</li></ul>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div class="familylinks">
|
<div class="familylinks">
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<a name="as_06_0104"></a><a name="as_06_0104"></a>
|
<a name="as_06_0104"></a><a name="as_06_0104"></a>
|
||||||
|
|
||||||
<h1 class="topictitle1">Adding Tags to AS Groups and Instances</h1>
|
<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>
|
<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 tags 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__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__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 between 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__p57613131331">For example, if you want to distinguish between 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>
|
||||||
@ -21,14 +21,14 @@
|
|||||||
</thead>
|
</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>
|
<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>
|
||||||
<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><li id="as_06_0104__li173982819418">A key can contain a maximum of 36 characters, including only digits, letters, hyphens (-), and underscores (_).</li></ul>
|
<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">The key must be unique to the AS group.</li><li id="as_06_0104__li173982819418">A key can contain a maximum of 36 characters, including only digits, letters, hyphens (-), and underscores (_).</li></ul>
|
||||||
</td>
|
</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 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>
|
</td>
|
||||||
</tr>
|
</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>
|
<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>
|
||||||
<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><li id="as_06_0104__li1177715241344">A tag value can contain a maximum of 43 characters, including only digits, letters, hyphens (-), and underscores (_).</li></ul>
|
<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 is optional.</li><li id="as_06_0104__li26634116105411">A key can have only one value.</li><li id="as_06_0104__li1177715241344">A tag value can contain a maximum of 43 characters, including only digits, letters, hyphens (-), and underscores (_).</li></ul>
|
||||||
</td>
|
</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 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>
|
</td>
|
||||||
@ -39,7 +39,7 @@
|
|||||||
</li><li id="as_06_0104__li39846552175450">Click <strong id="as_06_0104__b1570856957172655">OK</strong>.</li></ol>
|
</li><li id="as_06_0104__li39846552175450">Click <strong id="as_06_0104__b1570856957172655">OK</strong>.</li></ol>
|
||||||
</div>
|
</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>
|
<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__b858851897">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>
|
<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__b432130683">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>
|
<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>
|
</li></ol>
|
||||||
</div>
|
</div>
|
||||||
|
@ -69,7 +69,7 @@
|
|||||||
<td class="cellrowborder" valign="top" width="14.148585141485851%" headers="mcps1.3.2.2.7.1.2 "><p id="as_06_0105__en-us_topic_0042018317_p21772565">Inband Incoming Rate</p>
|
<td class="cellrowborder" valign="top" width="14.148585141485851%" headers="mcps1.3.2.2.7.1.2 "><p id="as_06_0105__en-us_topic_0042018317_p21772565">Inband Incoming Rate</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="32.736726327367265%" headers="mcps1.3.2.2.7.1.3 "><p id="as_06_0105__en-us_topic_0042018317_p18747312">Number of incoming bytes per second on an ECS in an AS group</p>
|
<td class="cellrowborder" valign="top" width="32.736726327367265%" headers="mcps1.3.2.2.7.1.3 "><p id="as_06_0105__en-us_topic_0042018317_p18747312">Number of incoming bytes per second on an ECS in an AS group</p>
|
||||||
<p id="as_06_0105__en-us_topic_0042018317_p11415571347">Formula: Total inband incoming rates of all ECS instances in an AS group/Number of ECS instances in the AS group</p>
|
<p id="as_06_0105__en-us_topic_0042018317_p11415571347">Formula: Total inband incoming rate of all ECS instances in an AS group/Number of ECS instances in the AS group</p>
|
||||||
<p id="as_06_0105__en-us_topic_0042018317_p1573177133411">Unit: Byte/s</p>
|
<p id="as_06_0105__en-us_topic_0042018317_p1573177133411">Unit: Byte/s</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="11.6988301169883%" headers="mcps1.3.2.2.7.1.4 "><p id="as_06_0105__en-us_topic_0043063076_p834095511437">≥0 Byte/s</p>
|
<td class="cellrowborder" valign="top" width="11.6988301169883%" headers="mcps1.3.2.2.7.1.4 "><p id="as_06_0105__en-us_topic_0043063076_p834095511437">≥0 Byte/s</p>
|
||||||
@ -84,7 +84,7 @@
|
|||||||
<td class="cellrowborder" valign="top" width="14.148585141485851%" headers="mcps1.3.2.2.7.1.2 "><p id="as_06_0105__en-us_topic_0042018317_p37685299">Inband Outgoing Rate</p>
|
<td class="cellrowborder" valign="top" width="14.148585141485851%" headers="mcps1.3.2.2.7.1.2 "><p id="as_06_0105__en-us_topic_0042018317_p37685299">Inband Outgoing Rate</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="32.736726327367265%" headers="mcps1.3.2.2.7.1.3 "><p id="as_06_0105__en-us_topic_0042018317_p32610412">Number of outgoing bytes per second on an ECS in an AS group</p>
|
<td class="cellrowborder" valign="top" width="32.736726327367265%" headers="mcps1.3.2.2.7.1.3 "><p id="as_06_0105__en-us_topic_0042018317_p32610412">Number of outgoing bytes per second on an ECS in an AS group</p>
|
||||||
<p id="as_06_0105__en-us_topic_0042018317_p91607516343">Formula: Total inband outgoing rates of all ECS instances in an AS group/Number of ECS instances in the AS group</p>
|
<p id="as_06_0105__en-us_topic_0042018317_p91607516343">Formula: Total inband outgoing rate of all ECS instances in an AS group/Number of ECS instances in the AS group</p>
|
||||||
<p id="as_06_0105__en-us_topic_0042018317_p1949715114340">Unit: Byte/s</p>
|
<p id="as_06_0105__en-us_topic_0042018317_p1949715114340">Unit: Byte/s</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="11.6988301169883%" headers="mcps1.3.2.2.7.1.4 "><p id="as_06_0105__en-us_topic_0043063076_p62450816104552">≥0 Byte/s</p>
|
<td class="cellrowborder" valign="top" width="11.6988301169883%" headers="mcps1.3.2.2.7.1.4 "><p id="as_06_0105__en-us_topic_0043063076_p62450816104552">≥0 Byte/s</p>
|
||||||
@ -99,7 +99,7 @@
|
|||||||
<td class="cellrowborder" valign="top" width="14.148585141485851%" headers="mcps1.3.2.2.7.1.2 "><p id="as_06_0105__en-us_topic_0042018317_p1411176318214">Disks Read Rate</p>
|
<td class="cellrowborder" valign="top" width="14.148585141485851%" headers="mcps1.3.2.2.7.1.2 "><p id="as_06_0105__en-us_topic_0042018317_p1411176318214">Disks Read Rate</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="32.736726327367265%" headers="mcps1.3.2.2.7.1.3 "><p id="as_06_0105__en-us_topic_0042018317_p220213918214">Number of bytes read from an AS group per second</p>
|
<td class="cellrowborder" valign="top" width="32.736726327367265%" headers="mcps1.3.2.2.7.1.3 "><p id="as_06_0105__en-us_topic_0042018317_p220213918214">Number of bytes read from an AS group per second</p>
|
||||||
<p id="as_06_0105__en-us_topic_0042018317_p16302131413351">Formula: Total disks read rates of all ECS instances in an AS group/Number of ECS instances in the AS group</p>
|
<p id="as_06_0105__en-us_topic_0042018317_p16302131413351">Formula: Total disk read rate of all ECS instances in an AS group/Number of ECS instances in the AS group</p>
|
||||||
<p id="as_06_0105__en-us_topic_0042018317_p1053317144359">Unit: Byte/s</p>
|
<p id="as_06_0105__en-us_topic_0042018317_p1053317144359">Unit: Byte/s</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="11.6988301169883%" headers="mcps1.3.2.2.7.1.4 "><p id="as_06_0105__en-us_topic_0043063076_p438577111428">≥0 Byte/s</p>
|
<td class="cellrowborder" valign="top" width="11.6988301169883%" headers="mcps1.3.2.2.7.1.4 "><p id="as_06_0105__en-us_topic_0043063076_p438577111428">≥0 Byte/s</p>
|
||||||
@ -114,7 +114,7 @@
|
|||||||
<td class="cellrowborder" valign="top" width="14.148585141485851%" headers="mcps1.3.2.2.7.1.2 "><p id="as_06_0105__en-us_topic_0042018317_p4424835218214">Disks Write Rate</p>
|
<td class="cellrowborder" valign="top" width="14.148585141485851%" headers="mcps1.3.2.2.7.1.2 "><p id="as_06_0105__en-us_topic_0042018317_p4424835218214">Disks Write Rate</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="32.736726327367265%" headers="mcps1.3.2.2.7.1.3 "><p id="as_06_0105__en-us_topic_0042018317_p10694175583519">Number of bytes written to an AS group per second</p>
|
<td class="cellrowborder" valign="top" width="32.736726327367265%" headers="mcps1.3.2.2.7.1.3 "><p id="as_06_0105__en-us_topic_0042018317_p10694175583519">Number of bytes written to an AS group per second</p>
|
||||||
<p id="as_06_0105__en-us_topic_0042018317_p2734677318214">Formula: Total disks write rates of all ECS instances in an AS group/Number of ECS instances in the AS group</p>
|
<p id="as_06_0105__en-us_topic_0042018317_p2734677318214">Formula: Total disk write rate of all ECS instances in an AS group/Number of ECS instances in the AS group</p>
|
||||||
<p id="as_06_0105__en-us_topic_0042018317_p555217291353">Unit: Byte/s</p>
|
<p id="as_06_0105__en-us_topic_0042018317_p555217291353">Unit: Byte/s</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="11.6988301169883%" headers="mcps1.3.2.2.7.1.4 "><p id="as_06_0105__en-us_topic_0043063076_p41383251164320">≥0 Byte/s</p>
|
<td class="cellrowborder" valign="top" width="11.6988301169883%" headers="mcps1.3.2.2.7.1.4 "><p id="as_06_0105__en-us_topic_0043063076_p41383251164320">≥0 Byte/s</p>
|
||||||
@ -128,8 +128,8 @@
|
|||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="14.148585141485851%" headers="mcps1.3.2.2.7.1.2 "><p id="as_06_0105__en-us_topic_0042018317_p3630726418214">Disks Read Requests</p>
|
<td class="cellrowborder" valign="top" width="14.148585141485851%" headers="mcps1.3.2.2.7.1.2 "><p id="as_06_0105__en-us_topic_0042018317_p3630726418214">Disks Read Requests</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="32.736726327367265%" headers="mcps1.3.2.2.7.1.3 "><p id="as_06_0105__en-us_topic_0042018317_p5520727618214">Number of read requests per second sent to an ECS disk in an AS group</p>
|
<td class="cellrowborder" valign="top" width="32.736726327367265%" headers="mcps1.3.2.2.7.1.3 "><p id="as_06_0105__en-us_topic_0042018317_p5520727618214">Number of disk read requests sent to an AS group per second</p>
|
||||||
<p id="as_06_0105__en-us_topic_0042018317_p32533663612">Formula: Total disks read rates of all ECS instances in an AS group/Number of ECS instances in the AS group</p>
|
<p id="as_06_0105__en-us_topic_0042018317_p32533663612">Formula: Total number of disk read requests sent to all ECS instances in an AS group/Number of ECS instances in the AS group</p>
|
||||||
<p id="as_06_0105__en-us_topic_0042018317_p363319663618">Unit: Request/s</p>
|
<p id="as_06_0105__en-us_topic_0042018317_p363319663618">Unit: Request/s</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="11.6988301169883%" headers="mcps1.3.2.2.7.1.4 "><p id="as_06_0105__en-us_topic_0043063076_p33600476164320">≥0 request/s</p>
|
<td class="cellrowborder" valign="top" width="11.6988301169883%" headers="mcps1.3.2.2.7.1.4 "><p id="as_06_0105__en-us_topic_0043063076_p33600476164320">≥0 request/s</p>
|
||||||
@ -143,8 +143,8 @@
|
|||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="14.148585141485851%" headers="mcps1.3.2.2.7.1.2 "><p id="as_06_0105__en-us_topic_0042018317_p4789499918214">Disks Write Requests</p>
|
<td class="cellrowborder" valign="top" width="14.148585141485851%" headers="mcps1.3.2.2.7.1.2 "><p id="as_06_0105__en-us_topic_0042018317_p4789499918214">Disks Write Requests</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="32.736726327367265%" headers="mcps1.3.2.2.7.1.3 "><p id="as_06_0105__en-us_topic_0042018317_p5428973118214">Number of write requests per second sent to an ECS disk in an AS group</p>
|
<td class="cellrowborder" valign="top" width="32.736726327367265%" headers="mcps1.3.2.2.7.1.3 "><p id="as_06_0105__en-us_topic_0042018317_p5428973118214">Number of disk write requests sent to an AS group per second</p>
|
||||||
<p id="as_06_0105__en-us_topic_0042018317_p10201517123617">Formula: Total disks write rates of all ECS instances in an AS group/Number of ECS instances in the AS group</p>
|
<p id="as_06_0105__en-us_topic_0042018317_p10201517123617">Formula: Total number of disk write requests sent to all ECS instances in an AS group/Number of ECS instances in the AS group</p>
|
||||||
<p id="as_06_0105__en-us_topic_0042018317_p13201617163613">Unit: Request/s</p>
|
<p id="as_06_0105__en-us_topic_0042018317_p13201617163613">Unit: Request/s</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="11.6988301169883%" headers="mcps1.3.2.2.7.1.4 "><p id="as_06_0105__en-us_topic_0043063076_p8106792164320">≥0 request/s</p>
|
<td class="cellrowborder" valign="top" width="11.6988301169883%" headers="mcps1.3.2.2.7.1.4 "><p id="as_06_0105__en-us_topic_0043063076_p8106792164320">≥0 request/s</p>
|
||||||
|
25
docs/as/umn/as_06_0108.html
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<a name="as_06_0108"></a><a name="as_06_0108"></a>
|
||||||
|
|
||||||
|
<h1 class="topictitle1">Querying Real-Time Traces</h1>
|
||||||
|
<div id="body8662426"><div class="section" id="as_06_0108__en-us_topic_0179639644_section5470822195238"><h4 class="sectiontitle">Scenarios</h4><p id="as_06_0108__en-us_topic_0179639644_p333055219577">After you enable CTS and the management tracker is created, CTS starts recording operations on cloud resources. CTS stores operation records generated in the last seven days.</p>
|
||||||
|
<p id="as_06_0108__en-us_topic_0179639644_p3008599195238">This section describes how to query and export operation records of the last seven days on the CTS console.</p>
|
||||||
|
<ul id="as_06_0108__en-us_topic_0179639644_ul17577535194620"><li id="as_06_0108__en-us_topic_0179639644_li201409184718"><a href="#as_06_0108__en-us_topic_0179639644_section19271975203">Viewing Real-Time Traces in the Trace List</a></li></ul>
|
||||||
|
</div>
|
||||||
|
<div class="section" id="as_06_0108__en-us_topic_0179639644_section19271975203"><a name="as_06_0108__en-us_topic_0179639644_section19271975203"></a><a name="en-us_topic_0179639644_section19271975203"></a><h4 class="sectiontitle">Viewing Real-Time Traces in the Trace List</h4><ol id="as_06_0108__en-us_topic_0179639644_ol4845175152710"><li id="as_06_0108__en-us_topic_0179639644_li791871844313">Log in to the management console.</li><li id="as_06_0108__en-us_topic_0179639644_li79188188435">Click <span><img id="as_06_0108__en-us_topic_0179639644_image2107213105014" src="en-us_image_0000001696838310.png"></span> in the upper left corner and choose <strong id="as_06_0108__en-us_topic_0179639644_b1810717138505">Management & Deployment</strong> > <strong id="as_06_0108__en-us_topic_0179639644_b1310871313509">Cloud Trace Service</strong>. The CTS console is displayed.</li><li id="as_06_0108__en-us_topic_0179639644_li591831894316">Choose <strong id="as_06_0108__en-us_topic_0179639644_b09819412220">Trace List</strong> in the navigation pane on the left.</li><li id="as_06_0108__en-us_topic_0179639644_li6936134194312">Set filters to search for your desired traces, as shown in <a href="#as_06_0108__en-us_topic_0179639644_fig139361441134311">Figure 1</a>. The following filters are available:<div class="fignone" id="as_06_0108__en-us_topic_0179639644_fig139361441134311"><a name="as_06_0108__en-us_topic_0179639644_fig139361441134311"></a><a name="en-us_topic_0179639644_fig139361441134311"></a><span class="figcap"><b>Figure 1 </b>Filters</span><br><span><img id="as_06_0108__en-us_topic_0179639644_image14936144112433" src="en-us_image_0000001744598325.png"></span></div>
|
||||||
|
<div class="p" id="as_06_0108__en-us_topic_0179639644_p15936134119435"><ul class="subitemlist" id="as_06_0108__en-us_topic_0179639644_ul20936164174314"><li id="as_06_0108__en-us_topic_0179639644_li99361417432"><strong id="as_06_0108__en-us_topic_0179639644_b179671714141513">Trace Type</strong>, <strong id="as_06_0108__en-us_topic_0179639644_b179671014191515">Trace Source</strong>, <strong id="as_06_0108__en-us_topic_0179639644_b4968714141517">Resource Type</strong>, and <strong id="as_06_0108__en-us_topic_0179639644_b14968101411516">Search By</strong>: Select a filter from the drop-down list.<ul id="as_06_0108__en-us_topic_0179639644_ul158893433010"><li id="as_06_0108__en-us_topic_0179639644_li12760183118301">If you select <strong id="as_06_0108__en-us_topic_0179639644_b389315891511">Resource ID</strong> for <strong id="as_06_0108__en-us_topic_0179639644_b3893858131515">Search By</strong>, specify a resource ID.</li><li id="as_06_0108__en-us_topic_0179639644_li12760203115305">If you select <strong id="as_06_0108__en-us_topic_0179639644_b8997941831">Trace name</strong> for <strong id="as_06_0108__en-us_topic_0179639644_b199981541317">Search By</strong>, specify a trace name.</li><li id="as_06_0108__en-us_topic_0179639644_li197601031193019">If you select <strong id="as_06_0108__en-us_topic_0179639644_b196612501258">Resource name</strong> for <strong id="as_06_0108__en-us_topic_0179639644_b177275015252">Search By</strong>, specify a resource name.</li></ul>
|
||||||
|
</li><li id="as_06_0108__en-us_topic_0179639644_li15936204184311"><strong id="as_06_0108__en-us_topic_0179639644_b98151395276">Operator</strong>: Select a user.</li><li id="as_06_0108__en-us_topic_0179639644_li6936184119437"><strong id="as_06_0108__en-us_topic_0179639644_b6981161112286">Trace Status</strong>: Select <strong id="as_06_0108__en-us_topic_0179639644_b1298716111281">All trace statuses</strong>, <strong id="as_06_0108__en-us_topic_0179639644_b7987181115281">Normal</strong>, <strong id="as_06_0108__en-us_topic_0179639644_b2988181112810">Warning</strong>, or <strong id="as_06_0108__en-us_topic_0179639644_b99881511132820">Incident</strong>.</li><li id="as_06_0108__en-us_topic_0179639644_li1993654144315">Time range: You can query traces generated during any time range in the last seven days.</li><li id="as_06_0108__en-us_topic_0179639644_li8936104118436">Click <strong id="as_06_0108__en-us_topic_0179639644_b861150123114">Export</strong> to export all traces in the query result as a CSV file. The file can contain up to 5000 records.</li></ul>
|
||||||
|
</div>
|
||||||
|
</li><li class="subitemlist" id="as_06_0108__en-us_topic_0179639644_li094111715448">Click <strong id="as_06_0108__en-us_topic_0179639644_b55732514186">Query</strong>.</li><li id="as_06_0108__en-us_topic_0179639644_li29410170448">On the <strong id="as_06_0108__en-us_topic_0179639644_b176911834143214">Trace List</strong> page, you can also export and refresh the trace list.<ul id="as_06_0108__en-us_topic_0179639644_ul119414175448"><li id="as_06_0108__en-us_topic_0179639644_li12946170445">Click <strong id="as_06_0108__en-us_topic_0179639644_b8907168171714">Export</strong> to export all traces in the query result as a CSV file. The file can contain up to 5000 records.</li><li id="as_06_0108__en-us_topic_0179639644_li394151717445">Click <span><img id="as_06_0108__en-us_topic_0179639644_image109421716440" src="en-us_image_0000001696678850.png"></span> to view the latest information about traces.</li></ul>
|
||||||
|
</li><li id="as_06_0108__en-us_topic_0179639644_li169491744418">Click <span><img id="as_06_0108__en-us_topic_0179639644_image9947176447" src="en-us_image_0000001744678489.jpg"></span> on the left of a trace to expand its details.<p id="as_06_0108__en-us_topic_0179639644_p1294101714446"></p>
|
||||||
|
<p id="as_06_0108__en-us_topic_0179639644_p1694171715446"><span><img id="as_06_0108__en-us_topic_0179639644_image49418175441" src="en-us_image_0000001696838318.png"></span></p>
|
||||||
|
<p id="as_06_0108__en-us_topic_0179639644_p109481744411"></p>
|
||||||
|
</li><li id="as_06_0108__en-us_topic_0179639644_li1094161784410">Click <strong id="as_06_0108__en-us_topic_0179639644_b139145611337">View Trace</strong> in the <strong id="as_06_0108__en-us_topic_0179639644_b1591756103313">Operation</strong> column. The trace details are displayed.<p id="as_06_0108__en-us_topic_0179639644_p1695161714447"><span><img id="as_06_0108__en-us_topic_0179639644_image1904172011220" src="en-us_image_0000001758618249.png"></span></p>
|
||||||
|
</li><li id="as_06_0108__en-us_topic_0179639644_li129561719446">For details about key fields in the trace structure, see section "Trace References" > "Trace Structure" and section "Trace References" > "Example Traces" in the <em id="as_06_0108__en-us_topic_0179639644_i949883013810">CTS User Guide</em>.</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>
|
||||||
|
|
@ -3,7 +3,7 @@
|
|||||||
<h1 class="topictitle1">Can I Use an ECS Instance ID to Learn What AS Group the Instance Is In?</h1>
|
<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>
|
<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>
|
<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> > <strong id="as_06_0206__b142612320418">Auto Scaling</strong> > <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>
|
<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> > <strong id="as_06_0206__b142612320418">Auto Scaling</strong> > <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> 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>
|
<div>
|
||||||
<div class="familylinks">
|
<div class="familylinks">
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
<a name="as_07_0102"></a><a name="as_07_0102"></a>
|
<a name="as_07_0102"></a><a name="as_07_0102"></a>
|
||||||
|
|
||||||
<h1 class="topictitle1">Creating a User and Granting AS Permissions</h1>
|
<h1 class="topictitle1">Creating a User and Granting AS Permissions</h1>
|
||||||
<div id="body1558577463365"><div class="section" id="as_07_0102__section2495449014355"><h4 class="sectiontitle">Scenarios</h4><p id="as_07_0102__p19341341165"><a href="https://docs.otc.t-systems.com/identity-access-management/umn/service_overview/what_is_iam.html" target="_blank" rel="noopener noreferrer">IAM</a> can help you implement fine-grained permissions control over your AS resources. With IAM, you can</p>
|
<div id="body1558577463365"><div class="section" id="as_07_0102__section2495449014355"><h4 class="sectiontitle">Scenarios</h4><p id="as_07_0102__p19341341165"><a href="https://docs.otc.t-systems.com/usermanual/iam/iam_01_0026.html" target="_blank" rel="noopener noreferrer">IAM</a> can help you implement fine-grained permissions control over your AS resources. With IAM, you can:</p>
|
||||||
<ul id="as_07_0102__ul17995143562"><li id="as_07_0102__li46646558613">Create IAM users for employees based on your enterprise's organizational structure. Each IAM user will have their own security credentials for accessing AS resources.</li><li id="as_07_0102__li174131154713">Grant only the permissions required for users to perform a specific task.</li><li id="as_07_0102__li115110918717">Use <a href="https://docs.otc.t-systems.com/identity-access-management/umn/service_overview/what_is_iam.html" target="_blank" rel="noopener noreferrer">IAM</a> to entrust an account or cloud service to perform efficient O&M on your AS resources.</li></ul>
|
<ul id="as_07_0102__ul17995143562"><li id="as_07_0102__li46646558613">Create IAM users for employees based on your enterprise's organizational structure. Each IAM user will have their own security credentials for accessing AS resources.</li><li id="as_07_0102__li174131154713">Grant users only the permissions required to perform a given task based on their job responsibilities.</li><li id="as_07_0102__li115110918717">Use <a href="https://docs.otc.t-systems.com/usermanual/iam/iam_01_0026.html" target="_blank" rel="noopener noreferrer">IAM</a> to entrust an account or cloud service to perform efficient O&M on your AS resources.</li></ul>
|
||||||
<p id="as_07_0102__p87391417299">If your account does not require individual IAM users, skip this section.</p>
|
<p id="as_07_0102__p87391417299">If your account does not require individual IAM users, skip this section.</p>
|
||||||
<p id="as_07_0102__p78941506910">This section describes the procedure for granting permissions (see <a href="#as_07_0102__fig1515164216142">Figure 1</a>).</p>
|
<p id="as_07_0102__p78941506910">This section describes the procedure for granting permissions. <a href="#as_07_0102__fig1515164216142">Figure 1</a> shows the process flow.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="as_07_0102__section6126111243014"><h4 class="sectiontitle">Prerequisites</h4><p id="as_07_0102__p1626720301296">Learn about the permissions (see <a href="as_pro_0007.html">Permissions Management</a>) supported by AS and choose policies or roles according to your requirements. For the permissions of other services, see <a href="https://docs.otc.t-systems.com/additional/permissions.html" target="_blank" rel="noopener noreferrer">Permission Description</a>.</p>
|
<div class="section" id="as_07_0102__section6126111243014"><h4 class="sectiontitle">Prerequisites</h4><p id="as_07_0102__p1626720301296">Before granting permissions to user groups, you should learn about the permissions (<a href="as_pro_0007.html">Permissions Management</a>) supported by AS and choose policies or roles based on service requirements. To grant permissions for other services, learn about all <a href="https://docs.otc.t-systems.com/permissions/index.html" target="_blank" rel="noopener noreferrer">permissions</a> supported by IAM.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="as_07_0102__section203711514125317"><h4 class="sectiontitle">Process Flow</h4><div class="fignone" id="as_07_0102__fig1515164216142"><a name="as_07_0102__fig1515164216142"></a><a name="fig1515164216142"></a><span class="figcap"><b>Figure 1 </b>Process for granting AS permissions</span><br><span><img id="as_07_0102__image3885631155319" src="en-us_image_0171188722.jpg"></span></div>
|
<div class="section" id="as_07_0102__section203711514125317"><h4 class="sectiontitle">Process Flow</h4><div class="fignone" id="as_07_0102__fig1515164216142"><a name="as_07_0102__fig1515164216142"></a><a name="fig1515164216142"></a><span class="figcap"><b>Figure 1 </b>Process for granting AS permissions</span><br><span><img id="as_07_0102__image3885631155319" src="en-us_image_0171188722.jpg"></span></div>
|
||||||
<ol id="as_07_0102__ol102751734125416"><li id="as_07_0102__li10176121316284"><a name="as_07_0102__li10176121316284"></a><a name="li10176121316284"></a><a href="https://docs.otc.t-systems.com/identity-access-management/umn/getting_started/creating_a_user_group_and_assigning_permissions.html#iam-01-0030" target="_blank" rel="noopener noreferrer">Create a user group and assign permissions to it</a>.<p id="as_07_0102__p532014413567">Create a user group on the IAM console, and attach the <strong id="as_07_0102__b176945495157">AutoScaling ReadOnlyAccess</strong> policy to the group.</p>
|
<ol id="as_07_0102__ol102751734125416"><li id="as_07_0102__li10176121316284"><a name="as_07_0102__li10176121316284"></a><a name="li10176121316284"></a><a href="https://docs.otc.t-systems.com/usermanual/iam/iam_01_0030.html" target="_blank" rel="noopener noreferrer">Create a user group and assign permissions to it</a>.<p id="as_07_0102__p532014413567">Create a user group on the IAM console, and assign the ASReadOnlyAccess permissions to the group.</p>
|
||||||
</li><li id="as_07_0102__li122751534175417"><a href="https://docs.otc.t-systems.com/identity-access-management/umn/user_guide/user_and_user_group_management/creating_a_user.html#en-us-topic-0046611303" target="_blank" rel="noopener noreferrer">Create an IAM user and add it to the user group</a>.<p id="as_07_0102__p12757347540">Create a user on the IAM console and add the user to the group created in <a href="#as_07_0102__li10176121316284">1</a>.</p>
|
</li><li id="as_07_0102__li122751534175417"><a href="https://docs.otc.t-systems.com/usermanual/iam/iam_01_0031.html" target="_blank" rel="noopener noreferrer">Create an IAM user and add it to the user group</a>.<p id="as_07_0102__p12757347540">Create a user on the IAM console and add the user to the group created in <a href="#as_07_0102__li10176121316284">1</a>.</p>
|
||||||
</li><li id="as_07_0102__li227543410541"><a href="https://docs.otc.t-systems.com/identity-access-management/umn/getting_started/logging_in_as_a_user.html#iam-01-0032" target="_blank" rel="noopener noreferrer">Log in</a> and verify permissions.<p id="as_07_0102__p14448838131712">Log in to the AS console as the created user, and verify the user's permissions for AS.</p>
|
</li><li id="as_07_0102__li227543410541"><a href="https://docs.otc.t-systems.com/usermanual/iam/iam_01_0032.html" target="_blank" rel="noopener noreferrer">Log in</a> and verify permissions.<p id="as_07_0102__p14448838131712">Log in to the AS console as the created user, and verify the user's permissions for AS.</p>
|
||||||
<ul id="as_07_0102__ul0221541101419"><li id="as_07_0102__li1522741121412">Choose <strong id="as_07_0102__b4914941151811">Service List</strong> > <strong id="as_07_0102__b844344514181">Auto Scaling</strong>. Then, click <strong id="as_07_0102__b259414492014">Create AS Group</strong> on the AS console. If a message appears indicating that you have insufficient permissions to perform the operation, the <strong id="as_07_0102__b122612222115">AutoScaling ReadOnlyAccess</strong> policy has already taken effect.</li><li id="as_07_0102__li12221641131415">Choose any other service in the <strong id="as_07_0102__b973264172114">Service List</strong>. If a message appears indicating that you have insufficient permissions to access the service, the <strong id="as_07_0102__b196051555182117">AutoScaling ReadOnlyAccess</strong> policy has already taken effect.</li></ul>
|
<ul id="as_07_0102__ul0221541101419"><li id="as_07_0102__li1522741121412">Choose <strong id="as_07_0102__b4914941151811">Service List</strong> > <strong id="as_07_0102__b844344514181">Auto Scaling</strong>. Then, click <strong id="as_07_0102__b259414492014">Create AS Group</strong> on the AS console. If a message appears indicating that you have insufficient permissions to perform the operation, the ASReadOnlyAccess policy is in effect.</li><li id="as_07_0102__li12221641131415">Choose another in the <strong id="as_07_0102__b973264172114">Service List</strong>. If a message appears indicating that you have insufficient permissions to access the service, the ASReadOnlyAccess policy is in effect.</li></ul>
|
||||||
</li></ol>
|
</li></ol>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<div id="body1558577464133"><div class="section" id="as_07_0103__section2495449014355"><h4 class="sectiontitle">Scenarios</h4><p id="as_07_0103__p1233132491116">Custom policies can be created to supplement the system-defined policies of AS. For the actions that can be added to custom policies, see "Permissions Policies and Supported Actions" in <em id="as_07_0103__i12365859714">Auto Scaling API Reference</em>.</p>
|
<div id="body1558577464133"><div class="section" id="as_07_0103__section2495449014355"><h4 class="sectiontitle">Scenarios</h4><p id="as_07_0103__p1233132491116">Custom policies can be created to supplement the system-defined policies of AS. For the actions that can be added to custom policies, see "Permissions Policies and Supported Actions" in <em id="as_07_0103__i12365859714">Auto Scaling API Reference</em>.</p>
|
||||||
<p id="as_07_0103__p1664233111110">You can create custom policies in either of the following ways:</p>
|
<p id="as_07_0103__p1664233111110">You can create custom policies in either of the following ways:</p>
|
||||||
<ul id="as_07_0103__ul14528173414116"><li id="as_07_0103__li18384478119">Visual editor: Select cloud services, actions, resources, and request conditions. This does not require knowledge of policy syntax.</li><li id="as_07_0103__li1752810342115">JSON: Edit JSON policies from scratch or based on an existing policy.</li></ul>
|
<ul id="as_07_0103__ul14528173414116"><li id="as_07_0103__li18384478119">Visual editor: Select cloud services, actions, resources, and request conditions. This does not require knowledge of policy syntax.</li><li id="as_07_0103__li1752810342115">JSON: Edit JSON policies from scratch or based on an existing policy.</li></ul>
|
||||||
<p id="as_07_0103__p13798613134019">For operation details, see <a href="https://docs.otc.t-systems.com/identity-access-management/umn/user_guide/fine-grained_policy_management/creating_a_custom_policy.html#iam-01-0016" target="_blank" rel="noopener noreferrer">Creating a Custom Policy</a>. The following section contains examples of common AS custom policies.</p>
|
<p id="as_07_0103__p13798613134019">For operation details, see <a href="https://docs.otc.t-systems.com/identity-access-management/umn/user_guide/permissions/creating_a_custom_policy.html" target="_blank" rel="noopener noreferrer">Creating a Custom Policy</a>. The following section contains examples of common AS custom policies.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="as_07_0103__section938914481384"><h4 class="sectiontitle">Example Custom Policies</h4><ul id="as_07_0103__ul3541174820819"><li id="as_07_0103__li954174811818">Example 1: Allowing users to remove instances from an AS group and create AS configurations<pre class="screen" id="as_07_0103__screen1984581351618">{
|
<div class="section" id="as_07_0103__section938914481384"><h4 class="sectiontitle">Example Custom Policies</h4><ul id="as_07_0103__ul3541174820819"><li id="as_07_0103__li954174811818">Example 1: Allowing users to remove instances from an AS group and create AS configurations<pre class="screen" id="as_07_0103__screen1984581351618">{
|
||||||
"Version": "1.1",
|
"Version": "1.1",
|
||||||
@ -18,8 +18,8 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}</pre>
|
}</pre>
|
||||||
</li><li id="as_07_0103__li054154812819">Example 2: Denying AS group deletion<p id="as_07_0103__p9541164816811"><a name="as_07_0103__li054154812819"></a><a name="li054154812819"></a>A policy with only "Deny" permissions must be used in conjunction with other policies to take effect. If the permissions assigned to a user contain both "Allow" and "Deny", the "Deny" permissions take precedence over the "Allow" permissions.</p>
|
</li><li id="as_07_0103__li054154812819">Example 2: Denying AS group deletion<p id="as_07_0103__p9541164816811"><a name="as_07_0103__li054154812819"></a><a name="li054154812819"></a>A policy with only "Deny" permissions must be used together with other policies. If the permissions assigned to a user contain both "Allow" and "Deny", the "Deny" permissions take precedence over the "Allow" permissions.</p>
|
||||||
<p id="as_07_0103__p54631559214">The following method can be used if you need to assign permissions of the <strong id="as_07_0103__b8118103811">AutoScaling FullAccess</strong> policy to a user but you want to prevent the user from deleting AS groups. Create a custom policy for denying AS group deletion, and attach both policies to the group to which the user belongs. Then, the user can perform all operations on AS except deleting AS groups. The following is an example of a deny policy:</p>
|
<p id="as_07_0103__p54631559214">Assume that you need to grant the permissions of the <strong id="as_07_0103__b770513914256">AutoScaling FullAccess</strong> policy to a user but want to prevent the user from deleting AS groups. You can create a custom policy for denying AS group deletion, and attach this policy together with the <strong id="as_07_0103__b1470620972513">AutoScaling FullAccess</strong> policy to the user. As an explicit deny in any policy overrides any allows, the user can perform all operations on AS excepting deleting AS groups. The following is an example of a deny policy:</p>
|
||||||
<pre class="screen" id="as_07_0103__screen15930122720235">{
|
<pre class="screen" id="as_07_0103__screen15930122720235">{
|
||||||
"Version": "1.1",
|
"Version": "1.1",
|
||||||
"Statement": [
|
"Statement": [
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<h1 class="topictitle1">How Can I Automatically Deploy My Application on an Instance?</h1>
|
<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 then 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>
|
<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 then 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. For details, <a href="as_02_0103.html">Creating an AS Configuration from a New Specifications Template</a>. During the creation, select 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>
|
<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. For details, <a href="as_02_0103.html">Creating an AS Configuration from Scratch</a>. During the creation, select 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>
|
</li></ol>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -14,17 +14,17 @@
|
|||||||
<p id="as_faq_0014__p33837526195749">Handling method: Change the AS configuration for the AS group and then enable the AS group.</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>
|
</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>
|
<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>
|
</li><li id="as_faq_0014__li2474067819292">Issue description: This type of ECSs has been sold out in the selected AZ.<p id="as_faq_0014__p25461982111847"><a name="as_faq_0014__li2474067819292"></a><a name="li2474067819292"></a>Possible cause: This type of ECSs has been sold out or is not supported in the AZ selected for the AS group. The ECS flavor selected in the AS configuration is sold out.</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>
|
<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>
|
</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>
|
<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>
|
</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>
|
<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>
|
</li><li id="as_faq_0014__li42303582105859">Issue description: This type of storage resources has 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>
|
<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>
|
</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>
|
<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__li144221858603">Issue description: The flavor 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><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>
|
</li></ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<a name="as_faq_0020"></a><a name="as_faq_0020"></a>
|
<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>
|
<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 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).</p>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div class="familylinks">
|
<div class="familylinks">
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<h1 class="topictitle1">How Do I Prevent Instances from Being Automatically Removed from an AS Group?</h1>
|
<h1 class="topictitle1">How Do I Prevent Instances from Being Automatically Removed from an AS Group?</h1>
|
||||||
<div id="body1529477376155"><p id="as_faq_0028__p137321247419">You can enable instance protection for in-service instances in an AS group. After the configuration, the protected in-service instances will not be removed during scale-in events. You can also modify the minimum number of instances for an AS group and use an instance removal policy to ensure that the AS group always has some in-service instances.</p>
|
<div id="body1529477376155"><p id="as_faq_0028__p137321247419">You can enable instance protection for in-service instances in an AS group. After the configuration, the protected in-service instances will not be removed during scale-in events. You can also modify the minimum number of instances for an AS group and use an instance removal policy to ensure that the AS group always has some in-service instances.</p>
|
||||||
<p id="as_faq_0028__p1957910149127">Unhealthy instances are removed from an AS group and new instances are created automatically. Do not stop or delete instances that have been added to an AS group on the ECS console as they will be marked as unhealthy and automatically removed from the AS group. Even when an AS group is disabled, AS still checks the status of instances in the AS group, but does not remove unhealthy instances.</p>
|
<p id="as_faq_0028__p1957910149127">Unhealthy instances are removed from an AS group and new instances are created automatically. Do not stop or delete instances that have been added to an AS group on the ECS console as they will be marked as unhealthy and automatically removed from the AS group. Even when an AS group is disabled, AS still checks the health of instances in the AS group, but does not remove unhealthy instances.</p>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div class="familylinks">
|
<div class="familylinks">
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<a name="as_faq_0030"></a><a name="as_faq_0030"></a>
|
<a name="as_faq_0030"></a><a name="as_faq_0030"></a>
|
||||||
|
|
||||||
<h1 class="topictitle1">How Do I Handle Unhealthy Instances in an AS Group?</h1>
|
<h1 class="topictitle1">How Do I Handle Unhealthy Instances in an AS Group?</h1>
|
||||||
<div id="body1527125500344"><p id="as_faq_0030__p1068711431310">Normally, you do not need to handle unhealthy instances because AS periodically checks the health status of instances in an AS group. When an AS group is enabled, unhealthy instances are removed and new instances are created to ensure that the expected number of instances are running in the AS group. When an AS group is disabled, AS keeps performing health checks on instances, but does not remove instances.</p>
|
<div id="body1527125500344"><p id="as_faq_0030__p1068711431310">Normally, you do not need to handle unhealthy instances because AS periodically checks the health status of instances in an AS group. When an AS group is enabled, unhealthy instances are removed and new instances are created to ensure that the expected number of instances are running in the AS group. When an AS group is disabled, AS still checks the health of instances, but does not remove instances.</p>
|
||||||
<p id="as_faq_0030__p469092603710">It should be noted that if ELB health check is selected, ELB sends heartbeat messages to instances through an intranet. To ensure that the ELB health check can be performed properly, ensure that your instances can be accessed through that intranet. To check this, perform the following steps:</p>
|
<p id="as_faq_0030__p469092603710">It should be noted that if ELB health check is selected, ELB sends heartbeat messages to instances through an intranet. To ensure that the ELB health check can be performed properly, ensure that your instances can be accessed through that intranet. To check this, perform the following steps:</p>
|
||||||
<ol id="as_faq_0030__ol62230915153427"><li id="as_faq_0030__li25183589153427"><a name="as_faq_0030__li25183589153427"></a><a name="li25183589153427"></a>In the <strong id="as_faq_0030__b842352706144630">Listener</strong> area, locate the row containing the target listener and click <strong id="as_faq_0030__b842352706144656">View</strong> in the <strong id="as_faq_0030__b84235270614471">Health Check</strong> column. A dialog box is displayed.<ul id="as_faq_0030__ul3692420316598"><li id="as_faq_0030__li5590400017135"><strong id="as_faq_0030__b842352706124639">Health Check Protocol</strong>: Ensure that the protocol has been configured and port has been enabled for the ECS instance to be checked.</li><li id="as_faq_0030__li4648663615238"><strong id="as_faq_0030__b842352706124824">Check Path</strong>: If HTTP is used for the health check, ensure that the health check path for the instance is correct.</li></ul>
|
<ol id="as_faq_0030__ol62230915153427"><li id="as_faq_0030__li25183589153427"><a name="as_faq_0030__li25183589153427"></a><a name="li25183589153427"></a>In the <strong id="as_faq_0030__b842352706144630">Listener</strong> area, locate the row containing the target listener and click <strong id="as_faq_0030__b842352706144656">View</strong> in the <strong id="as_faq_0030__b84235270614471">Health Check</strong> column. A dialog box is displayed.<ul id="as_faq_0030__ul3692420316598"><li id="as_faq_0030__li5590400017135"><strong id="as_faq_0030__b842352706124639">Health Check Protocol</strong>: Ensure that the protocol has been configured and port has been enabled for the ECS instance to be checked.</li><li id="as_faq_0030__li4648663615238"><strong id="as_faq_0030__b842352706124824">Check Path</strong>: If HTTP is used for the health check, ensure that the health check path for the instance is correct.</li></ul>
|
||||||
</li><li id="as_faq_0030__li732115615238">Confirm that there is no software such as firewall on the instance blocking the source IP address used for performing the health check.</li><li id="as_faq_0030__li63971268144635">Confirm that the rules of instance security groups and network ACL allow access from 100.125.0.0/16, and configure the protocol and port used for health check. Obtain the health check protocol and port from the dialog box displayed in step <a href="#as_faq_0030__li25183589153427">1</a>.<ul id="as_faq_0030__ul2742412214474"><li id="as_faq_0030__li4549051114474">If the default type of health check is used, service ports of the instances must be enabled.</li><li id="as_faq_0030__li676141914474">If the health check port is different from service ports of the instances, communication between the service ports and health check port must be enabled.</li></ul>
|
</li><li id="as_faq_0030__li732115615238">Confirm that there is no software such as firewall on the instance blocking the source IP address used for performing the health check.</li><li id="as_faq_0030__li63971268144635">Confirm that the rules of instance security groups and network ACL allow access from 100.125.0.0/16, and configure the protocol and port used for health check. Obtain the health check protocol and port from the dialog box displayed in step <a href="#as_faq_0030__li25183589153427">1</a>.<ul id="as_faq_0030__ul2742412214474"><li id="as_faq_0030__li4549051114474">If the default type of health check is used, service ports of the instances must be enabled.</li><li id="as_faq_0030__li676141914474">If the health check port is different from service ports of the instances, communication between the service ports and health check port must be enabled.</li></ul>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<a name="as_faq_0035"></a><a name="as_faq_0035"></a>
|
<a name="as_faq_0035"></a><a name="as_faq_0035"></a>
|
||||||
|
|
||||||
<h1 class="topictitle1">What Is a Cooldown Period and Why Is It Required?</h1>
|
<h1 class="topictitle1">What Is a Cooldown Period and Why Is It Required?</h1>
|
||||||
<div id="body1535094648179"><p id="as_faq_0035__p8060118">A cooldown period specifies how long any alarm-triggered scaling action will be disallowed after a previous scaling action is complete. This cooldown period does not work for scheduled or periodic scaling actions.</p>
|
<div id="body1535094648179"><p id="as_faq_0035__p8060118">A cooldown period is the period of time between two scaling actions. AS recounts the cooldown period after a scaling action is complete. During the cooldown period, AS denies all scaling requests triggered by alarm-based policies. Scaling requests triggered manually or by scheduled or periodic policies are not affected.</p>
|
||||||
<p id="as_faq_0035__p167844813020">Before an instance is put into use after it is added to the AS group, it takes 2 to 3 minutes to execute the configuration script to install and configure applications. The time varies depending on many factors, such as the instance specifications and startup scripts. If an instance is put into use without cooldown, the system will keep adding instances until the load decreases. As the new instances take over services, the system will detect that the load is too low and start removing instances from the AS group. A cooldown prevents the AS group from repeatedly triggering unnecessary scaling actions.</p>
|
<p id="as_faq_0035__p167844813020">Before an instance is put into use after it is added to the AS group, it takes 2 to 3 minutes to execute the configuration script to install and configure applications. The time varies depending on many factors, such as the instance specifications and startup scripts. If an instance is put into use without cooldown, the system will keep adding instances until the load decreases. As the new instances take over services, the system will detect that the load is too low and start removing instances from the AS group. A cooldown prevents the AS group from repeatedly triggering unnecessary scaling actions.</p>
|
||||||
<p id="as_faq_0035__p528882313296">For example:</p>
|
<p id="as_faq_0035__p528882313296">For example:</p>
|
||||||
<p id="as_faq_0035__p1428972372911">When a traffic peak occurs, an alarm policy is triggered and AS automatically adds an instance to the AS group to help handle the increased load. However, it takes time for the instance to start. After the instance is started, it takes time to receive requests from ELB. During this period, alarms may continue to be triggered and instances may continue to be added. If you set a cooldown time, after an instance is started, AS stops adding new instances in response to the alarms until the specified period of time (300 seconds by default) passes. That way the newly started instance has time to start processing application traffic. If an alarm is triggered again after the cooldown period elapses, AS starts another instance and the cooldown period starts up again.</p>
|
<p id="as_faq_0035__p1428972372911">When a traffic peak occurs, an alarm policy is triggered and AS automatically adds an instance to the AS group to help handle the increased load. However, it takes time for the instance to start. After the instance is started, it takes time to receive requests from ELB. During this period, alarms may continue to be triggered and instances may continue to be added. If you set a cooldown time, after an instance is started, AS stops adding new instances in response to the alarms until the specified period of time (300 seconds by default) passes. That way the newly started instance has time to start processing application traffic. If an alarm is triggered again after the cooldown period elapses, AS starts another instance and the cooldown period starts up again.</p>
|
||||||
|
@ -1,11 +1,7 @@
|
|||||||
<a name="as_faq_1101"></a><a name="as_faq_1101"></a>
|
<a name="as_faq_1101"></a><a name="as_faq_1101"></a>
|
||||||
|
|
||||||
|
|
||||||
<h1 class="topictitle1">General</h1>
|
<h1 class="topictitle1">General</h1>
|
||||||
|
<div id="body1542977010642"></div>
|
||||||
<div id="body1542977010642"><p id="as_faq_1101__p8060118"></p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<ul class="ullinks">
|
<ul class="ullinks">
|
||||||
<li class="ulchildlink"><strong><a href="as_faq_0003.html">What Are Restrictions on Using AS?</a></strong><br>
|
<li class="ulchildlink"><strong><a href="as_faq_0003.html">What Are Restrictions on Using AS?</a></strong><br>
|
||||||
|
@ -1,11 +1,7 @@
|
|||||||
<a name="as_faq_1102"></a><a name="as_faq_1102"></a>
|
<a name="as_faq_1102"></a><a name="as_faq_1102"></a>
|
||||||
|
|
||||||
|
|
||||||
<h1 class="topictitle1">AS Group</h1>
|
<h1 class="topictitle1">AS Group</h1>
|
||||||
|
<div id="body1542977010642"></div>
|
||||||
<div id="body1542977010642"><p id="as_faq_1102__p8060118"></p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<ul class="ullinks">
|
<ul class="ullinks">
|
||||||
<li class="ulchildlink"><strong><a href="as_faq_0025.html">What Can I Do If the AS Group Fails to Be Enabled?</a></strong><br>
|
<li class="ulchildlink"><strong><a href="as_faq_0025.html">What Can I Do If the AS Group Fails to Be Enabled?</a></strong><br>
|
||||||
|
@ -1,11 +1,7 @@
|
|||||||
<a name="as_faq_1103"></a><a name="as_faq_1103"></a>
|
<a name="as_faq_1103"></a><a name="as_faq_1103"></a>
|
||||||
|
|
||||||
|
|
||||||
<h1 class="topictitle1">AS Policy</h1>
|
<h1 class="topictitle1">AS Policy</h1>
|
||||||
|
<div id="body1542977010643"></div>
|
||||||
<div id="body1542977010643"><p id="as_faq_1103__p8060118"></p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<ul class="ullinks">
|
<ul class="ullinks">
|
||||||
<li class="ulchildlink"><strong><a href="as_faq_0009.html">How Many AS Policies Can I Enable?</a></strong><br>
|
<li class="ulchildlink"><strong><a href="as_faq_0009.html">How Many AS Policies Can I Enable?</a></strong><br>
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
<a name="as_pro_0003"></a><a name="as_pro_0003"></a>
|
<a name="as_pro_0003"></a><a name="as_pro_0003"></a>
|
||||||
|
|
||||||
<h1 class="topictitle1">Constraints</h1>
|
<h1 class="topictitle1">Constraints</h1>
|
||||||
<div id="body8662426"><p id="as_pro_0003__en-us_topic_0190954113_p23783925164659">AS has the following constraints:</p>
|
<div id="body8662426"><div class="section" id="as_pro_0003__section1484224593"><h4 class="sectiontitle">Function Restrictions</h4><p id="as_pro_0003__p299315511116">AS has the following restrictions:</p>
|
||||||
<ul id="as_pro_0003__en-us_topic_0190954113_ul4951999591632"><li id="as_pro_0003__en-us_topic_0190954113_li1269314914368">Only applications that are stateless and can be horizontally scaled can run on instances in an AS group.<div class="note" id="as_pro_0003__note3800730426"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="as_pro_0003__ul1985811519611"><li id="as_pro_0003__li695213151613">A stateless process or application can be understood in isolation. There is no stored knowledge of or reference to past transactions. Each transaction is made as if from scratch for the first time.<p id="as_pro_0003__p1816717381365"><a name="as_pro_0003__li695213151613"></a><a name="li695213151613"></a>ECS instances where stateless applications are running do not store data that needs to be persisted locally.</p>
|
</div>
|
||||||
|
<ul id="as_pro_0003__en-us_topic_0190954113_ul4951999591632"><li id="as_pro_0003__en-us_topic_0190954113_li1269314914368">Only applications that are stateless and horizontally scalable can run on instances in an AS group.<div class="note" id="as_pro_0003__note3800730426"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="as_pro_0003__ul1985811519611"><li id="as_pro_0003__li695213151613">A stateless process or application can be understood in isolation. There is no stored knowledge of or reference to past transactions. Each transaction is made as if from scratch for the first time.<p id="as_pro_0003__p1816717381365"><a name="as_pro_0003__li695213151613"></a><a name="li695213151613"></a>ECS instances where stateless applications are running do not store data that needs to be persisted locally.</p>
|
||||||
<p id="as_pro_0003__p166494248610">Think of stateless transactions as a vending machine: a single request and a response.</p>
|
<p id="as_pro_0003__p166494248610">Think of stateless transactions as a vending machine: a single request and a response.</p>
|
||||||
</li><li id="as_pro_0003__li15975415575">Stateful applications and processes, however, are those that can be returned to again and again. They are performed in the context of previous transactions and the current transaction may be affected by what happened during previous transactions.<p id="as_pro_0003__p113969301176"><a name="as_pro_0003__li15975415575"></a><a name="li15975415575"></a>ECS instances where stateful applications are running store data that needs to be persisted locally.</p>
|
</li><li id="as_pro_0003__li15975415575">Stateful applications and processes, however, are those that can be returned to again and again. They are performed in the context of previous transactions and the current transaction may be affected by what happened during previous transactions.<p id="as_pro_0003__p113969301176"><a name="as_pro_0003__li15975415575"></a><a name="li15975415575"></a>ECS instances where stateful applications are running store data that needs to be persisted locally.</p>
|
||||||
<p id="as_pro_0003__p195718174710">Stateful transactions are performed repeatedly, such as online banking or e-mail, which are performed in the context of previous transactions.</p>
|
<p id="as_pro_0003__p195718174710">Stateful transactions are performed repeatedly, such as online banking or e-mail, which are performed in the context of previous transactions.</p>
|
||||||
@ -11,54 +12,56 @@
|
|||||||
</li><li id="as_pro_0003__en-us_topic_0190954113_li1104533191632">AS can release ECS instances in an AS group automatically, so the instances cannot be used to save application status information (such as session statuses) or related data (such as database data and logs). If the application status or related data must be saved, you can store the information on separate servers.</li><li id="as_pro_0003__en-us_topic_0190954113_li1748401112366">AS does not support capacity expansion or deduction of instance vCPUs and memory.</li><li id="as_pro_0003__en-us_topic_0190954113_li44454137194329">AS requires authentication provided by Identity and Access Management (IAM).<p id="as_pro_0003__en-us_topic_0190954113_p34297633194334"><a name="as_pro_0003__en-us_topic_0190954113_li44454137194329"></a><a name="en-us_topic_0190954113_li44454137194329"></a>AutoScaling Administrator requires permissions of Tenant Guest, Server Administrator, CES Administrator, and ELB Administrator.</p>
|
</li><li id="as_pro_0003__en-us_topic_0190954113_li1104533191632">AS can release ECS instances in an AS group automatically, so the instances cannot be used to save application status information (such as session statuses) or related data (such as database data and logs). If the application status or related data must be saved, you can store the information on separate servers.</li><li id="as_pro_0003__en-us_topic_0190954113_li1748401112366">AS does not support capacity expansion or deduction of instance vCPUs and memory.</li><li id="as_pro_0003__en-us_topic_0190954113_li44454137194329">AS requires authentication provided by Identity and Access Management (IAM).<p id="as_pro_0003__en-us_topic_0190954113_p34297633194334"><a name="as_pro_0003__en-us_topic_0190954113_li44454137194329"></a><a name="en-us_topic_0190954113_li44454137194329"></a>AutoScaling Administrator requires permissions of Tenant Guest, Server Administrator, CES Administrator, and ELB Administrator.</p>
|
||||||
<div class="note" id="as_pro_0003__en-us_topic_0190954113_note54953435195113"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="as_pro_0003__en-us_topic_0190954113_p24818872195113">If the Cloud Eye administrator is not available, you can only use an existing alarm to create an alarm policy. If the ELB administrator is not available, you can still use existing load balancers.</p>
|
<div class="note" id="as_pro_0003__en-us_topic_0190954113_note54953435195113"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="as_pro_0003__en-us_topic_0190954113_p24818872195113">If the Cloud Eye administrator is not available, you can only use an existing alarm to create an alarm policy. If the ELB administrator is not available, you can still use existing load balancers.</p>
|
||||||
</div></div>
|
</div></div>
|
||||||
</li><li id="as_pro_0003__en-us_topic_0190954113_li1900782891632">AS resources must comply with quota requirements listed in <a href="#as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_d0e195">Table 1</a>.
|
</li></ul>
|
||||||
<div class="tablenoborder"><a name="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_d0e195"></a><a name="en-us_topic_0190954113_en-us_topic_0026721513_d0e195"></a><table cellpadding="4" cellspacing="0" summary="" id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_d0e195" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Quotas</caption><thead align="left"><tr id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_row10238520"><th align="left" class="cellrowborder" valign="top" width="18.48%" id="mcps1.3.2.5.2.2.4.1.1"><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p24013807">Item</p>
|
<div class="section" id="as_pro_0003__section67334445817"><h4 class="sectiontitle">Quotas</h4><div class="p" id="as_pro_0003__p4217411155915">AS resources must comply with quota requirements listed in <a href="#as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_d0e195">Table 1</a>.
|
||||||
|
<div class="tablenoborder"><a name="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_d0e195"></a><a name="en-us_topic_0190954113_en-us_topic_0026721513_d0e195"></a><table cellpadding="4" cellspacing="0" summary="" id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_d0e195" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Quotas</caption><thead align="left"><tr id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_row10238520"><th align="left" class="cellrowborder" valign="top" width="18.459999999999997%" id="mcps1.3.3.2.2.2.4.1.1"><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p24013807">Item</p>
|
||||||
</th>
|
</th>
|
||||||
<th align="left" class="cellrowborder" valign="top" width="63.22%" id="mcps1.3.2.5.2.2.4.1.2"><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p66070243">Description</p>
|
<th align="left" class="cellrowborder" valign="top" width="63.239999999999995%" id="mcps1.3.3.2.2.2.4.1.2"><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p66070243">Description</p>
|
||||||
</th>
|
</th>
|
||||||
<th align="left" class="cellrowborder" valign="top" width="18.3%" id="mcps1.3.2.5.2.2.4.1.3"><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p50089467">Default</p>
|
<th align="left" class="cellrowborder" valign="top" width="18.3%" id="mcps1.3.3.2.2.2.4.1.3"><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p50089467">Default</p>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody><tr id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_row4890297"><td class="cellrowborder" valign="top" width="18.48%" headers="mcps1.3.2.5.2.2.4.1.1 "><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p60569775">AS group</p>
|
<tbody><tr id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_row4890297"><td class="cellrowborder" valign="top" width="18.459999999999997%" headers="mcps1.3.3.2.2.2.4.1.1 "><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p60569775">AS group</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="63.22%" headers="mcps1.3.2.5.2.2.4.1.2 "><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p7204713">Maximum number of AS groups per region per account</p>
|
<td class="cellrowborder" valign="top" width="63.239999999999995%" headers="mcps1.3.3.2.2.2.4.1.2 "><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p7204713">Maximum number of AS groups per region per account</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="18.3%" headers="mcps1.3.2.5.2.2.4.1.3 "><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p46710863">25</p>
|
<td class="cellrowborder" valign="top" width="18.3%" headers="mcps1.3.3.2.2.2.4.1.3 "><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p46710863">25</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_row28025763"><td class="cellrowborder" valign="top" width="18.48%" headers="mcps1.3.2.5.2.2.4.1.1 "><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p55494360">AS configuration</p>
|
<tr id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_row28025763"><td class="cellrowborder" valign="top" width="18.459999999999997%" headers="mcps1.3.3.2.2.2.4.1.1 "><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p55494360">AS configuration</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="63.22%" headers="mcps1.3.2.5.2.2.4.1.2 "><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p65858198">Maximum number of AS configurations per region per account</p>
|
<td class="cellrowborder" valign="top" width="63.239999999999995%" headers="mcps1.3.3.2.2.2.4.1.2 "><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p65858198">Maximum number of AS configurations per region per account</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="18.3%" headers="mcps1.3.2.5.2.2.4.1.3 "><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p32913796">100</p>
|
<td class="cellrowborder" valign="top" width="18.3%" headers="mcps1.3.3.2.2.2.4.1.3 "><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p32913796">100</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_row36292894"><td class="cellrowborder" valign="top" width="18.48%" headers="mcps1.3.2.5.2.2.4.1.1 "><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p54043292">AS policy</p>
|
<tr id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_row36292894"><td class="cellrowborder" valign="top" width="18.459999999999997%" headers="mcps1.3.3.2.2.2.4.1.1 "><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p54043292">AS policy</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="63.22%" headers="mcps1.3.2.5.2.2.4.1.2 "><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p15430535">Maximum number of AS policies per AS group</p>
|
<td class="cellrowborder" valign="top" width="63.239999999999995%" headers="mcps1.3.3.2.2.2.4.1.2 "><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p15430535">Maximum number of AS policies per AS group</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="18.3%" headers="mcps1.3.2.5.2.2.4.1.3 "><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p41913798">50</p>
|
<td class="cellrowborder" valign="top" width="18.3%" headers="mcps1.3.3.2.2.2.4.1.3 "><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p41913798">50</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_row20625874"><td class="cellrowborder" valign="top" width="18.48%" headers="mcps1.3.2.5.2.2.4.1.1 "><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p60083059">Instance</p>
|
<tr id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_row20625874"><td class="cellrowborder" valign="top" width="18.459999999999997%" headers="mcps1.3.3.2.2.2.4.1.1 "><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p60083059">Instance</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="63.22%" headers="mcps1.3.2.5.2.2.4.1.2 "><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p34889605">Maximum number of instances per AS group</p>
|
<td class="cellrowborder" valign="top" width="63.239999999999995%" headers="mcps1.3.3.2.2.2.4.1.2 "><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p34889605">Maximum number of instances per AS group</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="18.3%" headers="mcps1.3.2.5.2.2.4.1.3 "><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p7485743">200</p>
|
<td class="cellrowborder" valign="top" width="18.3%" headers="mcps1.3.3.2.2.2.4.1.3 "><p id="as_pro_0003__en-us_topic_0190954113_en-us_topic_0026721513_p7485743">200</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="as_pro_0003__en-us_topic_0190954113_row641416965611"><td class="cellrowborder" valign="top" width="18.48%" headers="mcps1.3.2.5.2.2.4.1.1 "><p id="as_pro_0003__en-us_topic_0190954113_p74578551223">Bandwidth scaling policy</p>
|
<tr id="as_pro_0003__en-us_topic_0190954113_row641416965611"><td class="cellrowborder" valign="top" width="18.459999999999997%" headers="mcps1.3.3.2.2.2.4.1.1 "><p id="as_pro_0003__en-us_topic_0190954113_p74578551223">Bandwidth scaling policy</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="63.22%" headers="mcps1.3.2.5.2.2.4.1.2 "><p id="as_pro_0003__en-us_topic_0190954113_p84140917569">Maximum number of bandwidth scaling policies per region per account</p>
|
<td class="cellrowborder" valign="top" width="63.239999999999995%" headers="mcps1.3.3.2.2.2.4.1.2 "><p id="as_pro_0003__en-us_topic_0190954113_p84140917569">Maximum number of bandwidth scaling policies per region per account</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="18.3%" headers="mcps1.3.2.5.2.2.4.1.3 "><p id="as_pro_0003__en-us_topic_0190954113_p104150918564">50</p>
|
<td class="cellrowborder" valign="top" width="18.3%" headers="mcps1.3.3.2.2.2.4.1.3 "><p id="as_pro_0003__en-us_topic_0190954113_p104150918564">50</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</li></ul>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div class="familylinks">
|
<div class="familylinks">
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr id="as_pro_0006__en-us_topic_0190954097_row187602196425"><td class="cellrowborder" valign="top" width="16.068393160683932%" headers="mcps1.3.3.2.5.1.1 "><p id="as_pro_0006__en-us_topic_0190954097_p77613196420">Cloud Eye</p>
|
<tr id="as_pro_0006__en-us_topic_0190954097_row187602196425"><td class="cellrowborder" valign="top" width="16.068393160683932%" headers="mcps1.3.3.2.5.1.1 "><p id="as_pro_0006__en-us_topic_0190954097_p77613196420">Cloud Eye</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="23.767623237676233%" headers="mcps1.3.3.2.5.1.2 "><p id="as_pro_0006__en-us_topic_0190954097_p2260113619349">If an alarm-triggered policy is configured, AS triggers scaling actions when an alarm condition specified in Cloud Eye is met.</p>
|
<td class="cellrowborder" valign="top" width="23.767623237676233%" headers="mcps1.3.3.2.5.1.2 "><p id="as_pro_0006__en-us_topic_0190954097_p2260113619349">If an alarm-triggered policy is configured, AS triggers scaling actions when an alarm triggering condition specified in Cloud Eye is met.</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="20.297970202979705%" headers="mcps1.3.3.2.5.1.3 "><p id="as_pro_0006__en-us_topic_0190954097_p0761181954215">AS scales resources based on ECS instance status monitored by Cloud Eye.</p>
|
<td class="cellrowborder" valign="top" width="20.297970202979705%" headers="mcps1.3.3.2.5.1.3 "><p id="as_pro_0006__en-us_topic_0190954097_p0761181954215">AS scales resources based on ECS instance status monitored by Cloud Eye.</p>
|
||||||
</td>
|
</td>
|
||||||
@ -54,7 +54,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr id="as_pro_0006__en-us_topic_0190954097_row155695241277"><td class="cellrowborder" valign="top" width="16.068393160683932%" headers="mcps1.3.3.2.5.1.1 "><p id="as_pro_0006__en-us_topic_0190954097_p65692241774">Cloud Trace Service (CTS)</p>
|
<tr id="as_pro_0006__en-us_topic_0190954097_row155695241277"><td class="cellrowborder" valign="top" width="16.068393160683932%" headers="mcps1.3.3.2.5.1.1 "><p id="as_pro_0006__en-us_topic_0190954097_p65692241774">Cloud Trace Service (CTS)</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="23.767623237676233%" headers="mcps1.3.3.2.5.1.2 "><p id="as_pro_0006__en-us_topic_0190954097_p825073663418">With CTS, you can record AS operation logs for viewing, auditing, and backtracking.</p>
|
<td class="cellrowborder" valign="top" width="23.767623237676233%" headers="mcps1.3.3.2.5.1.2 "><p id="as_pro_0006__en-us_topic_0190954097_p825073663418">With CTS, you can record AS operation logs for view, audit, and backtracking.</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="20.297970202979705%" headers="mcps1.3.3.2.5.1.3 "><p id="as_pro_0006__en-us_topic_0190954097_p656913241072">Log audit</p>
|
<td class="cellrowborder" valign="top" width="20.297970202979705%" headers="mcps1.3.3.2.5.1.3 "><p id="as_pro_0006__en-us_topic_0190954097_p656913241072">Log audit</p>
|
||||||
</td>
|
</td>
|
||||||
@ -70,16 +70,6 @@
|
|||||||
<td class="cellrowborder" valign="top" width="39.86601339866013%" headers="mcps1.3.3.2.5.1.4 "><p id="as_pro_0006__en-us_topic_0190954097_p756918242716"><a href="as_06_0104.html">Adding Tags to AS Groups and Instances</a></p>
|
<td class="cellrowborder" valign="top" width="39.86601339866013%" headers="mcps1.3.3.2.5.1.4 "><p id="as_pro_0006__en-us_topic_0190954097_p756918242716"><a href="as_06_0104.html">Adding Tags to AS Groups and Instances</a></p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="as_pro_0006__row154053175417"><td class="cellrowborder" valign="top" width="16.068393160683932%" headers="mcps1.3.3.2.5.1.1 "><p id="as_pro_0006__p741133120540">Relational Database Service (RDS)</p>
|
|
||||||
</td>
|
|
||||||
<td class="cellrowborder" valign="top" width="23.767623237676233%" headers="mcps1.3.3.2.5.1.2 "><p id="as_pro_0006__p2411831165415">The prerequisites for directly accessing an RDS DB instance from a scaled instance are as follows:</p>
|
|
||||||
<ul id="as_pro_0006__ul11109494310"><li id="as_pro_0006__li8109159236">The scaled instance and the destination RDS DB instance must be in the same VPC.</li><li id="as_pro_0006__li211016911320">The scaled instance must be allowed by the security group to access RDS DB instances.</li></ul>
|
|
||||||
</td>
|
|
||||||
<td class="cellrowborder" valign="top" width="20.297970202979705%" headers="mcps1.3.3.2.5.1.3 "><p id="as_pro_0006__p20412318545">The scaled instances can access RDS DB instances.</p>
|
|
||||||
</td>
|
|
||||||
<td class="cellrowborder" valign="top" width="39.86601339866013%" headers="mcps1.3.3.2.5.1.4 "><p id="as_pro_0006__p59789554403">Connecting to an MySQL DB Instance Through a Private Network</p>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
@ -5,10 +5,10 @@
|
|||||||
<p id="as_pro_0007__en-us_topic_0190954161_p12310171385113">With IAM, you can create IAM users and assign permissions to the users to control their access to specific resources. For example, you can assign permissions to allow some software developers to use AS resources but disallow them to delete or perform any high-risk operations on the resources.</p>
|
<p id="as_pro_0007__en-us_topic_0190954161_p12310171385113">With IAM, you can create IAM users and assign permissions to the users to control their access to specific resources. For example, you can assign permissions to allow some software developers to use AS resources but disallow them to delete or perform any high-risk operations on the resources.</p>
|
||||||
<p id="as_pro_0007__en-us_topic_0190954161_p12311181385111">If your account does not need individual IAM users for permissions management, skip this section.</p>
|
<p id="as_pro_0007__en-us_topic_0190954161_p12311181385111">If your account does not need individual IAM users for permissions management, skip this section.</p>
|
||||||
<p id="as_pro_0007__p1443616410224">IAM can be used free of charge. You pay only for the resources in your account. For more information about IAM, see <a href="https://docs.otc.t-systems.com/en-us/usermanual/iam/iam_01_0026.html" target="_blank" rel="noopener noreferrer">IAM Service Overview</a>.</p>
|
<p id="as_pro_0007__p1443616410224">IAM can be used free of charge. You pay only for the resources in your account. For more information about IAM, see <a href="https://docs.otc.t-systems.com/en-us/usermanual/iam/iam_01_0026.html" target="_blank" rel="noopener noreferrer">IAM Service Overview</a>.</p>
|
||||||
<div class="section" id="as_pro_0007__section460778164212"><h4 class="sectiontitle">AS Permissions</h4><p id="as_pro_0007__p651414344427">By default, new IAM users do not have any permissions assigned. You need to add them to one or more groups and attach policies or roles to these groups so that these users can inherit permissions from the groups and perform specified operations on cloud services.</p>
|
<div class="section" id="as_pro_0007__section460778164212"><h4 class="sectiontitle">AS Permissions</h4><p id="as_pro_0007__p651414344427">By default, new IAM users do not have any permissions assigned. You need to add them to one or more groups and attach policies or roles to these groups. Users inherit permissions from the groups to which they are added and can perform specified operations on cloud services based on the permissions.</p>
|
||||||
<p id="as_pro_0007__p17180161414505">When you grant AS permissions to a user group, set <strong id="as_pro_0007__b811583982411">Scope</strong> to <strong id="as_pro_0007__b911673914244">Region-specific projects</strong> and then select projects for the permissions to take effect. If you select <strong id="as_pro_0007__b6119193992411">All projects</strong>, the permissions will take effect for the user group in all region-specific projects. When accessing AS, the users need to switch to a region where they have been authorized to use this service.</p>
|
<p id="as_pro_0007__p17180161414505">When you grant AS permissions to a user group, set <strong id="as_pro_0007__b811583982411">Scope</strong> to <strong id="as_pro_0007__b911673914244">Region-specific projects</strong> and then select projects for the permissions to take effect. If you select <strong id="as_pro_0007__b6119193992411">All projects</strong>, the permissions will take effect for the user group in all region-specific projects. When accessing AS, the users need to switch to a region where they have been authorized to use this service.</p>
|
||||||
<p id="as_pro_0007__p1826389922">You can grant users permissions by using roles and policies.</p>
|
<p id="as_pro_0007__p1826389922">You can grant users permissions by using roles and policies.</p>
|
||||||
<ul id="as_pro_0007__ul1626419914219"><li id="as_pro_0007__li1987103222719">Roles: A type of coarse-grained authorization mechanism that defines permissions related to user responsibilities. This mechanism provides only a limited number of service-level roles for authorization. When using roles to grant permissions, you need to also assign other roles on which the permissions depend to take effect. However, roles are not an ideal choice for fine-grained authorization and secure access control.</li><li id="as_pro_0007__li7191228424">Policies: A type of fine-grained authorization mechanism that defines permissions required to perform operations on specific cloud resources under certain conditions. This mechanism allows for more flexible policy-based authorization, meeting requirements for secure access control. For example, you can grant AS users only the permissions for managing a certain type of ECSs. Most policies define permissions based on APIs. For the API actions supported by AS, see "Permissions Policies and Supported Actions" in <em id="as_pro_0007__i671903525017">Auto Scaling API Reference</em>.<p id="as_pro_0007__p596020141510"><a href="#as_pro_0007__table199851925151514">Table 1</a> lists all the system policies supported by AS.</p>
|
<ul id="as_pro_0007__ul1626419914219"><li id="as_pro_0007__li1987103222719">Roles: A type of coarse-grained authorization mechanism that defines permissions related to user responsibilities. This mechanism provides only a limited number of service-level roles for authorization. When using roles to grant permissions, you also also need to attach any existing role dependencies. However, roles are not an ideal choice for fine-grained authorization and secure access control.</li><li id="as_pro_0007__li7191228424">Policies: A type of fine-grained authorization mechanism that defines permissions required to perform operations on specific cloud resources under certain conditions. This mechanism allows for more flexible policy-based authorization, meeting requirements for secure access control. For example, you can grant AS users only the permissions for managing a certain type of ECSs. Most policies define permissions based on APIs. For the API actions supported by AS, see "Permissions Policies and Supported Actions" in <em id="as_pro_0007__i671903525017">Auto Scaling API Reference</em>.<p id="as_pro_0007__p596020141510"><a href="#as_pro_0007__table199851925151514">Table 1</a> lists all the system policies supported by AS.</p>
|
||||||
|
|
||||||
<div class="tablenoborder"><a name="as_pro_0007__table199851925151514"></a><a name="table199851925151514"></a><table cellpadding="4" cellspacing="0" summary="" id="as_pro_0007__table199851925151514" frame="border" border="1" rules="all"><caption><b>Table 1 </b>System-defined permissions supported by AS</caption><thead align="left"><tr id="as_pro_0007__row179861725191510"><th align="left" class="cellrowborder" valign="top" width="21.54%" id="mcps1.3.5.5.2.3.2.5.1.1"><p id="as_pro_0007__p898652517154">Policy Name</p>
|
<div class="tablenoborder"><a name="as_pro_0007__table199851925151514"></a><a name="table199851925151514"></a><table cellpadding="4" cellspacing="0" summary="" id="as_pro_0007__table199851925151514" frame="border" border="1" rules="all"><caption><b>Table 1 </b>System-defined permissions supported by AS</caption><thead align="left"><tr id="as_pro_0007__row179861725191510"><th align="left" class="cellrowborder" valign="top" width="21.54%" id="mcps1.3.5.5.2.3.2.5.1.1"><p id="as_pro_0007__p898652517154">Policy Name</p>
|
||||||
</th>
|
</th>
|
||||||
@ -22,7 +22,7 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody><tr id="as_pro_0007__row20986825181515"><td class="cellrowborder" valign="top" width="21.54%" headers="mcps1.3.5.5.2.3.2.5.1.1 "><p id="as_pro_0007__p1098652519155">AutoScaling FullAccess</p>
|
<tbody><tr id="as_pro_0007__row20986825181515"><td class="cellrowborder" valign="top" width="21.54%" headers="mcps1.3.5.5.2.3.2.5.1.1 "><p id="as_pro_0007__p1098652519155">AutoScaling FullAccess</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="41.61%" headers="mcps1.3.5.5.2.3.2.5.1.2 "><p id="as_pro_0007__p159861825121518">All operation permissions on all AS resources</p>
|
<td class="cellrowborder" valign="top" width="41.61%" headers="mcps1.3.5.5.2.3.2.5.1.2 "><p id="as_pro_0007__p159861825121518">Full permissions for all AS resources</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="14.75%" headers="mcps1.3.5.5.2.3.2.5.1.3 "><p id="as_pro_0007__p098652511153">System-defined policy</p>
|
<td class="cellrowborder" valign="top" width="14.75%" headers="mcps1.3.5.5.2.3.2.5.1.3 "><p id="as_pro_0007__p098652511153">System-defined policy</p>
|
||||||
</td>
|
</td>
|
||||||
@ -31,7 +31,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr id="as_pro_0007__row59861225121515"><td class="cellrowborder" valign="top" width="21.54%" headers="mcps1.3.5.5.2.3.2.5.1.1 "><p id="as_pro_0007__p49865252157">AutoScaling ReadOnlyAccess</p>
|
<tr id="as_pro_0007__row59861225121515"><td class="cellrowborder" valign="top" width="21.54%" headers="mcps1.3.5.5.2.3.2.5.1.1 "><p id="as_pro_0007__p49865252157">AutoScaling ReadOnlyAccess</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="41.61%" headers="mcps1.3.5.5.2.3.2.5.1.2 "><p id="as_pro_0007__p1098692521510">Read-only permissions on all AS resources</p>
|
<td class="cellrowborder" valign="top" width="41.61%" headers="mcps1.3.5.5.2.3.2.5.1.2 "><p id="as_pro_0007__p1098692521510">Read-only permissions for all AS resources</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="14.75%" headers="mcps1.3.5.5.2.3.2.5.1.3 "><p id="as_pro_0007__p8986625141518">System-defined policy</p>
|
<td class="cellrowborder" valign="top" width="14.75%" headers="mcps1.3.5.5.2.3.2.5.1.3 "><p id="as_pro_0007__p8986625141518">System-defined policy</p>
|
||||||
</td>
|
</td>
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr id="as_pro_0007__row10986132521517"><td class="cellrowborder" valign="top" width="21.54%" headers="mcps1.3.5.5.2.3.2.5.1.1 "><p id="as_pro_0007__p6986122511159">AutoScaling Administrator</p>
|
<tr id="as_pro_0007__row10986132521517"><td class="cellrowborder" valign="top" width="21.54%" headers="mcps1.3.5.5.2.3.2.5.1.1 "><p id="as_pro_0007__p6986122511159">AutoScaling Administrator</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="41.61%" headers="mcps1.3.5.5.2.3.2.5.1.2 "><p id="as_pro_0007__p179861025191514">All operation permissions on all AS resources</p>
|
<td class="cellrowborder" valign="top" width="41.61%" headers="mcps1.3.5.5.2.3.2.5.1.2 "><p id="as_pro_0007__p179861025191514">Full permissions for all AS resources</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="cellrowborder" valign="top" width="14.75%" headers="mcps1.3.5.5.2.3.2.5.1.3 "><p id="as_pro_0007__p2986172521514">System role</p>
|
<td class="cellrowborder" valign="top" width="14.75%" headers="mcps1.3.5.5.2.3.2.5.1.3 "><p id="as_pro_0007__p2986172521514">System role</p>
|
||||||
</td>
|
</td>
|
||||||
|
BIN
docs/as/umn/en-us_image_0000001696678850.png
Normal file
After Width: | Height: | Size: 565 B |
BIN
docs/as/umn/en-us_image_0000001696838310.png
Normal file
After Width: | Height: | Size: 180 B |
BIN
docs/as/umn/en-us_image_0000001696838318.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
docs/as/umn/en-us_image_0000001744598325.png
Normal file
After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 716 B After Width: | Height: | Size: 744 B |
BIN
docs/as/umn/en-us_image_0000001758618249.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
docs/as/umn/en-us_image_0000001763445960.png
Normal file
After Width: | Height: | Size: 38 KiB |