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 個月前檢視次數 143 次
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

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南