aws / ec2-image-builder-roadmap

Public Roadmap for EC2 Image Builder.
Other
34 stars 7 forks source link

Add support for Ubuntu 22.04 #81

Closed pb8o closed 1 year ago

pb8o commented 1 year ago

Community Note

Tell us about your request What do you want us to build?

Currently there are images for Ubuntu LTS 16.04, 18.04, 20.04, but not 22.04

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? What outcome are you trying to achieve, ultimately, and why is it hard/impossible to do right now? What is the impact of not having this problem solved? The more details you can provide, the better we'll be able to understand and solve the problem.

Are you currently working around this issue? How are you currently solving this problem?

We aren't currently working around it, but it would be nice to have these for running in our CI

Additional context Anything else we should know?

Attachments If you think you might have additional information that you'd like to include via an attachment, please do - we'll take a look. (Remember to remove any personally-identifiable information.)

rswail commented 1 year ago

This is an obvious need. 22.04 is the current LTS release of Ubuntu.

Is there any instructions on how to build a custom base image that will work with Image Builder?

gns-build-server commented 1 year ago

We need to move to Ubuntu 22.04 sooner than later to reap performance benefits over Ubuntu 20.04 without having to go to unsupported third-party repos. For example, Python 3.10 is tracked by 22.04 and offers 50-60% speedups over Python 3.8 which is the latest tracked by Ubuntu 20. We are considering working around this issue by adding the deadsnakes repo but the deadsnakes team themselves advise against it in a production setting because they have no mission to keep up with security updates. Our other alternative would be to build newer versions ourselves and maintain them solo, which is understandably quite messy.

pb8o commented 1 year ago

Looks like Ubuntu 22 images are now available:

        {
            "arn": "arn:aws:imagebuilder:us-east-1:aws:image/ubuntu-server-22-lts-arm64/x.x.x",
            "name": "Ubuntu Server 22 LTS ARM64",
            "type": "AMI",
            "platform": "Linux",
            "osVersion": "Ubuntu 22",
            "owner": "Amazon",
            "dateCreated": "2023-03-03T03:49:16.708Z"
        },
        {
            "arn": "arn:aws:imagebuilder:us-east-1:aws:image/ubuntu-server-22-lts-x86/x.x.x",
            "name": "Ubuntu Server 22 LTS x86",
            "type": "AMI",
            "platform": "Linux",
            "osVersion": "Ubuntu 22",
            "owner": "Amazon",
            "dateCreated": "2023-03-03T03:49:16.062Z"
        },
gns-build-server commented 1 year ago

I noticed Ubuntu 22.04 is still not a pulldown option in the Parallelcluster 3.5 GUI. Not sure if that's expected or not.

enrico-usai commented 1 year ago

Hi @gns-build-server, yes this is expected, having Ubuntu 22 support on ImageBuilder is a required condition to enable it in ParallelCluster but it's not enough, we need to adapt ParallelCluster cookbook recipes and CLI code to fully enable it. Please continue to follow https://github.com/aws/aws-parallelcluster/issues/4060 Thanks

anderik1 commented 1 year ago

This issue should be closed as Ubuntu 22.04 is shown as supported in the docs as well: https://docs.aws.amazon.com/imagebuilder/latest/userguide/what-is-image-builder.html#image-builder-os

anderik1 commented 1 year ago

This issue should be closed as Ubuntu 22.04 is shown as supported in the docs as well: https://docs.aws.amazon.com/imagebuilder/latest/userguide/what-is-image-builder.html#image-builder-os

aaronzielke commented 1 year ago

EC2 Image Builder support for Ubuntu 22.04 managed image is available (since end of March 2023)