AWS Classroomnotes 15/Jul/2023

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
    • image phpinfo
  • 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

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner