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년 전

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

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

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

관련 콘텐츠