Configuring EC2 for Redis

Ubuntu 18.04 out of the box from AWS is not setup properly to support Redis. Enable Overcommit Memory login via SSH sudo vim /etc/sysctl.conf Add the following to the end of the file and save. # VM for Redisvm.overcommit_memory=1 Reboot the server. Disable Huge Pages From: https://techexpert.tips/ubuntu/ubuntu-disable-transparent-huge-pages/ login via SSH sudo vim /etc/systemd/system/disable-thp.service Add this […]