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

Document usage of Ec2Snitch for multiple regions cluster

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Triage Needed
    • Priority: Normal
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Documentation/Website
    • Labels:
      None
    • Platform:
      All
    • Impacts:
      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

          Activity

            People

            • Assignee:
              serban Serban Teodorescu
              Reporter:
              serban Serban Teodorescu
              Authors:
              Serban Teodorescu
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: