If you want to quickly spin up a Couchbase cluster, you can run the simple example that is in the root of this repo. Check out couchbase-cluster-simple example documentation for instructions.
The general idea is to:
-
Use the scripts in the install-couchbase-server and install-sync-gateway modules to create an AMI with Couchbase and Sync Gateway installed.
-
Deploy the AMI across one or more Auto Scaling Groups (ASG) using the couchbase-cluster module.
-
Configure each server in the ASGs to execute the run-couchbase-server and/or run-sync-gateway script during boot.
-
(Optional): Deploy a load balancer in front of the ASGs using the load-balancer module.