This repo contains an AWS CloudFormation template for quickly spinning up multi-node CockroachDB clusters for development/test environments.
The included template allows users to select the number of nodes, the cluster version, the EC2 instance type, and the amount of storage available to each node. For a small amount of security, the CockroachDB cluster is deployed in a virtual private cloud that restricts access to specific IP address ranges.
While the region in which the CloudFormation stack runs is configurable, the CockroachDB cluster is deployed in a single availability zone within that region. Since this configuration would not survive an availability zone failure, we would not recommend it for production deployments.
Click here to deploy CockroachDB using this template.
You can lean more about this template by reading our documentation and release blog.
If you edit this template, you can run tests using TaskCat
Prerequisites: docker
curl -s https://raw.githubusercontent.com/aws-quickstart/taskcat/master/installer/docker-install-master| sudo python -E
Note: (If you do not have root privileges Taskcat will install in the current directory)
To run tests
ci
directory so the KeyName
value references your ec2 key.config.yml
and double check the regions in which the tests will run. Make sure a key with your provided name is in those regions (or edit the region config to point to regions that do contain your specified key).taskcat -c cockroachdb-cloudformation/ci/config.yml -p
.taskcat_outputs
directory. Simply open the index.html
file to see the results. This template was originally forked from Heptio's Kuberenets AWS Quick Start