Get Images from S3 Bucket with API Gateway Demos | Two Options | With Lambda | API Gateway S3 Proxy

preview_player
Показать описание
In this video, we will go over two separate options to retrieve and save images from S3 bucket in two different ways. One option will be using Lambda. Another option will be direct integration of API Gateway with S3. Step by step demo, with code and timestamps given below.

Timestamps:
00:00 Agenda
01:10 API with Lambda (Option 1)
10:45 API Gateway to S3 directly (Option 2)

**Connect with me**

👩🎓**My Courses - Message me at Twitter for discount coupons**

#Serverless #APIGatewayS3Lambda #APIGatewayDemo
Рекомендации по теме
Комментарии
Автор

Thank you so much. The second solution helped my team put and get images from our bucket. We spent like 2 weeks to figure out why our lambdas weren't working until we saw this video lol

varunpoondi
Автор

You explained it clearly and cleanly. Superb!

sandeeppanchal
Автор

Good demo Raj ji. I Subscribed to your channel 🙏

harpreetdawar
Автор

Thank you so much for the great video. I'm serving my images from s3 with CloudFront but now how can I server .webp images to supported browsers with lambda real-time .webp conversion if the .webp does not exist in the bucket.

nigelnyakudya
Автор

thanks you so much!!! I've try api gateway 2 days... this video is very helpful!!!

chachalin
Автор

Hi Raj - Thank you so much for this great video. API gateway has limitation for response size . if image size is more than 6MB what is the best way to do ? Also please suggest how to returned huge json response (size more than 6MB ) using API gateway.

arabindadas
Автор

Greate knowledge you delivered Mr. Raj thanks for the lecture. How can We access and download the Image which are located in several folders from S3 bucket?

AviKshirsagar
Автор

Hello, thanks for your excellent video.
I've been trying to download images from my s3 bucket for several days, however I'm facing an issue : the file is returned in base64 not Binary, I've tried many things to convert it but none succeeded, any guesses ?

josephvasse
Автор

Hi @Raj can we also export csv from S3, when i do it I see only the content of the file in the browser but wanted to check if we can download the csv file.

HP-eemd
Автор

Wonderful effort. I learnt immensely from your video. Thank you !

I have a small observation as follows:

You explained some modifications like "credentials" required for the Open API /sample API JSON file which further you import to the API Gateway. In the same file, under "uri" us-west-2 region is hard-coded. users having S3 buckets in different regions may need to update their corresponding region? If it is not updated, during final image retrieval there will be an Error

sambathnarayananparthasara
Автор

Do someone know how to turn on CORS at this api which connect directly to s3? I would be glad for any help (enabling cors in console does not work)

soczekpl
Автор

Do you have the reverse? From the website to upload images to S3?

Vasko
Автор

does this apply as well for Video files? My intent is to have http get to streaming the videos.

killua
Автор

Thanks for the video, Raj! Unicorns are better than cats and dogs, definitely! 😂

jpmmota
Автор

please tell me the name of the theme in your VS code ? Thanks for the explanation

chetansoni
Автор

Thanks, bro your video helped me a lot

vivgamer
Автор

Is there any requirement for addding customer managed policy to the api gateway role instead of AWS managed policy ??

karan_
Автор

im always getting binary while accessing my pdf files through browser. Is there any work around? I want my pdf to load on browser

antobourntec
Автор

HI Raj, thanks for the video. When I do this in post man I get what appears to be binary code... Something like this... "���� and in react I get a broken image. what am I doing wrong?

goodstuffread
Автор

Hi, how come I get an error message at the postman
which is
{"errorMessage": "'pathParameters'", "errorType": "KeyError", "stackTrace": [" File \"/var/task/lambda_function.py\", line 7, in lambda_handler\n bucket_name = event \n"]}

ngyinggi
visit shbcf.ru