Terraform module for deploying ScyllaDB cluster on AWS. It also deploys Scylla Monitoring Stack alongside the cluster, to monitor its metrics.
$ cat main.tf
module "scylla-cluster" {
source = "github.com/rjeczalik/terraform-aws-scylla"
aws_access_key = "AKIA..."
aws_secret_key = "..."
aws_instance_type = "i3.large"
cluster_count = 3
cluster_user_cidr = ["0.0.0.0/0"]
}
Once you configure the module, create the cluster with:
$ terraform apply -no-color -auto-approve
To destroy the cluster, tear it down with:
$ terraform destroy -auto-approve