The current version of Amazon Linux is Amazon Linux 2023, while the container images here are based on AL2. Using the latest Amazon Linux as an example is always good practice.