Cost of Moving Files

0

We are in Process of Moving around 60M files from s3 bucket to local filesystem and we wanted to understand the best way to accomplish this in terms of cost

We were thinking of the below options

1)Copy files from S3 to Local using aws cp command 2)Use Aws S3 sync command 3)Move files from S3 to Local using aws mv command

Additional we also wanted to completely delete the files with versions from the S3 bucket after certain days (Example 30 days)

Currently we were thinking move would be cost effective but needed some inputs on this

2개 답변
1

When moving data from S3 to local, you will be paying two parts: 1) COPY request which is about $0.005 per 1,000 request 2) data transfer which is about $0.05/GB when it's greater than 150TB/mo. You can find more details on the pricing page. It wouldn't make a difference from cost perspective between move vs copy since Delete requests are free. You would end up paying both COPY request and Data Transfer.

profile pictureAWS
전문가
답변함 2달 전
0

Hi,

Since you would like to download data from S3, it will incur an egress cost. The method of downloading this data wouldn't influence the amount of data downloaded. Pls refer this blog to understand this concept.

The only thing which comes to my mind is you could consider compressing the files before downloading i.e. if you receive a good compression ratio. You can do this using an EC2 or Lambda, refer this post for an approach. Worth testing it out with a few files, since you will spend on compute to compress these files too.

Hope this is helpful!

Thanks, Rama

profile pictureAWS
Rama
답변함 2달 전
  • But is there a specific charge difference between move vs copy? Since move would also delete the file in the source s3 bucket? Since the Files are huge we are very much careful on which operation to execute

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠