Skip to content

☁️ Deploy Multi-Regional BenchChain Clusters On Digital Ocean With Terraform

Notifications You must be signed in to change notification settings

benchlab/benchchain-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BenchChain Terraform

Deploy Multi-Regional BenchChain Clusters On Digital Ocean With Terraform

What Is This?

This Terraform deployment configuration automatically sets up DigitalOcean droplets and has been modified to also install or mass-deploy BenchChain's TestNet.

Initial Instructions

  • Launch a server at Digital Ocean or use your local development environment. Both work fine.
  • Create a DigitalOcean API token at https://cloud.digitalocean.com/settings/api/tokens.
  • Make sure API settings are set to Read/Write
  • Create SSH keys
  • Install Terraform via https://www.terraform.io
  • Clone this repository: git clone https://github.com/benchlab/benchchain-terraform && cd benchchain-terraform
  • Follow BenchChain Terraform Build instructions below.

BenchChain Terraform Build

    export API="your-digital-ocean-api-token"
    export PUBLIC_KEY="$HOME/.ssh/id_rsa.pub"

    terraform init
    terraform apply -var APITOKEN="$API" -var PUBLICKEY="$KEY"

Finalize

At the end you will get a complete list of BenchChain IP addresses that belong to all the new droplets that were launched via this deployment script.

Destroy BenchChain Cluster

Run the command below: terraform destroy

About

☁️ Deploy Multi-Regional BenchChain Clusters On Digital Ocean With Terraform

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages