DEV Community

John Sports
John Sports

Posted on

playwright for AWS Lambda

Hi,

I'm currently using Playwright for PDF creation on an EC2 instance. However, I'm encountering performance issues and would like to migrate this functionality to AWS Lambda. Unfortunately, Lambda doesn't support the installation of local browsers, which Playwright requires.

Could you please suggest an alternative approach to achieve PDF creation in Lambda?

Thank you.

Top comments (1)

Collapse
 
elian_arias_b183df1597e35 profile image
Elian Arias • Edited

reportlab works for me, I have it in a lambda for automated reports delivery. project: pypi.org/project/reportlab/#data