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:
- 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.
- Create a private image. For details, see Image Management Service User Guide.
- 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.
- Click the AS Groups tab and then click the name of the target AS group.
- 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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot