Browse the Repo
Browse the Repo
Deploy a Couchbase cluster. Supports automatic bootstrapping, Sync Gateway, Web Console UI, cross-region replication, and auto healing.
Or as multiple clusters for the various Couchbase services (data, management, search, index, query) and Sync Gateway:
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.
This repo has the following folder structure:
The general idea is to:
Deploy the AMI across one or more Auto Scaling Groups (ASG) using the couchbase-cluster module.
(Optional): Deploy a load balancer in front of the ASGs using the load-balancer module.
See the examples folder for working sample code.
A Module is a canonical, reusable, best-practices definition for how to run a single piece of infrastructure, such as a database or server cluster. Each Module is written using a combination of Terraform and scripts (mostly bash) and include automated tests, documentation, and examples. It is maintained both by the open source community and companies that provide commercial support.
Instead of figuring out the details of how to run a piece of infrastructure from scratch, you can reuse existing code that has been proven in production. And instead of maintaining all that infrastructure code yourself, you can leverage the work of the Module community to pick up infrastructure improvements through a version number bump.
Contributions are very welcome! Check out the Contribution Guidelines for instructions.
During initial development, the major version will be 0 (e.g.,
0.x.y), which indicates the code does not yet have a
stable API. Once we hit
1.0.0, we will make every effort to maintain a backwards compatible API and use the MAJOR,
MINOR, and PATCH versions on each release to indicate any incompatibilities.
Copyright © 2018 Gruntwork, Inc.
We're here to talk about our services, answer any questions, give advice, or just to chat.