Uploading files to s3

0

How to upload file directly to s3 from web. For example uploading imagenet data from the website to the s3 after extracting the tar file of it, without downloading dataset into my system, all process should be done through cloud. Do we need to use lambda or any other way to do it. ?

2개 답변
0

Hi,

answer is depends :)

If you are using a Javascript framework such as React/Angular/Next, you may want to look into Amplify. There is a pretty neat component that allows you to upload seamlessly files to s3: https://ui.docs.amplify.aws/react/connected-components/storage/storagemanager

Other options involve:

  • Expose an api via API Gateway direct integration towards S3 to do upload, as direct proxy
  • For large files you may need to use API Gateway with signed URLS
  • A combination of Cloud front and Lambda@Edge

You can find details here: https://aws.amazon.com/blogs/compute/patterns-for-building-an-api-to-upload-files-to-amazon-s3/

Hope it helps ;)

profile picture
전문가
답변함 일 년 전
  • Thank you for answering.

  • can it be possible with python aws sdk

0

Following up this question, I have a link of a web address. When I click on it, it automatically downloads a .tgz file. Is there a way to upload that .tgz file (or the .png files that are inside of that .tgz file) straight to an S3 bucket?

Kem
답변함 3달 전

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

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

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

관련 콘텐츠