Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] - AL 2023 on Lambda #303

Closed
GrahamCampbell opened this issue Mar 25, 2023 · 6 comments
Closed

[Feature Request] - AL 2023 on Lambda #303

GrahamCampbell opened this issue Mar 25, 2023 · 6 comments
Labels
aws-integration An issue integrating with an AWS Service
Milestone

Comments

@GrahamCampbell
Copy link

GrahamCampbell commented Mar 25, 2023

Is your feature request related to a problem? Please describe.

Is AL 2023 coming to Lambda? Is there a roadmap for this? How will quarterly releases be treated by Lambda?

Describe the solution you'd like

AL 2023 available on Lambda for both x86_64 and arm64.

Describe alternatives you've considered

Additional context

@theRocket
Copy link

theRocket commented May 2, 2023

I have considered building my own image based on AL2023 for my ruby-based lambda runtime. The Dockerfile looks like this:

FROM amazonlinux:2023

RUN dnf install -y ruby \
  && dnf clean all

This adds Ruby 3.2 to the image which is the supported version going forward (2.7 is deprecated).

However, I would prefer to have this runtime supported in Lambda rather than building a custom image as it is a lot simpler to set up apps using the serverless framework.

See also an example with SAM: https://github.com/wildomonges/lambda-ruby3.2-container-image

@stewartsmith
Copy link
Member

As per aws/aws-lambda-base-images#92 (comment) (and also tracked in aws/aws-lambda-base-images#59 ) there's the following available now:

a preview AWS Lambda base container image for AL2023, named ‘provided.al2023’.

There's also the Node 20 Lambda runtime based upon AL2023 (see aws/aws-lambda-base-images#91 (comment) ), and the Corretto 21 runtime (see aws/aws-lambda-base-images#113 (comment) ).

I'll keep this issue open until the Lambda GA of AL2023 images.

@stewartsmith stewartsmith added the pending Will be addressed with an upcoming release label Oct 13, 2023
@Talal916
Copy link

Talal916 commented Nov 7, 2023

Hello @stewartsmith , is there an ETA for this? I see it was moved to Coming Soon and would appreciate if there was a rough estimate of release date?

@GrahamCampbell
Copy link
Author

As I understand, it is coming in the next few months.

@ozbenh
Copy link

ozbenh commented Nov 10, 2023

https://aws.amazon.com/about-aws/whats-new/2023/11/aws-lambda-amazon-linux-2023/

@stewartsmith stewartsmith removed the pending Will be addressed with an upcoming release label Nov 11, 2023
@stewartsmith
Copy link
Member

With the announcement that @ozbenh pointed to, I'm going to resolve this issue as completed. Further documentation and more runtimes will follow.

See the Introducing the Amazon Linux 2023 runtime for AWS Lambda blog post for more information.

One thing I particularly like is how much smaller the AL2023 base image is: 40MB versus the 100MB of AL2! This is thanks to the AL2023 minimal container image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws-integration An issue integrating with an AWS Service
Projects
Development

No branches or pull requests

5 participants