Is it possible to use Redis instead of Memcached as a layer on AWS OpsWorks?
I'll start working on a project soon and I was thinking about using Redis as my only database because:
- It's really fast
- Has built-in persistence
- Is available as a service on AWS, unlike MongoDB
During development (and probably on the final production enviroment) servers will run only during business ours to reduce expenses.
Any ideas on how to use Redis and shutdown the cache/database servers when nobody is using?
I'm quite new to DevOps and never worked with Chef receipts before. Just checked out AWS OpsWorks service for the first time today, so please be patient.
Thanks!
If you want to stick to OpsWorks only then there is no out-of-the box Redis there. You can however create custom recipes and make your own Redis layer.
If you do not have to stick to OpsWorks only then ElastiCache can use memcached or Redis.