Create a scaling rule

<p>Auto scaling rules define the operation of expansion or reduction specifically, for example, the addition or removal of N (a number) ECS instances. This article describes how to create auto scaling rules.</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> Scaling Rules</strong> and enter the<strong> Auto Scaling Rule</strong> page.</p> <p>3. Click <strong>Create</strong> at the upper right corner of the page, the page of <strong>Create Auto Scaling Rule </strong>will pop up.</p> <p>4. Create Auto Scaling rules based on the following information.</p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="background-color:#ededed; vertical-align:top; width:85px"> <p><strong>ConfigMap</strong></p> </td> <td style="background-color:#ededed; vertical-align:top; width:577px"> <p><strong>Description</strong></p> </td> </tr> <tr> <td style="vertical-align:top; width:85px"> <p>Rule Name</p> </td> <td style="vertical-align:top; width:577px"> <p>Please enter the name of the rule:</p> <ul> <li>The name begins with an English letter or a Chinese character.</li> <li>The name can contain English letters, digits, Chinese characters, &ldquo;@&rdquo;, underline (_), and dash (-).</li> <li>The name should contain no more than 64 characters.</li> </ul> </td> </tr> <tr> <td style="vertical-align:top; width:85px"> <p>Rule Adjustment</p> </td> <td style="vertical-align:top; width:577px"> <p>Currently, two kinds of rules are supported:</p> <p>Increase N (a number) instances: After the auto scaling rule is executed, N instances will be added to the existing instances in a service.</p> <p>Reduce N (a number) instances:After the auto scaling rule is executed, N instances will be reduced from the existing instances in a service.</p> <p><strong>Note: </strong>The range of N is 1-19.</p> </td> </tr> </tbody> </table> <p>5. Click <strong>Confirm</strong> after the above information is selected and entered.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20201504133830-131c8a47922e.png" style="height:223px; width:704px" /></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 rule just added on the <strong>Auto Scaling Rule</strong> page.&nbsp;</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