How to run Couchbase on multiple server or multiple AWS instances?

732 Views Asked by At

I am trying to evaluate couchbase`s performance on multiple nodes. I have a Client that generates data for me based on some schema(for 1 node currently, local). But I want to know how I can horizontally scale Couchbase and how it works. Like If I have multiple machines or AWS instances or Windows Azure how can I configure Couchbase to shard the data and than I can evaluate its performance for multiple nodes. Any suggestions and details as to how I can do this?

1

There are 1 best solutions below

0
Tug Grall On

I am not (yet) familiar with Azure but you can find a very good white paper about Couchbase on AWS:

Let's talk about the cluster itself, you just need to

  • install Couchbase on multiple nodes
  • create a "cluster" on one of then
  • then you simply have to add other nodes to the cluster and rebalance.

I have created an Ansible script that use exactly the steps to create a cluster from command line, see

Once you have done that your application will leverage all the nodes automatically, and you can add/remove nodes as you need.

Finally if you want to learn more about Couchbase architecture, how sharding, failover, data consistency, indexing work, I am inviting your to look at this white paper: