# aws-lambda-ruby

aws-lambda-ruby is a Docker base image that bundles the Ruby Runtime Interface Client, so you can run Ruby functions on Amazon Web Services (AWS) Lambda, a serverless compute service. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/5572/aws-lambda-ruby

## Description

AWS Lambda Ruby is a Docker base image that bundles the Ruby Runtime Interface Client, so you can run Ruby functions on Amazon Web Services (AWS) Lambda, a serverless compute service. It sets up the Lambda runtime wiring for you, letting you write and deploy function logic in plain Ruby without manually configuring the runtime environment. It's for developers who want a ready-to-use Ruby Lambda image instead of assembling one from a bare base image.

## Platform availability

Available on 0 of 10 platforms.

## Health score

66/100 (Good), based on 5 of 5 factors.
- Maintained: 78 (last commit 44 days ago)
- Popular: 38 (81 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)
- Light to run: 100 (128 MB minimum RAM, runs on ARM)
- Security check: 95 (no serious findings, CI, tests)

## Links

- Docker Hub: https://hub.docker.com/r/amazon/aws-lambda-ruby
- GitHub: https://github.com/aws/aws-lambda-ruby-runtime-interface-client

## Common questions

### Can I run aws-lambda-ruby functions locally before deploying them?

AWS SAM provides SAM local, which can start Docker containers to run Lambda functions locally. This is intended for development workflows rather than production-level hosting.

### How can I find the version of an AWS SDK for Ruby service gem in the Lambda runtime?

The AWS SDK for Ruby is modular and separated by AWS service. Create a small Lambda function that prints the version number of the service gem to check what is included in the runtime.

### How can I set up a local Ruby AWS Lambda project with database gems?

You can create the project with the SAM CLI and use gems such as pg and activerecord for a Rails-related database connection.

---
Source: Our Local Host (https://ourlocalhost.com/app/5572/aws-lambda-ruby), the self-hosted and open-source app directory.
