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