amazon-web-servicesaws-lambdafonts

Include custom fonts in AWS Lambda


Does Anyone know something like ebextensions[2] in EC2 for AWS Lambda?

The goal is to install custom fonts in the AWS Lambda execution environment.

There are many ways to provide libraries and tools with fonts but the easiest way would be to include them via OS.

Also asked in response on AWS forum: https://forums.aws.amazon.com/thread.jspa?messageID=807139&#807139

[2]How I install specific fonts on my AWS EC2 instance?


Solution

  • The official AWS response on the forum post is still correct.

    Currently, it is not possible to customize Lambda environment. If you want additional packages you can build on Amazon Linux and put them into the zip file you upload.

    That's the extent to which you can "install" anything in the Lambda environment.

    the easiest way would be to include them via OS.

    Arguably so, but that's simply not how Lambda works.