Create Amazon EKS Cluster

  1. Run the following command to create a 4 node EKS cluster selecting a cluster name and region name of your choice
eksctl create cluster \
  --name <CLUSTER_NAME> \
  --region <REGION_NAME> \
  --node-type m5.large \
  --nodes 4
  • Note that a minimum of 4 nodes is required to support a Sawtooth network using the PBFT consensus plugin. However smaller clusters can be added to such an existing Sawtooth network
  • If you choose a region that that doesn't support Amazon EKS then eksctl will report an error and list the supported regions
  • Make a brew as this is going to take a few minutes
  • Once your cluster is ready run the following command to check its configuration
  kubectl get svc

This should return something similar to this

NAME         TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)   AGE
kubernetes   ClusterIP   10.100.0.1   <none>        443/TCP   9m45s

Now you should be all set to add this cluster to the list of available clusters in Sextant for Sawtooth assuming this is already running. Otherwise you can of course install and instance of Sextant for Sawtooth on it first.

NOTE Sextant for Sawtooth only needs to be installed on one of your clusters unless you are running multiple environments such as development, QA, staging and production. The following section only


It is important to tear down any resources once you have finished with them otherwise you will continue to be billed for them

Delete Amazon EKS cluster

  1. Before deleting your EKS cluster, delete any active deployment running on it using Sextant for Sawtooth
  2. Then, delete any provisioned clusters in Sextant for Sawtooth
  3. Run the following command to delete your EKS cluster specifying the cluster name and region name for completeness
eksctl delete cluster \
  --name <CLUSTER_NAME> \
  --region <REGION_NAME>