Upload files to S3 using API Gateway - Step by Step Tutorial

preview_player
Показать описание
In this video, I show how to upload files using API Gateway and S3 integration. In the first part of the video, I explain the required IAM role and policy to run the demo. After that, I create the API Gateway with the S3 bucket as the backend service. I'll show how to map the path params from the API Gateway to the S3 bucket and object key.

00:00 Introduction
01:20 Solution Architecture
03:13 IAM Role and Policy Creation
05:30 Create API Gateway
09:33 Deploy the API

If you want to learn more about AWS Services, make sure to
subscribe to the channel:

🌎 Find me here:
Рекомендации по теме
Комментарии
Автор

Clean, clear and straight explanation. It solved my problem in 10 minutes. Good start with your video.

sandeeppanchal
Автор

AWS is absolutely ridiculous. I couldn't do it without you.
I can't believe how people are put through learning this stuff.
I'm actually very angry with the lack of intuition here.

greendsnow
Автор

For anyone getting an "internal server error", I had to enable cloudwatch logs in order to debug, and discovered I had a typo in my "path override". You can enable cloudwatch logs by going to "stages", select your stage, click the Logs/Tracing tab, and then enable cloudwatch logs. Keep in mind I think cloudwatch logs do incur costs, so turn them off when you're finished.

KyleMerl
Автор

Very helpful, thanks! I initially setup API Gateway with a Lambda Integration because I didn't know this was possible, but I definitely agree this is the preferred approach since with Lambda you have to deal with cold starts and managing code.

paul-macfarlane
Автор

This is a great video on API gateway integration with S3. Enrico, thanks so much for sharing this knowledge with the community.

jonty
Автор

Clear and straight to the point. Good job!

purplishjen
Автор

Great video and just cover enough details for me to pick up in 10 mins, cheers !!

yuming
Автор

Man, you cannot imagine how you saved my live here! <3 I was looking for a good resource online and couldn't find anything until I saw your vid. That you much!

federicovdemartino
Автор

You are a lifesaver! This saved me so much time. Thank you so much!

Leonquenix
Автор

Thank you for this tutorial (from Brazil)

RBusch_
Автор

Practical, helpful, and precise. Thanks for all your help.

jonathanvargasv
Автор

Thank you so much. I just got stucked with AWS doc. You saved me :)

nicktran
Автор

Thank you for your explanation.. Very well explained and you kept it same..

arpankhetani
Автор

Thank you for this. You’ve saved me a lot of time

rcapilli
Автор

Excellent guidelines, able to successfully upload png and csv file too. Thanks.

karikalanramakrishnan
Автор

Great thanks for this video - exactly what I needed

glassin
Автор

Thanks ..Really great effort..happy to find you channel

theautomationchannel
Автор

I don't understand why do I need to use PUT instead of POST to upload a file in a folder in S3. Could someone to break it down, please?

nil.hunter
Автор

help,

<?xml version="1.0" encoding="UTF-8"?>
<Error>
<Code>MethodNotAllowed</Code>
<Message>The specified method is not allowed against this resource.</Message>
<Method>PUT</Method>



</Error>

munozhoracio
Автор

After uploading the image, it shows me a white small box in the browser. I also added "*/*" in the binary media types section.

pyxmzzg