Amazon Linux 2023 User Guide
Instance replacement ......................................................................................................................... 393
In-place Deterministic upgrades ...................................................................................................... 393
Managing updates ................................................................................................................................... 401
Checking for available package updates ....................................................................................... 402
Applying security updates using DNF and repository versions ................................................. 406
Automatic service restart after (security) updates ...................................................................... 419
Launching an instance with the latest repository version enabled .......................................... 420
Getting package support information ........................................................................................... 421
dnf check-release-update ..................................................................................................... 422
Adding, enabling, or disabling new repositories .......................................................................... 425
Adding repositories with cloud-init ................................................................................................ 428
Kernel Live Patching ................................................................................................................................ 429
Limitations ............................................................................................................................................ 430
Supported configurations and prerequisites ................................................................................ 430
Work with Kernel Live Patching ...................................................................................................... 431
Programming languages and runtimes ...................................................................................... 437
C/C++ and Fortran ................................................................................................................................... 437
Go ................................................................................................................................................................ 438
AL2023 Lambda function: Go ........................................................................................................ 439
Java ............................................................................................................................................................. 439
Perl .............................................................................................................................................................. 439
Perl modules ........................................................................................................................................ 439
PHP ............................................................................................................................................................. 440
Migrating to new PHP versions ....................................................................................................... 440
Migrating from PHP 7.x .................................................................................................................... 440
PHP modules ....................................................................................................................................... 441
Python ........................................................................................................................................................ 441
Python modules .................................................................................................................................. 442
Rust ............................................................................................................................................................. 442
AL2023 Lambda function: Rust ..................................................................................................... 442
Security and Compliance ............................................................................................................ 443
Security advisories ................................................................................................................................... 444
ALAS Announcements ....................................................................................................................... 444
ALAS FAQs ............................................................................................................................................ 444
Listing applicable Advisories ................................................................................................................. 445
In-place updates ....................................................................................................................................... 448
viii