Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
redis_version=2.6.7
# from here: http://www.codingsteps.com/install-redis-2-6-on-amazon-ec2-linux-ami-or-centos/
# and here: https://raw.github.com/gist/257849/9f1e627e0b7dbe68882fa2b7bdb1b2b263522004/redis-server
###############################################
# To use:
# wget https://gist.github.com/raw/4497007/866287a130a5a4ca12a132fd52e391cde39f4f3f/install-redis.sh
# chmod +x install-redis.sh
# ./install-redis.sh
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Description" : "Node.js server, cfn-create-stack NODEJS --capabilities CAPABILITY_IAM --parameters KeyName=KO_Keypair;InstanceType=m1.small;SecurityGroupName=default --disable-rollback --template-file nodeform.js",
"Parameters" : {
"KeyName" : {
"Description" : "Name of an existing EC2 KeyPair to enable SSH access",
"Type" : "String"
},