Read PDF from S3 on Lambda trigger

preview_player
Показать описание
Welcome to the video tutorial on how to read a PDF file from the S3 bucket via lambda function on the trigger. In this tutorial, I am using PyMuPDF deployed as layers for reading PDF files.

Join this channel membership to support:

---
Support my work:
---
Paytm | Gpay: 9023197426

---

---
Series Tutorial
---
---
Another channel:
---

---
Connect with me
---

00:00 Getting started with how to read pdf file from S3 on lambda trigger
2:07 Configure lambda layer
11:20 Create lambda layer
12:18 Create S3 bucket
13:00 Create IAM role for lambda
14:00 Create & configure Lambda function
14:49 Add S3 trigger
15:33 Add lambda layer
17:22 Code walkthrough for reading PDF file on trigger
21:05 Testing the implementation
Рекомендации по теме
Комментарии
Автор

Good in depth explanation...Nice Job!!

vishapatel
Автор

Hey, thank you so much for the awesome tutorials. I was wondering if you could also make a tutorial on how to use Amazon Textract once a file is uploaded to S3 instead of the package used above.

samidres
Автор

can one VPC endpoint support connections to 2 AWS services simultaneously like S3 and dynamoDB, or we need to create it separately ?

kirankumar-chgd
Автор

instead of just printing the text in lambda, I want to return it as response to my frontend (reactjs). The text will then be manipulated in frontend and displayed to the user. Is it possible to show the text in browser/frontend?

poltuish
Автор

"errorMessage": "An error occurred (UnauthorizedOperation) when calling the DescribeInstances operation: You are not authorized to perform this operation.",


Hello i am getting this error ? what to do .

nikhilbhoyar
Автор

Thanks for the video, when I tried to implement your same code I got the following error. Can you please help me?

Response
{
"errorMessage": "'Records'",
"errorType": "KeyError",
"stackTrace": [
" File \"/var/task/lambda_function.py\", line 16, in lambda_handler\n file_obj = event[\"Records\"][0]\n"
]
}

Thanks

vthamilventhan