Skip to content

Instantly share code, notes, and snippets.

@justinhennessy
Last active August 29, 2015 14:10
Show Gist options
  • Save justinhennessy/32753dd95a85b34c215e to your computer and use it in GitHub Desktop.
Save justinhennessy/32753dd95a85b34c215e to your computer and use it in GitHub Desktop.
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Description" : "AWS CloudFormation Sample Template ElastiCache_Redis: Sample template showing how to create an Amazon ElastiCache Redis Cluster. **WARNING** This template creates an Amazon EC2 Instance and an Amazon ElastiCache Cluster. You will be billed for the AWS resources used if you create a stack from this template.",
"Parameters" : {
"ClusterNodeType" : {
"Description" : "The compute and memory capacity of the nodes in the Redis Cluster",
"Type" : "String",
"Default" : "cache.m1.small"
}
},
"Resources" : {
"RedisCluster" : {
"Type": "AWS::ElastiCache::CacheCluster",
"Properties": {
"CacheNodeType" : { "Ref" : "ClusterNodeType" },
"CacheSubnetGroupName" : "supporter-cache-subnet-group",
"Engine" : "redis",
"NumCacheNodes" : "1"
}
}
},
"Outputs" : {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment