How to create a PDFs API using Puppeteer with auto-deploy to AWS Lambda

2 ivanalemunioz 1 7/21/2025, 12:38:08 PM buglesstack.com ↗

Comments (1)

ivanalemunioz · 7h ago
Hi guys, before procrastinating for a year on using Puppeteer to create an API in AWS Lambda to generate PDFs, I decided to share the code with the community. It even has auto-deploy using GitHub Actions to avoid the annoying updates and pushes—your Lambda gets updated in just 20 seconds.

I was using another service, but using Lambdas is 10 times cheaper, and with the free tier, you can create more than 100k PDFs.