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
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel reply

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%