[
https://issues.apache.org/jira/browse/CASSANDRA-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018821#comment-13018821
]
Jonathan Ellis commented on CASSANDRA-2452:
-------------------------------------------
Is this a one-size-fits-all solution? It seems to me some people would prefer
to continue to use the private interface. Maybe this should be a new snitch
class.
> Modify EC2 Snitch to use public ip and hence natively support for EC2
> mult-region's.
> ------------------------------------------------------------------------------------
>
> Key: CASSANDRA-2452
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2452
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Affects Versions: 0.8
> Environment: JVM
> Reporter: Vijay
> Assignee: Vijay
> Priority: Minor
> Attachments: 2452-EC2Snitch-Changes.txt
>
>
> Make cassandra talk identify itself using the public ip (To avoid any future
> conflicts of private ips).
> 1) Split the logic of identification vs listen Address in the code.
> 2) Move the logic to assign IP address to the node into EndPointSnitch.
> 3) Make EC2 Snitch query for its public ip and use it for identification.
> 4) Make EC2 snitch to use InetAddress.getLocal to listen to the private ip.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira