Amazon Linux 2023 consumes significantly more memory than Amazon Linux 2, causing severe performance issues on tiny EC2 instances with only 512 MB RAM. Two key optimizations can restore performance: disabling tmpfs for /tmp to move temporary files from RAM to disk, and removing zram-based swap in favor of disk-based swap to

2m read time From cloudonaut.io
Post cover image
Table of contents
Move /tmp from RAM to diskMove SWAP from RAM to diskSummary
1 Comment

Sort: