/tmp is now tmpfs - Amazon Linux 2023

/tmp is now tmpfs

Amazon Linux 2023 introduces changes to how /tmp behaves when compared to Amazon Linux 2. The default configuration for AL2 was that both /tmp and /var/tmp were on the root file system. Amazon Linux 2023 defaults to using tmpfs for /tmp with a limit of 50% of RAM and a maximum of one million inodes. These changes bring Amazon Linux in line with the behavior of other Linux distributions.

For full details of the file system layout of AL2023, see /tmp and /var/tmp in the Filesystem Layout section.