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

Update to Amazon Linux 2023 or later (before 2025-06-30) #175

Open
wincent opened this issue Dec 4, 2021 · 4 comments
Open

Update to Amazon Linux 2023 or later (before 2025-06-30) #175

wincent opened this issue Dec 4, 2021 · 4 comments
Labels

Comments

@wincent
Copy link
Owner

wincent commented Dec 4, 2021

See:

As per "Amazon Linux 2 FAQs":

Q. When will support for Amazon Linux 2 end?

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.

Note that by the time I do this, it might be Amazon Linux 2025 instead of 2023, as per "Amazon Linux 2023 FAQs":

Q: What is the release schedule for Amazon Linux?

A: A new major version releases every two years and comes with five years of long-term support with each release consisting of two phases: active development phase (2 years), and maintenance phase (3 years). In the active development phase, the release receives quarterly minor version updates. Each minor version is a cumulative list of updates that includes security and bug fixes in addition to the new features and packages. During the maintenance phase, a release receives only security updates and critical bug fixes that will be published as soon as they are available.

This issue supersedes:

Blocks:

Related:

@wincent wincent added the chore label Dec 4, 2021
@wincent wincent changed the title Update to Amazon Linux 2022 Update to Amazon Linux 2023 Aug 5, 2023
@wincent
Copy link
Owner Author

wincent commented Aug 10, 2023

Stuff that may or will require manual intervention:

AMI root file system and default Amazon EBS volume type

The AL2023 AMI and Amazon Linux 2 both use the XFS file system on the root file system. For AL2023, the mkfsoptions for the root device file system are further optimized for Amazon EC2. AL2023 also supports a number of other file systems that you can use on other volumes to meet your specific requirements.

AL2023 AMIs use Amazon EBS gp3 volumes by default, whereas Amazon Linux 2 AMIs use Amazon EBS gp2 volumes by default. You can change the volume type when you launch an instance. For more information about Amazon EBS volume types, see Amazon EBS General Purpose Volumes. For more information about launching an Amazon EC2 instance, see Launch an instance in the Amazon EC2 User Guide for Linux Instances.

Task scheduling

In Amazon Linux 2 the cronie package was installed by default on the Amazon Machine Image (AMI), providing support for the traditional crontab way of scheduling periodic tasks. In AL2023, we use systemd timer units and cronie extensively. Support for crontab is no longer provided by default.

You can optionally install the cronie package to use classic cron jobs. We recommmend that you migrate to systemd timers due to the added functionality provided by systemd.

Package manager

The default software package management tool on AL2023 is DNF. DNF is the successor to YUM, the package management tool in Amazon Linux 2.

For more information, see Package management tool.

Extra Packages for Enterprise Linux (EPEL)

Extra Packages for Enterprise Linux (EPEL) is a project in the Fedora community with the objective of creating a large array of packages for enterprise-level Linux operating systems. The project has primarily produced RHEL and CentOS packages. Amazon Linux 2 features a high level of compatibility with CentOS 7. As a result, many EPEL7 packages work on Amazon Linux 2. However, AL2023 doesn't support EPEL or EPEL-like repositories.

@wincent
Copy link
Owner Author

wincent commented Aug 10, 2023

All packages listing

Issues to watch:

@wincent
Copy link
Owner Author

wincent commented Aug 11, 2023

Release cadence

  • Amazon Linux 2023 will hit EOL in 2028.
  • Amazon Linux 2025 will hit EOL in 2030.
  • Amazon Linux 2027 will hit EOL in 2032.
  • etc...

@wincent wincent changed the title Update to Amazon Linux 2023 Update to Amazon Linux 2023 (before 2025-06-30) Oct 6, 2023
@wincent wincent changed the title Update to Amazon Linux 2023 (before 2025-06-30) Update to Amazon Linux 2023 or later (before 2025-06-30) Oct 6, 2023
@wincent
Copy link
Owner Author

wincent commented Oct 27, 2023

With all the breaking changes, considering moving back to good ol' CentOS or Fedora. Remembering how big the move was to Amazon Linux 2...

Amazon itself lists alternatives here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant