Import data from URLs into Amazon S3

I have a file with a pre-signed URL. I would like to load this file directly into my S3 bucket without loading it first (I know how to do this with an intermediate step, but I want to prevent it).

Any suggestion? thanks in advance

+4
source share
1 answer

There is no method supported by S3 that will accomplish what you are trying to do.

S3 does not support the type of request, which basically says, โ€œgo to this URL and whatever you get from there, save it in my bucket under the following key.โ€

- , , . , , ... -, t1.micro, , S3, , .


- S3 S3, 5 . PUT , :

x-amz-copy-source: /source_bucket/source_object_key

"URL", , , , ... , S3 , .

http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectCOPY.html

URL ... , PUT, .

+3

Source: https://habr.com/ru/post/1526761/


All Articles