Create a scaling group

<p>You can carry out the custom setup of the maximum and minimum number of ECS instances as well as the associated ELB instances in an auto scaling group. This article describes how to create an auto scaling group.</p> <p><span style="font-size:16px"><strong>Prerequisite</strong></span></p> <p>You have created a VPC, please refer to Creating a VPC.</p> <p><span style="font-size:16px"><strong>Procedure</strong></span></p> <p>1. Log in to the<a href="https://pinganyun.com/ac/login?i=%2Fconsole%2FautoScaling%2Flist" target="_blank"> AS Console</a>.</p> <p>2. Click<strong> Auto Scaling Group</strong> and enter the<strong> Auto Scaling List</strong> page, and then click <strong>Create</strong> at the upper right corner.</p> <p>3. On the <strong>Create </strong>page, create an Auto Scaling group based on the following information.</p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="background-color:#ededed; vertical-align:top"> <p><strong>ConfigMap</strong></p> </td> <td style="background-color:#ededed; vertical-align:top"> <p><strong>Description</strong></p> </td> </tr> <tr> <td style="vertical-align:top"> <p>Region</p> </td> <td style="vertical-align:top"> <p>Select the region where the auto scaling group belongs to. Currently, Auto Scaling groups are only supported to be created in East China 1, South China 1.</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>Zone</p> </td> <td style="vertical-align:top"> <p>It is set by default.</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>VPC</p> </td> <td style="vertical-align:top"> <p>Select the VPC that the auto scaling group belongs to.</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>ELB</p> </td> <td style="vertical-align:top"> <p>If the auto scaling group is specified with ELB instance, it will automatically add ECS instances of the group into the specified ELB instances. The specified ELB instances will start health check by default.</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>Listener</p> </td> <td style="vertical-align:top"> <p>A listener provides such functions as listening to ports, protocols, ELB algorithm, health check and server resource pools. If there is no adequate listener instance, click <strong>Create</strong> to create a new listener instance.</p> <p><strong>Note:</strong> The listener shall not be mounted with resource pools.</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>Description</p> </td> <td style="vertical-align:top"> <p>Enter description information.</p> <p>&bull;&nbsp;&nbsp;&nbsp;&nbsp; Chinese characters, English letters, spaces, digits, &ldquo;@&rdquo;, underline (_), and dash (-).</p> <p>&bull;&nbsp;&nbsp;&nbsp;&nbsp; No more than 128 characters</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>Min Instance Number</p> </td> <td style="vertical-align:top"> <p>1-20 instances.</p> <p>When the ECS instance number of the auto scaling group is less than the minimum instance number, the auto scaling service will automatically add ECS instances to the group, to make sure that the ECS instances in the group is equal to the minimum instances.</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>Max Instance Number</p> </td> <td style="vertical-align:top"> <p>1-20 instances.</p> <p>When the ECS instance number of the auto scaling group exceeds the maximum instance number for auto scaling, the auto scaling service will automatically remove extra ECS instances from the group, to make sure that the ECS instances in the group is equal to the maximum instances.</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>Cooling Time</p> </td> <td style="vertical-align:top"> <p>300-9999 seconds.</p> <p>After an auto scaling activity (addition or removal of ECS instances) is completed, no other auto scaling activities will be carried out in the auto scaling group during the period of cooling time.</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>Exit Policy</p> </td> <td style="vertical-align:top"> <p>When you want to remove ECS instances from an auto scaling group, select the ECS instances to be removed based on this policy, which supports latest exit and first exit.</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>Instance Recall Mode</p> </td> <td style="vertical-align:top"> <p>Instance shutdown recovery mode is set by default.</p> </td> </tr> </tbody> </table> <p>4. Click <strong>Create</strong>.</p> <p><strong>Note: </strong>The Scaling Group is in the status of <strong>Stopped</strong> by default after being created and needs to be started after configuration.</p> <p><span style="font-size:16px"><strong>Result</strong></span></p> <p>&ldquo;<strong>Operation succeeded</strong>&rdquo; will appear at the bottom of the page, and you can view the auto scaling group just created on the <strong>Auto Scaling List </strong>page.</p> <p><!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"> <v:stroke joinstyle="miter"/> <v:formulas> <v:f eqn="if lineDrawn pixelLineWidth 0"/> <v:f eqn="sum @0 1 0"/> <v:f eqn="sum 0 0 @1"/> <v:f eqn="prod @2 1 2"/> <v:f eqn="prod @3 21600 pixelWidth"/> <v:f eqn="prod @3 21600 pixelHeight"/> <v:f eqn="sum @0 0 1"/> <v:f eqn="prod @6 1 2"/> <v:f eqn="prod @7 21600 pixelWidth"/> <v:f eqn="sum @8 21600 0"/> <v:f eqn="prod @7 21600 pixelHeight"/> <v:f eqn="sum @10 21600 0"/> </v:formulas> <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/> <o:lock v:ext="edit" aspectratio="t"/> </v:shapetype><v:shape id="图片_x0020_11" o:spid="_x0000_i1025" type="#_x0000_t75" alt="IMG_256" style='width:176pt;height:37pt; mso-position-horizontal-relative:page;mso-position-vertical-relative:page'> <v:imagedata src="file:///D:/Users/CHENJIAYU212/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png" o:title="IMG_256"/> </v:shape><![endif]--><img alt="IMG_256" src="file:///D:/Users/CHENJIAYU212/AppData/Local/Temp/msohtmlclip1/01/clip_image002.jpg" style="height:74px; width:352px" /></p> <p><strong>Subsequent Procedure</strong></p> <p>After completing the creation of an auto scaling group, you can click <strong>To configure </strong>in the menu item<strong> </strong>on the <strong>Auto Scaling List </strong>page<strong> </strong>to create<strong> Auto Scaling Configuration.</strong></p>
Did the above content solve your problem? Yes No
Please complete information!

Call us

400-151-8800

Email us

cloud@pingan.com

Online customer service

Instant reply

Technical Support

cloud products