Skip to content

Question regarding codebuild Amazon Linux update rollout

0

Hi,

I would like to know some details about the rollout updates of codebuild image for Amazon Linux From checking it is advised to update the codebuild image to the newest one which is the AL2023 (amazonlinux2-x86_64-standard:5.0).

We have been waiting for quite some time about the rollout, but it seems the codebuild image is still the same. the rollout is supposed to start last Oct 1 but until now Nov 14, no rollout is happening. Is this automatically changed or do we need to do it manually?

Any help is appreciated. Thanks

asked 2 years ago266 views

2 Answers
0

The rollout of the new Amazon Linux 2023 (AL2023) image for AWS CodeBuild is not an automatic process that changes your existing build environments. You need to manually update your CodeBuild projects to use the new AL2023-based image.

To use the new AL2023 image (amazonlinux2-x86_64-standard:5.0) in your CodeBuild projects, you will need to explicitly specify this image when creating a new project or updating an existing one. This involves modifying the build environment configuration in your CodeBuild project settings.

It's important to note that while AL2023 offers improved security and performance benefits, there are also package changes that come with this update. Therefore, it is strongly recommended that you thoroughly test your applications with the new image before implementing it in production environments. This testing is crucial to ensure compatibility and avoid potential issues with your build processes.

When updating to AL2023, be aware that there might be changes in the node initialization process and other requirements. For instance, if you're using self-managed nodes or managed node groups with custom launch templates, you may need to provide additional cluster metadata explicitly.

If you decide to update your CodeBuild projects to use the AL2023 image, you should review the package changes and any other relevant updates in the AL2023 documentation. This will help you understand and prepare for any potential impacts on your build processes.

Remember, the availability of a new image doesn't mean your existing projects are automatically updated. You have the flexibility to choose when and how to adopt the new image based on your specific needs and after proper testing.
Sources
Amazon EKS-Optimized Amazon Linux 2023 AMIs Now Available | Containers
Deterministic upgrades through versioned repositories on AL2023 - Amazon Linux 2023

answered 2 years ago

0

Thanks for sharing your answer.

another question. would it be possible to return the codebuild image to the original version, just in-case the build won't push through? just worried that after changing the version, I can no longer return to the running state.

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.