How To Deploy Puppeteer Script in AWS Lambda in 2022

preview_player
Показать описание

In this video, I am showing you how to create a serverless NodeJS Puppeteer script and deploy successfully your NodeJS Puppeteer script in AWS Lambda. We are also going to utilize AWS lambda layers to provide a convenient way to package libraries and other dependencies that you can use with your Lambda functions. Using layers reduces the size of uploaded deployment archives and makes it faster to deploy your code. A layer is a . zip file archive that can contain additional code or data.

What is Puppeteer? Puppeteer is a Node library that provides a high-level API to control headless Chrome or Chromium over the DevTools Protocol. It can also be configured to use full (non-headless) Chrome or Chromium.

What is Lambda? AWS Lambda is serverless, event-driven compute service that lets you run code for virtually any type of application or backend service without provisioning or managing servers

Donate
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Bitcoin Wallet: bc1q05j8gcnq4mzvgj603cxdc8xxck4jgnu2ljsrt4
Ethereum Wallet: 0x5e7BD4f473f153d400b39D593A55D68Ce80F8a2e

Social
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Developing Lambda Application (0:00)
Hosting Application to AWS Lambda (3:37)

Tags:
- Nodejs Tutorials
- Puppeteer Nodejs
- Nodejs Puppeteer Tutorial
- Puppeteer Tutorial for Beginners

#nodejs #puppeteer #webscraping
Рекомендации по теме
Комментарии
Автор

Thanks for this tutorial, it clarifies me how aws lambda works. I am trying to run puppeteer on Cyclic server, seems to bee a good free tier server, but so many errors...
Can you do a tutorial explaining how to set puppeteer in it?

KuroManX
Автор

Thank you Michael I'm learning so much data scraping from your channel.
I have a question please: is AWS lambda support puppeteer-cluster?

raiinstru
Автор

Thank you for your content, But when I tried to click to a tag, I got this error ?
"Reclaiming failed request back to the list or queue. Node is either not clickable or not an Element"
A very familiar scenario is that I take data from Google search and click on each result that Google returns. Locally it is fine but when deployed on lambda, the error above appears.

minhhieple
Автор

Hi, could u please make a video how to deploy puppeteer script in cyclic?

pecandubisnis
Автор

Error: Cannot find module 'lambdafs'\nRequire stack:\n- /var/task/index.js\n- /var/runtime/index.mjs

cuber_papa
Автор

getting error cannot lunch same annoying error

sadekhossain
Автор

but the zip size is 52mb so cannot upload :(

sadekhossain