Menu
AWS Elastic Beanstalk
Developer Guide (API Version 2010-12-01)

Using Elastic Beanstalk with Amazon ElastiCache

Amazon ElastiCache is a web service that makes it easy to set up, manage, and scale distributed in-memory cache environments in the cloud. It provides a high performance, resizable, and cost-effective in-memory cache, while removing the complexity associated with deploying and managing a distributed cache environment. Amazon ElastiCache is protocol-compliant with Memcached, so the code, applications, and most popular tools that you use today with your existing Memcached environments will work seamlessly with the service. For more information about Amazon ElastiCache, go to the Amazon ElastiCache product page.

To use Elastic Beanstalk with Amazon ElastiCache

  1. Create an ElastiCache cluster. For instructions on how to create an ElastiCache cluster, go to Create a Cache Cluster in the Amazon ElastiCache Getting Started Guide.

  2. Configure your Amazon ElastiCache Security Group to allow access from the Amazon EC2 security group used by your Elastic Beanstalk application. For instructions on how to find the name of your EC2 security group using the AWS Management Console, see Security Groups. For more information, go to Authorize Access in the Amazon ElastiCache Getting Started Guide.

If you are using a non-legacy container, you can also use configuration files to customize your Elastic Beanstalk environment to use Amazon ElastiCache. For information on supported container types and customizing your environment, see AWS Elastic Beanstalk Environment Configuration. For an example snippet using Amazon ElastiCache with Elastic Beanstalk, see Example Snippets: ElastiCache.