Auto update applications in ASG
- Create a ASG with existing launch template with latest version selected while creating ASG
- Now create a new ami, with php info and the following extra steps
sudo -i
echo "Version 2" > /var/www/html/index.html
- Create a new version which will be latest in existing launch template with new ami as image. Now perform instance refresh.
Automated image updates
- Create a launch template with
-
Create an Autoscaling group with atleast 2 instances, select latest version
-
Now create a new version in Launch template with phpinfov2
- Now trigger instance refresh
Like this:
Like Loading...