aws / aws-codedeploy-agent

Host Agent for AWS CodeDeploy
https://aws.amazon.com/codedeploy
Apache License 2.0
329 stars 187 forks source link

Deploying behaviour in an Auto scaling group #132

Closed kundankmd closed 7 years ago

kundankmd commented 7 years ago

This is more a question regarding the behaviour of Codedeploy agent deploying to the nodes in an ASG. We have started using AWS Codedeploy in production and after every deployment

During an "up scale" event in ASG, I have noticed that AWS Codedeploy always takes almost the same time during "Download Bundle" and "Install" events even though the AMI has the latest version.

Does the agent downloads and unzip the file from S3 every time even though the EC2 instance is running the latest deployment revision?

tangerini commented 7 years ago

Yes, the agent has no knowledge of what's in the AMI.