Terraform configurations and helper scripts for Consul Global Scale Benchmark
MPL-2.0 License
The repository contains Terraform config and scripts required to run the Consul Global Scale Benckmark for HashiCorp Consul on Amazon Web Services.
There are two Terraform projects that help setup the experiment.
infrastructure - This directory contains the Terraform configuration for setting up the infrastructure for the experiment.
services - This directory contains the Terraform configuration for the services that run on the Kubernetes and Nomad clusters.
The benchmark uses Terraform to initialize infrastructure.
Note: Any of the Terraform remote backends can be used for this project.
Using Terraform Cloud backend.
infrastructure/remote.tf
file and add Terraform Cloud organization name.
terraform {
backend "remote" {
organization = "YOUR_TERRAFORM_CLOUD_ORGANIZATION_NAME_HERE"
workspaces {
name = "consul-scalability-challenge-infrastructure"
}
}
}
cd infrastructure
Initialize Terraform
terraform init
Run Terraform apply
terraform apply -var="key_name=consul-global-scale-challenge" -var="datadog_api_key=${DATADOG_API_KEY}" -parallelism="100"
More documentation coming soon!