Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-15337

Document usage of Ec2Snitch for multiple regions cluster

    XMLWordPrintableJSON

    Details

      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

            Activity

              People

              • Assignee:
                serban Serban Teodorescu
                Reporter:
                serban Serban Teodorescu
                Authors:
                Serban Teodorescu
                Reviewers:
                Jon Haddad
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m