i want a good cms/backend application to create/manage API on AWS. strapi fits well for my requirement. but i dont want to use EC2, lightsail, beanstalk etc
i want to use strapi on aws lambda is it possible to deploy strapi on aws lambda?
Strapi can be deployed on traditional hosting servers or services such as 21YunBox, Render, Heroku, AWS, Azure and others.
An API created with Amazon API Gateway, and functions subsequently launched by AWS Lambda, is all that you need to build a microservice. Your team can use these services to decouple and fragment your environment to the level of granularity desired.
You can create a web API with an HTTP endpoint for your Lambda function by using Amazon API Gateway. API Gateway provides tools for creating and documenting web APIs that route HTTP requests to Lambda functions.
Since strapi is a nodejs project, you can use this project to deploy to aws lambda Apex up.
You can still deploy a monolith to aws lambda, but it is not suggested.
There is a discussion about it in https://github.com/strapi/strapi/issues/1908
It states the issue with runnig stapi on lambda is
Currently there is a long bootup process which makes hosting strapi in an environment like aws lambda impractical since it has to boot the app for each request.
The latest comment from the team says
We will not work on it for now. We will communicate if something changes on this topic.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With