Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

AWS Lambda + API Gateway

default discord avatar
Daniel Kochlast year
1

Hi guys, at first thank you for providing such a great cms! My question is about hosting. Does anyone know if you can put Payload CMS into a Lambda and serve it using AWS API Gateway? I found this (

https://github.com/vendia/serverless-express

) and before I try to build it, I would like to hear your opinion.

  • discord user avatar
    denolfe
    last year

    We know some members of the community that have run Payload in Lambda successfully, but this isn't something that we completely test/support. With a package like you linked, I'd be very cautious of running into the Lambda size limit and of cold starts.



    That being said, we recently released a way to run Payload on Vercel which may also be interesting for you to take a look at:

    https://github.com/payloadcms/next-payload
Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team..