aws-codedeploy-agent icon indicating copy to clipboard operation
aws-codedeploy-agent copied to clipboard

Switch to use s3 multipart download when fetching artifacts

Open AdamXiaotCao opened this issue 2 years ago • 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

AdamXiaotCao avatar Oct 25 '23 00:10 AdamXiaotCao