Does transferring HTTP payload in multiple chunks to s3 count as multiple requests in term of pricing ?

0

I am considering using the mechanism described here to transfer data in chunks from a micro controller to AWS S3. If I need to cut my payload into 10 000 chunks (so that it fits in RAM) would that mean that i'll have to pay for 10 000 HTTP requests ?

Thanks for your help,

David.

1 回答
1

This doc suggests you are billed for all storage, bandwidth, and requests for this multipart upload and its associated parts: https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html#mpuploadpricing.

So for your example, assuming S3 Standard Storage Tier: 10,000 POST Object requests would cost $0.05 (10000 * $0.005 / 1000) (Pricing from here). For S3, you don't pay per GB for data-in, so the requests and storage would be your only S3 charges for the upload.

Just shooting in the dark here, but you may be able to use another S3 authorization mechanism (like presigned URLs) to avoid having to compute a SigV4 signature (which is driving you to load chunks into RAM). This may allow you to stream the entire payload from disk in a single HTTP request.

Casey
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则