Uly.me

cloud engineer

  • Home
  • About
  • Archives
Home/Cloud/AWS S3 Killedted

October 29, 2017

AWS S3 Killedted

I was trying to copy a large file from AWS S3 bucket to the smallest Amazon Lightsail instance using the AWS CLI. It was throwing out an error saying “Killedted 3.8 Mib/113.4 Mib (5.0 Mib/s) with 1 file(s) remaining.” For some reason, the copy was being killed or terminated. I was thinking that maybe the small instance was not enough to copy or move large files. I’m glad I found a workaround. Here’s the command I was doing, and the fix.

The Error

$ aws s3 cp s3://bucketname/directory/largefile.mp4 largefile.mp4
$ Killedted 3.8 MiB/113.4 MiB (5.0 MiB/s) with 1 file(s) remaining

$ aws s3 cp s3://bucketname/directory/largefile.mp4 largefile.mp4 $ Killedted 3.8 MiB/113.4 MiB (5.0 MiB/s) with 1 file(s) remaining

The Fix

$ aws configure set default.s3.max_concurrent_requests 4

$ aws configure set default.s3.max_concurrent_requests 4

The default is 10 which was too much for a small instance.

Filed Under: Cloud Tagged With: cli, s3

Have content delivered to your mail. Subscribe below.

About Me

I'm Ulysses, Cloud Engineer at Cardinal Health based in Columbus. This blog is about Linux and Cloud technology. When off the grid, I enjoy riding my electric skateboard. I've surfed, snowboarded and played the saxophone in the past. I hope you find this website helpful. It's powered by WordPress and hosted on AWS LightSail.

  • Cloud
  • Linux
  • Git

Copyright © 2012–2021