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>
146 lines
20 KiB
HTML
146 lines
20 KiB
HTML
<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>
|
|
<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 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="tablenoborder"><a name="as_02_0103__table52838201145822"></a><a name="table52838201145822"></a><table cellpadding="4" cellspacing="0" summary="" id="as_02_0103__table52838201145822" frame="border" border="1" rules="all"><caption><b>Table 1 </b>AS configuration parameters</caption><thead align="left"><tr id="as_02_0103__row25161034145822"><th align="left" class="cellrowborder" valign="top" width="19.400000000000002%" id="mcps1.3.2.2.5.2.2.4.1.1"><p id="as_02_0103__p2684068145822">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="55.480000000000004%" id="mcps1.3.2.2.5.2.2.4.1.2"><p id="as_02_0103__p16082959145822">Description</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25.120000000000005%" id="mcps1.3.2.2.5.2.2.4.1.3"><p id="as_02_0103__p27651278145822">Example Value</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_02_0103__row115001543115515"><td class="cellrowborder" valign="top" width="19.400000000000002%" headers="mcps1.3.2.2.5.2.2.4.1.1 "><p id="as_02_0103__p650034375512">Region</p>
|
|
</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__p17184175316413">A region is where an AS configuration resides.</p>
|
|
</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__p1650024313554">N/A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_02_0103__row56995381145822"><td class="cellrowborder" valign="top" width="19.400000000000002%" headers="mcps1.3.2.2.5.2.2.4.1.1 "><p id="as_02_0103__p24777834145822">Name</p>
|
|
</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>
|
|
<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>
|
|
</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>
|
|
</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__p9246390145822">Select <strong id="as_02_0103__b842352706153554">Create a new specifications template</strong>.</p>
|
|
<p id="as_02_0103__p16108646145822">If this option is selected, configure parameters, such as the vCPUs, memory, image, disk, and ECS type, to create a new AS configuration.</p>
|
|
</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__p29731945145822">Create a new specifications template</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_02_0103__row32564048145822"><td class="cellrowborder" valign="top" width="19.400000000000002%" headers="mcps1.3.2.2.5.2.2.4.1.1 "><p id="as_02_0103__p1738024812366">Specifications</p>
|
|
</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__p1284784410497">The public cloud provides various ECS types for different application scenarios.</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>
|
|
</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>
|
|
</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>
|
|
</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>
|
|
</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>
|
|
<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>
|
|
<p id="as_02_0103__p2076700145822">For more information about encrypted images, see <em id="as_02_0103__i8423526979632">Image Management Service User Guide</em>.</p>
|
|
</div></div>
|
|
</li><li id="as_02_0103__li2132293145822">Shared image<p id="as_02_0103__p37519623145822"><a name="as_02_0103__li2132293145822"></a><a name="li2132293145822"></a>A shared image is a private image shared by another public cloud user.</p>
|
|
</li></ul>
|
|
</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__p10938284145822">Public image</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_02_0103__row25196531145822"><td class="cellrowborder" valign="top" width="19.400000000000002%" headers="mcps1.3.2.2.5.2.2.4.1.1 "><p id="as_02_0103__p55163495145822">License Type</p>
|
|
</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__p15978673145822">Specifies a license type for using an OS or software on the public cloud. If the image you selected is free of charge, this parameter is unavailable. If the image you selected is billed, such as an Ubuntu, SUSE, Oracle Linux, or Windows Server Edition image, this parameter is available.</p>
|
|
<ul id="as_02_0103__ul41174486145822"><li id="as_02_0103__li19204140145822">Use license from the system<p id="as_02_0103__p9590333145822"><a name="as_02_0103__li19204140145822"></a><a name="li19204140145822"></a>Allows you to use the license provided by the public cloud . Obtaining the authorization of such a license is billed.</p>
|
|
</li><li id="as_02_0103__li12031483145822">Bring your own license (BYOL)<p id="as_02_0103__p38619533145822"><a name="as_02_0103__li12031483145822"></a><a name="li12031483145822"></a>Allows you to use your existing OS license. In such a case, you do not need to apply for a license again.</p>
|
|
</li></ul>
|
|
<p id="as_02_0103__p35026055145822">For more information about the license type, see <em id="as_02_0103__i17413124024418"><a href="https://docs.otc.t-systems.com/en-us/usermanual/ecs/en-us_topic_0046566932.html" target="_blank" rel="noopener noreferrer">Elastic Cloud Server User Guide</a></em><em id="as_02_0103__i64149402442"></em>.</p>
|
|
</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__p18538167145822">Bring your own license (BYOL)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_02_0103__row5315896145822"><td class="cellrowborder" valign="top" width="19.400000000000002%" headers="mcps1.3.2.2.5.2.2.4.1.1 "><p id="as_02_0103__p25442194145822">Disk</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.480000000000004%" headers="mcps1.3.2.2.5.2.2.4.1.2 "><div class="p" id="as_02_0103__p32166422145822">Includes system and data disks. <ul id="as_02_0103__ul21763225564"><li id="as_02_0103__li131764228565"><strong id="as_02_0103__b117116611815">System Disk</strong><p id="as_02_0103__p15176152285615"><strong id="as_02_0103__b842352706172120">Common I/O</strong>: uses Serial Advanced Technology Attachment (SATA) drives to store data.</p>
|
|
<p id="as_02_0103__p18176722105616"><strong id="as_02_0103__b842352706172150">High I/O</strong>: uses serial attached SCSI (SAS) drives to store data.</p>
|
|
<p id="as_02_0103__p1917642219563"><strong id="as_02_0103__b1379415321714">Ultra-high I/O</strong>: uses solid state disk (SSD) drives to store data.</p>
|
|
<p id="as_02_0103__p817618229565">If the image based on which an ECS is created is encrypted, the system disk of the ECS is automatically encrypted. In addition, the name of the encrypted key is displayed on the page.</p>
|
|
</li></ul>
|
|
</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>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
</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__p61374960145822"><strong id="as_02_0103__b286717501071">Common I/O</strong> for <strong id="as_02_0103__b1154713550716">System Disk</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_02_0103__row4451533103918"><td class="cellrowborder" valign="top" width="19.400000000000002%" headers="mcps1.3.2.2.5.2.2.4.1.1 "><p id="as_02_0103__p1392064718398">Security Group</p>
|
|
</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>
|
|
<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>
|
|
</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>
|
|
</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>
|
|
<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>
|
|
</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>
|
|
</tr>
|
|
<tr id="as_02_0103__row36467360145822"><td class="cellrowborder" valign="top" width="19.400000000000002%" headers="mcps1.3.2.2.5.2.2.4.1.1 "><p id="as_02_0103__p47702931">Key Pair</p>
|
|
</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__p10825431145822">A key pair is used for ECS login authentication. If you select this mode, create or import a key pair on the <strong id="as_02_0103__b427209230171221">Key Pair</strong> page.</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>
|
|
</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>
|
|
</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>
|
|
</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>
|
|
<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 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>
|
|
</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>
|
|
</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>
|
|
<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>
|
|
<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>
|
|
</li></ul>
|
|
</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>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="as_02_0103__li54159647145822">Click <strong id="as_02_0103__b22515376564">Create Now</strong>. </li><li id="as_02_0103__li24743293145822">If you want to use the newly created AS configuration, add it to the AS group. For details, see <a href="en-us_topic_0042018368.html">Creating an AS Group</a> or <a href="as_01_0103.html">Changing the AS Configuration for an AS Group</a>.</li><li id="as_02_0103__li52685171145822">(Optional) Enable the AS group.<p id="as_02_0103__p58049691145822"><a name="as_02_0103__li52685171145822"></a><a name="li52685171145822"></a>If the AS group is in <strong id="as_02_0103__b842352706152948">Disabled</strong> state, enable it. For details, see <a href="as_01_0104.html">Enabling an AS Group</a>.</p>
|
|
</li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_02_0100.html">AS Configuration</a></div>
|
|
</div>
|
|
</div>
|
|
|