Using Ruby on AWS's Lambda
summary
Shows a working HTTP-to-SMS microservice implemented in Ruby and deployed to AWS Lambda, with actual problems and fixes: bundler cannot find Faraday 2.9.0 on Lambda so Lambda layers and the serverless-ruby-layer plugin are used to package gems, or the function is packed as a Docker image pushed to ECR. Covers pay‑per‑use pricing, cold start lifecycle with blue (init) vs yellow (request) code, provisioned concurrency example of six instances, and RSpec/Cucumber tests that mock external SMS calls so the service runs locally and in production.
AI-written summary · about
chapters (12)
- 0:00Ruby on AWS Lambda
- 3:27AWS Lambda fundamentals
- 7:42Lambda lifecycle and cold starts
- 11:45Serverless computing benefits
- 12:08Ruby Lambda function example
- 13:32HTTP-to-SMS notification service
- 16:51Lambda deployment with Serverless
- 20:29Ruby dependencies with Lambda layers
- 22:20Ruby Lambda with Docker
- 25:09Testing Ruby Lambda functions
- 26:12Key learnings and best practices
- 27:16Q&A on Lambda
related talks
28mGoing Serverless
40mUsing Amazon's Web Services from Ruby
31m"Ruby Serverless Framework"
53mLook Ma! No servers!
42mThe Future is Now: Leveraging the Cloud with Ruby
58mPHP on Lambda with Custom Runtimes
58mAWS Lambda and Serverless Framework Deep dive
48mFaster/Greener/Cheaper Serverless compute with AWS Lambda & Rust
