Note: it would be most cost effective to use DynamoDB on AWS but this method is easier to debug and not very expensive for non production purposes.
The instructions for getting Redis to work are as follows:
- From a fresh Ubuntu EC2 instance (I use nano) run
sudo apt-get install redis-server
- Allow all inbound tcp traffic via the instance's security group via the management console.
- Open
/etc/redis/redis.conf
with root and changebind 127.0.0.1
tobind 0.0.0.0
- Restart the server with
sudo service redis-server restart
- Test that it is working.
redis-cli -h XXXX ping
should returnPONG
where XXXX is the public DNS for your instance.