I am setting up an Amazon EC/2 instance, and am putting Riak on it. I am wondering if I should store the data locally (and not ever delete the instance), or set up Riak to store to S3 and bring up/take down instances as I need?
views:
170answers:
2
A:
Your best bet is to ask on the mailing list: http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
There's also lots of information on the wiki: http://wiki.basho.com/display/RIAK/Home
A:
For persistent data you should use an Elastic Block Store (EBS) volume; this is persistent across system restarts and can be attached to different EC2 instances at will.
gareth_bowles
2010-03-29 18:57:15
Thank you Gareth again! I am thinking I will setup 3 Ec-2 instances with each one attached to an EBS volume (this is where riak will store its data). I can then setup the riak DBs in a cluster and they will sync from there on out. I can then write a ruby script (using chef??) that will bring up a new ec-2 instance if I need it, attach a disk, and sync riak with the others in the cluster.Am I thinking about this the right way?
tesmar
2010-03-29 19:51:58