Browse the Repo

file-type-icon.circleci
file-type-iconexamples
file-type-iconmemcached
file-type-iconredis
file-type-iconREADME.md
file-type-iconmain.tf
file-type-iconoutputs.tf
file-type-iconvars.tf
file-type-iconredis_with_auth_token
file-type-iconredis_with_sharding
file-type-iconmodules
file-type-icontest
file-type-icon.gitignore
file-type-iconCODEOWNERS
file-type-iconLICENSE.txt
file-type-iconREADME.md

Browse the Repo

file-type-icon.circleci
file-type-iconexamples
file-type-iconmemcached
file-type-iconredis
file-type-iconREADME.md
file-type-iconmain.tf
file-type-iconoutputs.tf
file-type-iconvars.tf
file-type-iconredis_with_auth_token
file-type-iconredis_with_sharding
file-type-iconmodules
file-type-icontest
file-type-icon.gitignore
file-type-iconCODEOWNERS
file-type-iconLICENSE.txt
file-type-iconREADME.md
Redis

Redis

Run a Redis cluster using Amazon’s ElastiCache Service. Supports replication, multi-zone automatic failover, and automatic backup.

Code Preview

Preview the Code

mobile file icon

README.md

down

Redis Example

This folder contains an example of how to use the Redis module to create a Redis Cluster using AWS ElastiCache.

How do you run this example?

To run this example, you need to:

  1. Install Terraform.
  2. Open up vars.tf and set secrets at the top of the file as environment variables and fill in any other variables in the file that don't have defaults.
  3. terraform get.
  4. terraform plan.
  5. If the plan looks good, run terraform apply.

NOTE: To automatically enforce terraform best practices, for anything beyond local experimentation, we recommend using terragrunt.

When the templates are applied, Terraform will output the IP address of the cache.

Questions? Ask away.

We're here to talk about our services, answer any questions, give advice, or just to chat.

Ready to hand off the Gruntwork?