- Newest
- Most votes
- Most comments
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
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
Relevant content
asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 years ago
