Cassandra knows nothing about elastic ip. You have to use ssh tunnel or run
your client on ec2 instance.

Thank you,
  Andrey


On Tue, Jun 24, 2014 at 8:55 PM, Huiliang Zhang <zhl...@gmail.com> wrote:

> Hi,
>
> I am using Cassandra on EC2 instances. My cassandra always returns private
> ips of the instances to the thrift program. Then the program cannot connect
> to the private ips.
>
> I already changed the
> rpc_address: elastic ip
> rpc_address: elastic ip
>
> Then I restarted the cassandra cluster. But the system.peers still save
> the private ips as peer address.
>
> How to fix this?
>
> Thanks,
> Huiliang
>
>

Reply via email to