Skip to content

Terraform configurations and helper scripts for Consul Global Scale Benchmark

License

Notifications You must be signed in to change notification settings

hashicorp/consul-global-scale-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Structure

There are two Terraform projects that help setup the experiment.

  1. infrastructure - This directory contains the Terraform configuration for setting up the infrastructure for the experiment.

  2. 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

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.tf file 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!

About

Terraform configurations and helper scripts for Consul Global Scale Benchmark

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages