Skip to content

klaytn/klayspray

Repository files navigation

klayspray

Deploy a Klaytn network!

Table of Contents

Supported Cloud Providers

  • AWS
  • GCP
  • Azure

Requirements

Get Started : Deploy Private Layer1 Network

QuickStart

You can easily deploy a private layer1 network with the following command lines. Please see the below to see the deatil.

$ git clone https://github.com/klaytn/klayspray.git
$ cd klayspray
$ export TF_OPTIONS="-chdir=terraform/aws/private-layer1"
$ terraform $TF_OPTIONS init
$ terraform $TF_OPTIONS apply -auto-approve
$ ansible-playbook -i inventory/private-layer1/inventory.ini private-layer1.yaml
$ git clone https://github.com/klaytn/klayspray.git
$ cd klayspray
$ export TF_OPTIONS="-chdir=terraform/gcp/private-layer1"
$ terraform $TF_OPTIONS init
$ terraform $TF_OPTIONS apply -auto-approve
$ ansible-playbook -i inventory/private-layer1/inventory.ini private-layer1.yaml
$ git clone https://github.com/klaytn/klayspray.git
$ cd klayspray
$ export TF_OPTIONS="-chdir=terraform/azure/private-layer1"
$ terraform $TF_OPTIONS init
$ terraform $TF_OPTIONS apply -auto-approve
$ ansible-playbook -i inventory/private-layer1/inventory.ini private-layer1.yaml