Help Center> Auto Scaling> User Guide (ME-Abu Dhabi Region)> FAQs> Others> What Can I Do to Enable My Application to Be Automatically Deployed on an Instance?
Updated on 2022-02-22 GMT+08:00

What Can I Do to Enable My Application to Be Automatically Deployed on an Instance?

To enable automatic application deployment on instances automatically added to an AS group, you need to create a private image which contains application software and automatic startup settings. When creating an AS group, select the private image you have created for the AS configuration. In this way, applications will be automatically deployed on instances that are added to the AS group. The procedure is as follows:

  1. Before creating a private image, install the application and set it to automatically start upon system startup on the ECS which you will use to create the private image.
  2. Create a private image. For details, see Image Management Service User Guide.
  3. Create an AS configuration. For details, see Creating an AS Configuration. Ensure that the image in the AS configuration is the private image created in 2.
  4. Click the AS Groups tab and then click the name of the target AS group.
  5. Click Change Configuration on the right of Configuration Name. In the displayed dialog box, select the AS configuration created in 3 and click OK.

    After new instances are added to the AS group in the next scaling action, you can check whether the required application has been installed on the instances. If any issue occurs, contact technical support.