title: How to Update Auto Scaling Launch Configuration or Launch Template After Instance has been Updated
body: <p>I have an EC2 instance running on AWS. It is running my application let's say Version1. I added my instance to ASG. After some days, I updated my Application to Version2. But now whenever my instance is terminated, the new instance is launched with Version1 of my application (as it is using old launch configuration). How can I get the latest version of my application when Auto Scaling Group launches new instance??</p>
  <p><strong>Launch Configuration Details</strong></p>
  <p><a href="https://i.stack.imgur.com/1cGGg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1cGGg.png" alt="enter image description here" /></a></p>
  <p><strong>ASG Details</strong></p>
  <p><a href="https://i.stack.imgur.com/0Z9Xe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0Z9Xe.png" alt="enter image description here" /></a></p>