aws/aws-codedeploy-agent

Switch to use s3 multipart download when fetching artifacts

AdamXiaotCao opened this issue · 0 comments

Our code deploy agent is running too long to download artifacts from S3. Our artifact is around 25GB but it's taking over an hour to download into an EC2 instance which should provide GBs bandwidth.

We ran s3 cp command locally and it's only taking us ~10 mintues to download the same object. Can we use S3 multipart download?

https://github.com/aws/aws-codedeploy-agent/blob/main/lib/instance_agent/plugins/codedeploy/command_executor.rb#L334-L336