Configuring a scaling group

<p>Auto scaling configuration refers to set the ECS instance template for the auto scaling group to carry out auto scaling. When creating auto scaling configuration, you can specify the parameters of an ECS instance which include instance specifications, image type, disk and network etc.. Also, you can modify the current auto scaling configuration so as to meet new business requirements rapidly.</p> <p><span style="font-size:16px"><strong>Prerequisite</strong></span></p> <p>1. You have made a custom image. For applications that have enabled auto scaling, first apply for an ECS to install and deploy the application in Ping An Cloud&rsquo;s Console, and set the application to auto-start. The status data are stored in a stand-alone server separately and the data or logs are stored in databases or log servers. Then, restart to make a custom image. For detailed procedures for creating a custom image, please refer to Create Custom Image.</p> <p>2. There are sufficient available IPs in the subnet. Insufficient IPs will lead to the failure of the scaling activity of the auto scaling group.</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 the target region.</p> <p>3. Click <strong>To configure </strong>in the <strong>Configuration</strong> column.</p> <p>4. Then you enter the <strong>Auto Scaling Configuration </strong>page.</p> <p>5. Configure the auto scaling group based on the following information, and then click <strong>Next</strong>.</p> <p><strong>Billing Option</strong></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>Billing Method</p> </td> <td style="vertical-align:top"> <p>Pay-per-use is set by default.</p> </td> </tr> </tbody> </table> <p><strong>Zone Selection</strong></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>By Default</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>Zone</p> </td> <td style="vertical-align:top"> <p>By Default</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>Provider</p> </td> <td style="vertical-align:top"> <p>By Default</p> </td> </tr> </tbody> </table> <p><strong>Instance Configuration</strong></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>Specification Type</p> </td> <td style="vertical-align:top"> <p>Select instance type and specification.</p> </td> </tr> </tbody> </table> <p><strong>Image</strong></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>Image</p> </td> <td style="vertical-align:top"> <p>Only custom images are provided.</p> <p><strong>Note: </strong>For applications that have enabled auto scaling, first you need to apply for an ECS to install and deploy the application on Ping An Cloud&rsquo;s Console, and the application is set as auto-start. The status data are stored in a stand-alone server separately and&nbsp;&nbsp; the data or logs are stored in databases or log servers. Then, restart the application to make a custom image.</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>OS Type</p> </td> <td style="vertical-align:top"> <p>Select the operating system type of the created custom image.</p> </td> </tr> </tbody> </table> <p><strong>Disk Configuration</strong></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>Data Disk</p> </td> <td style="vertical-align:top"> <p>You can decide whether to add data disks or not according to business requirements.</p> </td> </tr> </tbody> </table> <p><strong>Network</strong></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>VPC</p> </td> <td style="vertical-align:top"> <p>By default, it is the VPC where the ELB instances associated to the auto scaling group are located.</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>Subnet</p> </td> <td style="vertical-align:top"> <p>Select a subnet. You need to make sure that there are sufficient available IPs in the sub-net. Insufficient IPs will lead to the failure of the scaling activity of the auto scaling group.</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>Security Group</p> </td> <td style="vertical-align:top"> <p>Decide whether to bind a security group or not.</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>Backend Port</p> </td> <td style="vertical-align:top"> <p>The backend port of auto scaling group instances is the port for instance service operation or applications usage. It can be customized in initial configuration and cannot be modified after that. You can choose to use custom configuration for the initial configuration.</p> </td> </tr> <tr> <td style="vertical-align:top"> <p>Port Weight</p> </td> <td style="vertical-align:top"> <p>Select weight of port.</p> </td> </tr> </tbody> </table> <p><strong>Security Configuration</strong></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>Security Service</p> </td> <td style="vertical-align:top"> <p>Free security service is provided for Linux Operating System, and you can decide whether you need PHS or not.</p> </td> </tr> </tbody> </table> <p><strong>Configuration Description</strong></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>Description</p> </td> <td style="vertical-align:top"> <p>Please fill in description information.</p> <ul> <li>Chinese characters, English letters, spaces, digits, &ldquo;@&rdquo;, underline (_), and dash (-).</li> <li>No more than 128 characters.</li> </ul> </td> </tr> </tbody> </table> <p><strong>System Configuration</strong></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>Description</p> </td> <td style="vertical-align:top"> <p>Two login methods are provided: SSH Key Pair, and Use secret key.</p> <ul> <li>SSH key pair: The username is set by default, and you can either select an SSH key pair or create a new key pair.</li> <li>Use secret key: set the secret key when creating image.</li> </ul> </td> </tr> </tbody> </table> <p>6. Click <strong>Next</strong> and enter the Confirmation tab to check the configuration information, and then click <strong>Confirm</strong>.</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. The newly configured Scaling Group is in the status of <strong>Stopped</strong>. The color of <strong>Start</strong> button turns into orange.</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