AWS Lambda + API Gateway

default discord avatar
Daniel Koch
last month
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
    Payload Team
    last month

    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
Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!

Star

Connect with the Payload Community on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.