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 Respuestas
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
EXPERTO
respondido hace un año
  • 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
respondido hace 3 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas