Browse the Repo

file-type-icon.circleci
file-type-icon_docs
file-type-iconexamples
file-type-iconchronograf-ami
file-type-iconinfluxdb-ami
file-type-iconinfluxdb-cluster-simple
file-type-iconkapacitor-ami
file-type-iconlocal-mocks
file-type-icontelegraf-ami
file-type-icontick-ami
file-type-icontick-multi-cluster
file-type-icontick-single-cluster
file-type-iconlocal-test
file-type-iconuser-data
file-type-iconREADME.md
file-type-iconmain.tf
file-type-iconoutputs.tf
file-type-iconvariables.tf
file-type-iconmodules
file-type-icontest
file-type-icon.gitignore
file-type-icon.pre-commit-config.yaml
file-type-iconCODEOWNERS
file-type-iconCONTRIBUTING.md
file-type-iconLICENSE
file-type-iconNOTICE
file-type-iconREADME.md
file-type-iconmain.tf
file-type-iconoutputs.tf
file-type-iconvariables.tf

Browse the Repo

file-type-icon.circleci
file-type-icon_docs
file-type-iconexamples
file-type-iconchronograf-ami
file-type-iconinfluxdb-ami
file-type-iconinfluxdb-cluster-simple
file-type-iconkapacitor-ami
file-type-iconlocal-mocks
file-type-icontelegraf-ami
file-type-icontick-ami
file-type-icontick-multi-cluster
file-type-icontick-single-cluster
file-type-iconlocal-test
file-type-iconuser-data
file-type-iconREADME.md
file-type-iconmain.tf
file-type-iconoutputs.tf
file-type-iconvariables.tf
file-type-iconmodules
file-type-icontest
file-type-icon.gitignore
file-type-icon.pre-commit-config.yaml
file-type-iconCODEOWNERS
file-type-iconCONTRIBUTING.md
file-type-iconLICENSE
file-type-iconNOTICE
file-type-iconREADME.md
file-type-iconmain.tf
file-type-iconoutputs.tf
file-type-iconvariables.tf
InfluxDB

InfluxDB

Deploy an InfluxDB cluster. Supports automatic bootstrapping and auto healing.

Code Preview

Preview the Code

mobile file icon

README.md

down

TICK Single Cluster Example

This folder shows an example of Terraform code that uses the tick-cluster module to deploy a TICK stack cluster in AWS.

This example also deploys a Load Balancer in front of the TICK cluster using the load-balancer module.

You will need to create an Amazon Machine Image (AMI) that has all components of the TICK stack installed, which you can do using the tick-ami example).

To see an example of TICK deployed across separate clusters, see the tick-multi-cluster example.

What resources does this example deploy?

  1. A single all in one server behind an ASG where we run telegraf, influxdb, chronograf and kapacitor
  2. An Application Load Balancer

You will need to create Amazon Machine Images (AMIs) that have all of the TICK-stack components installed. You can do this using:

Quick start

To deploy a TICK Cluster:

  1. git clone this repo to your computer.
  2. Optional: build a custom TICK AMI. See the tick-ami example documentation for instructions. Make sure to note down the ID of the AMI.
  3. Install Terraform.
  4. Open the variables.tf file in this folder, set the environment variables specified at the top of the file, and fill in any other variables that don't have a default. If you built a custom AMI, put its ID into the ami_id variable. If you didn't, this example will use public AMIs that Gruntwork has published, which are fine for testing/learning, but not recommended for production use.
  5. Run terraform init
  6. Run terraform apply

Connecting to the cluster

InfluxDB

Check out How do you connect to the InfluxDB cluster documentation.

Chronograf

Check out How do you connect to the Chronograf cluster documentation.

Questions? Ask away.

We're here to talk about our services, answer any questions, give advice, or just to chat.

Ready to hand off the Gruntwork?