Posted On: Jun 22, 2023

AWS Lambda now supports Ruby 3.2 as a managed runtime and a container base image in the AWS GovCloud (US) Regions. Developers creating serverless applications in Lambda with Ruby 3.2 can take advantage of new features such as endless methods, a new Data class, improved pattern matching, and performance improvements. For more information on Lambda’s support for Ruby 3.2, see our blog post at Ruby 3.2 runtime now available in AWS Lambda.

To deploy Lambda functions using Ruby 3.2, upload the code through the Lambda console and select the Ruby 3.2 runtime. You can also use the AWS CLI, AWS Serverless Application Model (AWS SAM) and AWS CloudFormation to deploy and manage serverless applications written in Ruby 3.2. Additionally, you can also use the AWS-provided Ruby 3.2 base image to build and deploy Ruby 3.2 functions using a container image. To migrate existing Lambda functions running earlier Ruby versions, review your code for compatibility with Ruby 3.2 and then update the function runtime to Ruby 3.2.

AWS will automatically apply updates to the Ruby 3.2 managed runtime and to the AWS-provided Ruby 3.2 base image, as they become available.

Visit our product page for more information about AWS Lambda or sign in to the AWS Lambda console to get started.