Consume AWS ElastiCache from WordPress

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).

  • 2. Install W3 Total Cache plugin. (note: It will show an error until you configure memcache or use external server/service.

Screen Shot 2016-04-28 at 9.10.21 AM

  • 3. Change memcache server path in plugin to point to AWS end point

Screen Shot 2016-04-28 at 9.03.06 AM

  • 4. Once complete system, click test, and if correctly configured system will indicated success.

Screen Shot 2016-04-28 at 9.14.04 AM