Skip to content

Migrate from AL2 to AL2023#28

Merged
thekid merged 2 commits intomainfrom
migrate/al-2023
Feb 14, 2026
Merged

Migrate from AL2 to AL2023#28
thekid merged 2 commits intomainfrom
migrate/al-2023

Conversation

@thekid
Copy link
Member

@thekid thekid commented Feb 14, 2026

Amazon Linux 2 end of support date (End of Life, or EOL) will be on 2026-06-30.

Customers need to migrate to Amazon Linux 2023 (AL2023) prior to the AL2’s end of support (EOS)
AL2023 is the latest version of Amazon Linux which offers enhanced security features including FIPS certification, modern package versions, improved performance, and support until June 2029.

Source: https://aws.amazon.com/amazon-linux-2/faqs/


See also:

ARG xp_version="?.?.?"

RUN yum clean all && yum install -y \
RUN dnf clean all && dnf install -y \
Copy link
Member Author

Choose a reason for hiding this comment

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

@thekid thekid added the enhancement New feature or request label Feb 14, 2026
/usr/local/bin/aws-lambda-rie /var/runtime/bootstrap --log-level error &\n\
pid=$!\n\
curl -s "http://localhost:8080/2015-03-31/functions/function/invocations" -d "$2"\n\
timeout 10 sh -c "until cat < /dev/null > /dev/tcp/127.0.0.1/9001 ; do sleep 0.1; done" 2>/dev/null\n\
Copy link
Member Author

Choose a reason for hiding this comment

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

This likely worked due to lucky timing rather than guaranteed ordering. Seems AL2 was just slow enough that the socket was always ready by the time your script tried to connect. This is a classic heisenbug - the race condition existed but rarely manifested.

@thekid thekid merged commit 4b2d378 into main Feb 14, 2026
16 checks passed
@thekid thekid deleted the migrate/al-2023 branch February 14, 2026 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant