Skip to content

Updates to support AL2023 GA release #2301

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

Merged
merged 3 commits into from
Mar 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 32 additions & 39 deletions amazonlinux/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,70 +4,63 @@ Amazon Linux is provided by Amazon Web Services (AWS). It is designed to provide

The Amazon Linux container image contains a minimal set of packages. To install additional packages, [use `yum`](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/managing-software.html).

AWS provides two versions of Amazon Linux: [Amazon Linux 2](https://aws.amazon.com/amazon-linux-2/) and [Amazon Linux AMI](https://aws.amazon.com/amazon-linux-ami/).
AWS provides three versions of Amazon Linux:

**Please note, that Amazon Linux 2023 is currently in the Preview mode and is not recommended for production workloads. Review the Amazon Linux 2023 [documentation](https://docs.aws.amazon.com/linux/al2023/ug/what-is-amazon-linux.html) to learn more.**
- [Amazon Linux 2023](https://aws.amazon.com/linux/amazon-linux-2023/) (recommended, latest)
- [Amazon Linux 2](https://aws.amazon.com/amazon-linux-2/)
- [Amazon Linux AMI](https://aws.amazon.com/amazon-linux-ami/)

For information on security updates for Amazon Linux, please refer to [Amazon Linux 2 Security Advisories](https://alas.aws.amazon.com/alas2.html) and [Amazon Linux AMI Security Advisories](https://alas.aws.amazon.com/). Note that Docker Hub's vulnerability scanning for Amazon Linux is currently based on RPM versions, which does not reflect the state of backported patches for vulnerabilities.
For information on security updates for Amazon Linux, please refer to:

%%LOGO%%
- [Amazon Linux 2023 Security Advisories](https://alas.aws.amazon.com/alas2023.html)
- [Amazon Linux 2 Security Advisories](https://alas.aws.amazon.com/alas2.html)
- [Amazon Linux AMI Security Advisories](https://alas.aws.amazon.com/)

## Where can I run Amazon Linux container images?
Note that Docker Hub's vulnerability scanning for Amazon Linux is currently based on RPM versions, which does not reflect the state of backported patches for vulnerabilities.
Copy link
Member

@yosifkit yosifkit Mar 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you provide some examples of this happening? The team responsible is very interested in improving the active results. 🙇 ❤️ Thanks!

(the Docker Hub scanning recently transitioned to Docker Scout)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is an old assertion that I kept as-is in this update.
I will check with the relevant team and get back.


You can run Amazon Linux container images in any Docker based environment. Examples include, your laptop, in AWS EC2 instances, and ECS clusters.

## How is Amazon Linux 2 different from Amazon Linux AMI?
%%LOGO%%

There are three major differences in Amazon Linux 2 from its predecessors:
## What is Amazon Linux 2023?

1. it is available as a VM image for on-premises development and testing
2. it includes systemd service and systems manager as opposed to System V init system and also includes new version of compiler and build tools
3. it gives you the ability to install additional software packages through Extras mechanism without impacting the underlying LTS stability
- Amazon Linux 2023: https://aws.amazon.com/linux/amazon-linux-2023/
- 2023.0 Release Notes: https://docs.aws.amazon.com/linux/al2023/release-notes/relnotes.html
- FAQs: https://aws.amazon.com/linux/amazon-linux-2023/faqs/
- What's New: https://aws.amazon.com/about-aws/whats-new/2023/03/amazon-linux-2023/
- User Guide: https://docs.aws.amazon.com/linux/al2023/ug/what-is-amazon-linux.html

## Is Amazon Linux 2 build an official LTS build?
## Where can I run Amazon Linux container images?

Yes. Amazon Linux 2 end of support date (End of Life, or EOL) has been extended by two years from 2023-06-30 to 2025-06-30 to provide customers with ample time to migrate to the next version.
You can run Amazon Linux container images in any Docker based environment. Examples include, your laptop, in AWS EC2 instances, and ECS clusters.

## What packages are available in the Amazon Linux containers?

Amazon Linux Docker container images contain a subset of the packages in the images for use on EC2 and as VMs in on-premises scenarios. The container images can be configured to use any of the full set of packages in images for EC2 and on-premises use. The Amazon Linux 2 container images comes with Extras included.

## What is an Amazon Linux 2 Extra?

Extras is a new mechanism introduced in Amazon Linux 2 to enable the consumption of the newest versions of application software in a fully supported manner on a stable Amazon Linux 2 base. Extras help alleviate the compromise between stability of the OS and freshness of available software. For example, now you can install newer versions of Python being rest assured that the underlying operating system is stable. Examples of Extras include nginx, PostgreSQL, MariaDB, Go, and Rust.

## How do Amazon Linux 2 Extras work?

Extras introduces the notion of topics to select software bundles. Each topic contains all the dependencies required for the software to install and function on Amazon Linux 2. For example, Rust is an Extras topic in the curated list provide by Amazon. It provides the toolchain and runtimes for Rust, the systems programming language. This topic includes the cmake build system for Rust, cargo - the rust package manager, and the LLVM based compiler toolchain for Rust. The packages associated with each topic are consumed via the well-known yum installation process.

## How are Amazon Linux 2 Extras topics different from the packages available in yum repositories?

`yum` is a utility for package management of RPM packages. The base image of Amazon Linux 2 (LTS) includes access to repositories that already contain stable versions of popular packages that can be installed with `yum`. These packages are part of the long term support for Amazon Linux 2.

However, if you need a new software package or a newer version of an existing software package that is not included in the base Amazon Linux 2 image, Extras provide a way to install those packages in a supported manner. Extras is essentially a simplified mechanism to point yum to AWS curated sets of packages for a selected topic.

## How do I install a software package from Extras repository in Amazon Linux 2?

Available packages can be listed with the `amazon-linux-extras` command. Packages can be installed with the `amazon-linux-extras install <package>` command. Example: `amazon-linux-extras install rust1`
Amazon Linux Docker container images contain a subset of the packages in the images for use on EC2 and as VMs in on-premises scenarios. The container images can be configured to use any of the full set of packages in images for EC2 and on-premises use.

## Will updates be available for Amazon Linux containers?

Similar to the Amazon Linux images for AWS EC2 and on-premises use, Amazon Linux container images will get ongoing updates from Amazon in the form of security updates, bug fix updates, and other enhancements. Security bulletins for Amazon Linux are available at https://alas.aws.amazon.com/

## What support is available for Amazon Linux outside AWS?

- GitHub Issues: https://github.com/amazonlinux/container-images/issues
- Documentation: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-linux-ami-basics.html
- Amazon Linux Forums: https://forums.aws.amazon.com/forum.jspa?forumID=228
- Paid Support from AWS: https://aws.amazon.com/premiumsupport/

## With the availability of Amazon Linux 2, are there any changes to the existing version of Amazon Linux AMI?
## Will AWS support the current versions of Amazon Linux going forward?

Yes; in order to avoid any disruption to your existing applications and to facilitate migration to Amazon Linux 2023, AWS will provide regular security updates for Amazon Linux 2 and Amazon Linux 2018.03. Please refer to their FAQs for more information. You can also use all your existing support channels such as AWS Premium Support and Amazon Linux Discussion Forum to continue to submit support requests.

## FAQs

### Amazon Linux 2023

With the availability of Amazon Linux 2, we are announcing that 2018.03 release of Amazon Linux AMI container image will be the last release for the current generation of Amazon Linux. Going forward, AWS will provide newer versions only for Amazon Linux 2.
- FAQs: https://aws.amazon.com/linux/amazon-linux-2023/faqs/

## Will AWS support the current version of Amazon Linux going forward?
### Amazon Linux 2

Yes; in order to avoid any disruption to your existing applications and to facilitate migration to Amazon Linux 2, AWS will provide regular security updates for Amazon Linux 2018.03 AMI and container image for 2 years after the final LTS build is announced. You can also use all your existing support channels such as AWS Premium Support and Amazon Linux Discussion Forum to continue to submit support requests.
- FAQs: https://aws.amazon.com/amazon-linux-2/faqs/

## Is Amazon Linux 2 backward compatible with Amazon Linux AMI?
### Amazon Linux 1

Due to the inclusion of new components in Amazon Linux 2 such as systemd, your applications running on the current version of Amazon Linux may require additional changes to run on Amazon Linux 2.
- FAQs: https://aws.amazon.com/amazon-linux-ami/faqs/
3 changes: 2 additions & 1 deletion amazonlinux/issues.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
[the Amazon Linux forums](https://forums.aws.amazon.com/forum.jspa?forumID=228)
- [amazonlinux/container-images/issues](https://github.com/amazonlinux/container-images/issues)
- [the Amazon Linux forums](https://forums.aws.amazon.com/forum.jspa?forumID=228)