I have an autoscailing group, this creates an instance that installs the codedeploy agent.
I then have an codedeploy config setup to work with AutoScailing and the ELB for health checks.
For some reason when a new instance is created by autoscailing, codedeploy doesnt initiate a deployment on the new instance. As far as im aware when using autoscailing and linked to code deploy it should just deploy the code any time a new instance is built?
Any ideas what could be causing this or id there are any logs i can provide to help?
also note that i use codepipeline to initiate codedeploy when the codecommit is updated with any updated code. not sure if this makes a difference.
Ok so after leaving the autoscailing group for a few days it eventually started deploying as expected. Not sure why it took so long to settle down though!