Skip to content

hashicorp/consul-global-scale-benchmark

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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