mirror of
https://github.com/hashicorp/consul-global-scale-benchmark
synced 2026-04-05 19:01:02 +00:00
No description
- HCL 74.7%
- Smarty 24.4%
- Makefile 0.5%
- Dockerfile 0.4%
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> |
||
|---|---|---|
| config | ||
| infrastructure | ||
| services | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
Consul Global Scale Benchmark
The repository contains Terraform config and scripts required to run the Consul Global Scale Benckmark for HashiCorp Consul on Amazon Web Services.
Prerequisites
- HashiCorp Terraform v0.13.5
Structure
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.
Provisioning Infrastructure
The benchmark uses Terraform to initialize infrastructure.
Prerequisites
- Terraform remote state backend.
Note: Any of the Terraform remote backends can be used for this project.
Using Terraform Cloud backend.
- Follow this tutorial to sign up.
- Edit
infrastructure/remote.tffile and add Terraform Cloud organization name.terraform { backend "remote" { organization = "YOUR_TERRAFORM_CLOUD_ORGANIZATION_NAME_HERE" workspaces { name = "consul-scalability-challenge-infrastructure" } } }
Create Infrastructure via HashiCorp Terraform
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!