Tutorial: How to upload files into a S3 Bucket using a REST API via API Gateway

preview_player
Показать описание
A quick tutorial on how to use API Gateway to create a REST API to upload files into a S3 Bucket

Topics Covered:
1) S3 Bucket Creation
2) IAM Role Creation
3) IAM Policy Creation
4) API Gateway Creation
5) REST API Creation
Рекомендации по теме
Комментарии
Автор

one of the smoothest tutorials. i'm shaking your hand virtually!

dieselKopter
Автор

This was incredible. It would have taken approximately 1 million years to figure this out by reading the docs alone. You're a hero.

rascode
Автор

Thank you so much for sharing your knowledge. I also want to add that the way you present the process was very satisfactory. I look forward to seeing more videos on the subject.

JavierHernandez-xonb
Автор

nice, no nonsense, no silly accent, 10/10 thank you sir

pa
Автор

sir, you are a life saver, thank you

azozalamodi
Автор

Hi @letsfindsolutions
Your video is like, follow me. Crisp and up to the point. It took hardly 20min to reproduce what you have explained.
Wish to see more video from you.

waytobhushan
Автор

Hey Thank You for the wonderful explanation, just had one question, is it possible to pass "chacterset=utf-8" while uploading file

coder
Автор

Thank you. This was very informative. Will this video help me in uploading a Json file into aws?

muhammadhsajjaadali
Автор

Absolutely the content am looking for..
I also would like to know how to write custom response body in postman when status code is "200 OK"

AWSFan
Автор

Im really grateful for this tutorial that you created.

Also may I ask if how can I use it or the api so I can use it in php and upload files from the local storage into s3 bucket instead of the server side?

yesimscheidj
Автор

i want to do OTA update by giving this the url of the uploaded firmware file. is this method ok for that? what happened if I just upload the binary file?

qjjxwil
Автор

Wow, this a really straightforward solution! I was able to follow your tutorial easily and upload a file to AWS S3 without any trouble. Thank you for sharing your knowledge!

I have one question though. Is it possible to upload a file to a specific folder within a bucket on AWS S3? If so, could you please explain the process of achieving this? I would greatly appreciate your guidance. Keep up the amazing work

lucasvargasquintana
Автор

thanks for the great video,
I'm starting a project where I'll need to use S3, why use the API Gateway and not S3's own REST API?

grnopnl
Автор

Thank you man
Actually i am trying this its works on postman, but i want to use API gateway endpoint in my JS code
can you please suggest me .

rishabhraj
Автор

How would it be via POST, to send file via base64 string?

leandroosterne
Автор

was there a change in AWS UI, I am having a problem creating api resource as path parameter using {}?

proan_
Автор

Thanks a lot for this video. I've a question about authentication. Here, the REST API call from postman worked as we have given the IAM role with putobj policy. How about if I have to restrict the upload to a specific user? Say, the upload happens from a custom web application, the user uploads the file, is there a way to include IAM user authentication here? Could you please give any pointers to this?

govindanpotti
Автор

Why do you use the path override {bucket}/{filename} for your child resource {filename} if you already gave your endpoint these same structure /{bucket}/{filename}. An action name in your method of your {filename} would have been good enough right?

mandagore
Автор

It is uploading the file into but there are some issues m facing:
1) even if am specifying the content type in Binary-media-type (audio/mp3), still m able to upload any file
2) the file gets corrupted when it's uploaded
I tried form postman and even tried using flutter

iygpzku
Автор

How can I get the content of the file in the bucket using the api?
I mean GET method

kienvan