I have a web application setup with a load balancer and auto scaling group to manage scaling. The source code is in a git repository so I don't have to update the images when the code changes, but occasionally the environment changes so we create a new image. Then that image needs to be cycled into the auto scaling group.
Is there a way to cycle the images automatically? Right now I schedule a scale up and scale down action which gets rid of the old instances.
as-set-instance-health
), so that autoscaling simply replaces it with a new instance.