Use with Amazon EC2 in a single region.
Use the EC2Snitch for simple cluster deployments on Amazon EC2 where all nodes in the cluster are within a single region.
The region name is treated as the data center name and availability zones are treated as racks within a data center. For example, if a node is in the us-east-1 region, us-east is the data center name and 1 is the rack location. (Racks are important for distributing replicas, but not for data center naming.) Because private IPs are used, this snitch does not work across multiple regions.
If you are using only a single data center, you do not need to specify any properties.
- Packaged installs: /etc/cassandra/conf/cassandra-rackdc.properties
- Tarball installs: install_location/conf/cassandra-rackdc.properties
us-east_1_cassandra us-east_1_analytics us-east_1_search