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>
14 lines
2.5 KiB
HTML
14 lines
2.5 KiB
HTML
<a name="as_faq_0011"></a><a name="as_faq_0011"></a>
|
|
|
|
<h1 class="topictitle1">How Can I Automatically Deploy My Application on an Instance?</h1>
|
|
<div id="body10296046"><p id="as_faq_0011__p12994144817479">To enable automatic application deployment on instances automatically added to an AS group, create a private image with the application preinstalled and automatic startup settings preconfigured. Create an AS configuration with the private image, and then change the AS configuration used by the AS group to the one you created. Your application will be automatically deployed on instances that are automatically added to the AS group. The procedure is as follows:</p>
|
|
<ol id="as_faq_0011__ol34166919"><li id="as_faq_0011__li34306193155039">Install the application on the instance you will use to create a private image, and configure the application to automatically start at boot.</li><li id="as_faq_0011__li735592116215"><a name="as_faq_0011__li735592116215"></a><a name="li735592116215"></a>Create a private image using the instance. For details, see <em id="as_faq_0011__i785261183116"></em><em id="as_faq_0011__i138529119312">Image Management Service User Guide</em><em id="as_faq_0011__i4852311123112"></em><em id="as_faq_0011__i78521211143110"></em><em id="as_faq_0011__i16852101143114"></em>.</li><li id="as_faq_0011__li6411253193514"><a name="as_faq_0011__li6411253193514"></a><a name="li6411253193514"></a>Create an AS configuration. For details, <a href="as_02_0103.html">Creating an AS Configuration from a New Specifications Template</a>. During the creation, select the private image created in <a href="#as_faq_0011__li735592116215">2</a>.</li><li id="as_faq_0011__li28673382">Go to the page that shows the details about your AS group.</li><li id="as_faq_0011__li8316190164412">Click <strong id="as_faq_0011__b1284015561444">Change Configuration</strong> to the right of <strong id="as_faq_0011__b13484157054">Configuration Name</strong>. In the displayed dialog box, select the AS configuration created in <a href="#as_faq_0011__li6411253193514">3</a> and click <strong id="as_faq_0011__b6908192911514">OK</strong>.<p id="as_faq_0011__p7961105511473">After new instances are added to the AS group in the next scaling action, you can check whether your application has been installed on the instances. If you encounter any problems, contact technical support.</p>
|
|
</li></ol>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_faq_1105.html">Others</a></div>
|
|
</div>
|
|
</div>
|
|
|