Updated: May 9th, 2013
This document describes how to use Riak on Engine Yard Cloud.
What is Riak?
Riak is an open source, highly scalable, fault-tolerant distributed database. It is made by Basho and it’s different than traditional relational databases and other “NoSQL” non-relational databases. Riak is master-less so it has no single point of failure. It's a great choice for read and write-intensive web apps. Riak is also operations friendly. It scales simply and intelligently; simply add a node to a cluster, with no downtime.
Get started Riak on Engine Yard Cloud
- Create a Riak cluster
- More information
- This article assumes you already have an Engine Yard account. If not, see Sign up for an Engine Yard Account.
- Your environment must have 64-bit instances only. We do not support 32-bit instances with Riak.
- You should upgrade to the May 8th, 2013 stack release (or later) to get the latest features and fixes. Remember that every environment where you intend to use Riak on Engine Yard Cloud must be upgraded.
Create a Riak cluster
You create a Riak cluster on the environment page.
Important: Your environment must have 64-bit instances only. We do not support 32-bit instances with Riak.
To create a Riak cluster
- In Engine Yard Cloud, click Dashboard.
- Select an environment by clicking the environment name.
On the Environment page, click Add Cluster then click Riak.
The Add a Cluster page appears.
Configure the cluster as needed:
- Riak Cluster Options
- Cluster Name - name must be unique and cannot be changed.
- Location - co-located application and data recommended for the region.
- Node Count - recommended production cluster size of 5. Basho recommends no fewer than 5 nodes for a production environment. A cluster of 3 nodes may be appropriate for a staging environment.
- Instance Size - for more info, see Manage Your Instances.
- Storage - see Supported Storage Types.
- Provisioned IOPS - enter a value between 100 to 2000.
- Riak Options
- Version - version of Riak you are running.
- Backends - see Choosing a Riak Storage Backend.
- Riak Search - see Basho's Riak search doc.
Click Create Riak Cluster.
All instances begin to boot up. Status appears on the dashboard.
Why isn't Riak in the Database Stack selection?
Riak is a database that is provisioned by adding and using clusters, so the database stack selection does not apply. (It is possible to have a MySQL database stack, or No Database, and still use Riak for example.)
We have gathered our favorite Riak resources:
|For more information about ...||See ...|
|Introducing Riak||Screencast by Edward Chiu, Deployment Engineer (PANDA)|
|Basho's Riak documentation||http://docs.basho.com/riak/latest/|
|Basho's "The Riak Fast Track"||http://docs.basho.com/riak/latest/tutorials/fast-track/|
|Basho's "From Relational to Riak: Advantages, Tradeoffs, and Considerations"||http://basho.com/blog/technical/2012/12/19/From-Relational-to-Riak/|
|Eric Redmond's "Little Riak Book"||https://github.com/coderoshi/little_riak_book/tree/master/rendered/|
|Mathias Meyer's "Riak Handbook"||http://riakhandbook.com|
|Adron Hall's "Riak is a Whole Big List of Things"||http://compositecode.com/2013/01/11/riak-is-a-whole-big-list-of-things/|
|Getting Started with Riak in the Cloud||Slide deck by Ines Sombra, Data Engineer (Developer)|
|RICON 2012: "Riak in the Cloud"||Presentation by Ines Sombra and Michael Brodhead|