I just have setup autoscale, elastic loadbalancer and codedeploy.
When i ship new source through codedeploy every running ec2 instance is updated with new source as per my requirement.
But whenever new ec2 launch it is using old AMI.
How can i figure out this issue?
I have to create every time new AMI when i ship code?