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

Jetbrains image

Is Your CI/CD Server a Prime Target for Attack?

57% of organizations have suffered from a security incident related to DevOps toolchain exposures. It makes sense—CI/CD servers have access to source code, a highly valuable asset. Is yours secure? Check out nine practical tips to protect your CI/CD.

Learn more

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay