sean-hill / aws-puppeteer-lambda

Tooling that allows puppeteer v1.4.0 to run within the AWS Lambda environment.
38 stars 3 forks source link

AWS Lambda and Puppeteer #1

Closed sgiulians closed 6 years ago

sgiulians commented 6 years ago

Hey hello Sean, This is not an issue. I was wondering how you could have puppeteer installed within your node_modules folder and uploaded in AWS-Lambda. The whole package is huge (>>50Mb) Did you manage to find a solution for that?

Simo

kemelcodes commented 6 years ago

@sgiulians you have to upload the zip folder to AWS S3 bucket and copy the directory link. Then go to your AWS Lambda function page and in the section where you'd upload the code select "Upload a file from S3" then paste the link you copied in the field below.

sgiulians commented 6 years ago

cheers