- Notifications
You must be signed in to change notification settings - Fork6
calvinlfer/cassandra-ebs-cloudformation
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A CloudFormation template that describes how to materialize a multi-node Cassandra cluster that is backed by ElasticBlock Store (EBS) volumes and connect to each other using Elastic Network Interfaces (ENIs) in order to provide privatestatic IPs.
This template is intended to be resilient to failures to nodes so if you take down any of the nodes, the downed nodeswill come back up and re-attach the EBS volumes to re-gain their previous state and re-attach the ENI to re-gain thesame IP and reconnect back into the cluster. We create an Auto-Scaling-Group per Cassandra node to allow this statefulbehavior and leverage and EBS-ENI pair per Cassandra node. This is one of the approaches to building stateful servicesin the cloud. Another approach which involves leveraging Route 53's DNS Type A Records can be foundhere.
This is a single AWS region (single C* datacenter) multi-AZ (multiple C* racks) deployment so we make use of theEc2Snitch
. The cluster consists of 3 nodes where each node resides in a single AWS Availability Zone.
- OS optimizations
- Cassandra optimizations
- EBS volume selection (commit log on one volume, data on another volume)
- Node-to-node encryption
- Client-to-node encryption
- Monitoring (pull JMX metrics into CloudWatch Metrics visualized by Grafana)
- Repair (viaCassandra Reaper)
Note: This is a work-in-progress
About
A CloudFormation blueprint to materialize a 3 node Cassandra cluster backed by EBS
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.