12

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?

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470
David Jeba
  • 131
  • 1
  • 4

4 Answers4

3

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.

Prakash
  • 31
  • 6
1

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.

tepez
  • 546
  • 10
  • 16
0

I love strapi is an awesome tool. In my opinion if laravel can be installed in lambda, strapi can run. https://medium.com/artisanhost/hosting-a-laravel-application-on-aws-lamdba-90b7133c8578

The strapi core is koa. https://github.com/matthewmueller/lambda-serve In my opinion you can run strapi in AWS Lambda.

-9

It's not possible because Strapi has a monolithic architecture.

So it's doesn't match with an AWS Lambda usage.

Jim LAURIE
  • 3,859
  • 1
  • 11
  • 14
  • 2
    Just because _something_ is monolithic doesn't mean it can't run _well_ in AWS Lambda. It's certainly possible to run a monolithic app in AWS Lambda, as long as constraints are met, e.g. size not bigger than 50 MB. – Hendy Irawan Jul 29 '20 at 06:36
  • It's answers like this that make me truly regret not being more involved on Stack Overflow so I get enough reputation points to be able to use the downvote feature... – Ionut Botizan Nov 09 '20 at 13:25
  • @IonutBotizan - gotchu fam. Quite agree. Hendy - well said. – J.Wells Nov 20 '20 at 20:33