How can run. Rails web app in AWS Lambda server


How can run. Rails web app in AWS Lambda server



AWS (Amazon web service) introduced serverless computing commonly known as AWS Lamda, We can store the asset in S3 then deploy a lambda function to handle our business logic. Lamda will support ruby script.



Is there any way to run a dynamic web framework like rails or Sinatra in Lambda server?




1 Answer
1



The main problem here is that AWS Lambda does not currently support Ruby.



AWS Lambda supports code written in Node.js (JavaScript), Python, Java
(Java 8 compatible), and C# (.NET Core) and Go



However if you really want to run a rack (including Sinatra and Rails) based app it is possible, by bundling your own version of ruby in your deployment package. This blog post goes into detail about how to do that.



Whether this is a good idea probably depends on what you are trying to achieve.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

paramiko-expect timeout is happening after executing the command

Opening a url is failing in Swift

Export result set on Dbeaver to CSV