Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
Semantic
-
Low Hanging Fruit
-
All
-
None
-
Description
Ec2MultiRegionSnitch was (probably) done because it was not possible in AWS to have intra-region VPC peering. This changed pin 2017, see AWS announcement (and extended with 9 more regions in 2018, see link):
Inter-Region VPC Peering allows VPC resources like EC2 instances[...] running in different AWS regions to communicate with each other using private IP addresses, without requiring gateways, VPN connections or separate network appliances.
Since the datacenter/rack names are loaded in Ec2Snitch using AWS API there is no reason why this snitch would not work in a multi-datacenter setup. I tested and used this in a production environment. So the documentation should be changed to include this usage.
Proposed change: https://github.com/apache/cassandra/compare/trunk...serban21:15337-trunk
Attachments
Issue Links
- links to