Coder Social home page Coder Social logo

support-sysagents / terraform-aws-couchbase Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gruntwork-io/terraform-aws-couchbase

0.0 0.0 0.0 1.82 MB

Reusable infrastructure modules for running Couchbase on AWS

Home Page: https://gruntwork.io/

License: Apache License 2.0

Shell 40.99% HCL 40.25% Go 18.76%

terraform-aws-couchbase's Introduction

Maintained by Gruntwork.io

Couchbase AWS Module

This repo contains a Module for deploying Couchbase on AWS using Terraform and Packer. Couchbase is a distributed NoSQL document database. This module supports running Couchbase as a single cluster:

Couchbase single-cluster architecture

Or as multiple clusters for the various Couchbase services (data, management, search, index, query) and Sync Gateway:

Couchbase multi-cluster architecture

Quick start

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.

What's in this repo

This repo has the following folder structure:

  • root: The root folder contains an example of how to deploy Couchbase as a single-cluster. See couchbase-cluster-simple for the documentation.
  • modules: This folder contains the main implementation code for this Module, broken down into multiple standalone submodules.
  • examples: This folder contains examples of how to use the submodules.
  • test: Automated tests for the submodules and examples.

How to use this repo

The general idea is to:

  1. Use the scripts in the install-couchbase-server and install-sync-gateway modules to create an AMI with Couchbase and Sync Gateway installed.

  2. Deploy the AMI across one or more Auto Scaling Groups (ASG) using the couchbase-cluster module.

  3. Configure each server in the ASGs to execute the run-couchbase-server and/or run-sync-gateway script during boot.

  4. (Optional): Deploy a load balancer in front of the ASGs using the load-balancer module.

See the examples folder for working sample code.

What's a Module?

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.

Who maintains this Module?

This Module is maintained by Gruntwork. If you're looking for help or commercial support, send an email to [email protected]. Gruntwork can help with:

  • Setup, customization, and support for this Module.
  • Modules for other types of infrastructure, such as VPCs, Docker clusters, databases, and continuous integration.
  • Modules that meet compliance requirements, such as HIPAA.
  • Consulting & Training on AWS, Terraform, and DevOps.

How do I contribute to this Module?

Contributions are very welcome! Check out the Contribution Guidelines for instructions.

How is this Module versioned?

This Module follows the principles of Semantic Versioning. You can find each new release, along with the changelog, in the Releases Page.

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.

License

This code is released under the Apache 2.0 License. Please see LICENSE and NOTICE for more details.

Copyright © 2018 Gruntwork, Inc.

terraform-aws-couchbase's People

Contributors

brikis98 avatar davisford avatar eak12913 avatar etiene avatar gruntwork-ci avatar robmorgan avatar yorinasub17 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.