So we are trying to frequently build images and update them to our launch configs, and we want our launch configs to always use the latest AMI (Amazon Machine Image).
And of course we want want all this to happen in an automated fashion.
We are trying to find out how to best automate so ASG (Auto Sacling Group) will use latest AMI.
One valid approach here is to have a Lambda apply the latest AMI to the launch configs.
Is there a way where automatically our launch configs would just know to use the latest AMI, would launch templates
make this possible?
We don't want to have to use a lambda if possible.
And also if launch templates
make this possible. What are suggestions to roll back to previous version in case of a bad AMI.