In this post I wanted to document the integration of Memcache (AWS Elasticache). The bulk of the heavy lifting is done the AWS side making sure the Elasticache is configured to be accessible from your AWS EC2 Instance. This post is focused on the WordPress implementation.
Here are the steps.
- 1. Install memcache on the target server (otherwise memcache option wont show up).
sudo apt-get update
sudo apt-get install php5-memcache
- 2. Install W3 Total Cache plugin. (note: It will show an error until you configure memcache or use external server/service.
- 3. Change memcache server path in plugin to point to AWS end point
- 4. Once complete system, click test, and if correctly configured system will indicated success.