How Can I Automatically Deploy My Application on an Instance?
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 the 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:
- Install the application on the instance you will use to create a private image, and configure the application to automatically start at boot.
- Create a private image using the instance. For details, see Image Management Service User Guide.
- Create an AS configuration using the private image. For details, see Using a New Specifications Template to Create an AS Configuration. Ensure that the image in the AS configuration is the private image created in 2.
- Go to the page that shows the details about your AS group.
- Click Change Configuration to 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 your application has been installed on the instances. If you encounter any problems, contact technical support.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.