Amazon AWS Linux Magento

Setup memcached for Magento on Amazon AWS ec2/CentOS/RedHat

What is Memcached and why should we use it?

Memcached is a high-performance memory caching system which stores the data and objects in the system RAM temporarily that could be accessed by different programs. Memcached is a very important component for any dynamic website and when we talk about Magento it becomes very critical to use Memcached service. It boosts the Magento performance significantly. You can easily setup Memcached for Magento on any server. Memcached service may be available by default for few managed servers, you just need to enable it. But for the unmanaged server, you will need to install and setup Memcached.

You can read more about Memcached here.

In this tutorial, I’ll explain you how to install and setup Memcached for Magento on Amazon AWS ec2/Centos/RedHat servers.

Steps to install and setup Memcached for Magento:

Install Memcached


Configure Memcached cache size and other options


Restart httpd and memcached service


Add following code in “app/etc/local.xml” under <resources> tag to setup memcached for magento 


About the author

Sujeet Kr Singh