Aws Lambda Ruby On Rails
Now it s possible to write lambda functions as idiomatic ruby code and run them on aws.
Aws lambda ruby on rails. Having played with the new ruby support for a few hours i m feeling confident we ll be spending less time with node go and python. Today aws is excited to announce ruby as a supported language for aws lambda. When ruby support on aws lambda was announced yesterday i was so excited about it that i had to try it right away. You only pay for the execution of the function.
The aws sdk for ruby is included in the lambda execution environment by default. This article is part of our ruby on aws lambda blog series. Parallelization for the win. A recent project had us migrating an existing pdf document processing system from rails sidekiq to aws lambda.
We ve been using lambda for a while at honeybadger and i have longed to be able to write our functions in ruby. There is a lot of other great information on lambdas on both the aws lambda page and on the ruby on jets website. If you want to build an api with it you would want to have api gateway do all the routing and request handling. That makes it easy to interact with the aws resources directly from your functions.
The processing includes ocr creating preview images splicing the pdf and more. Ruby aws lambda bff 03 01 2019. Moving to lambda reduced processing time by 300 in some cases. I was thrilled to learn that i can finally use ruby with lambda but using sinatra as an example feels wrong.