cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Tarbox <>
Subject what addresses to use in EC2 cluster (whenever an instance restarts it gets a new private ip)?
Date Mon, 11 Feb 2013 19:35:27 GMT
How do I configure my cluster to run in EC2?  In my cassandra.yaml I have
IP addresses under seed_provider, listen_address and rpc_address.

I tried setting up my cluster using just the EC2 private addresses but when
one of my instances failed and I restarted it there was a new private
address.  Suddenly my cluster thought it have five nodes rather than four.

Then I tried using Elastic IP addresses (permanent addresses) but it turns
out you get charged for network traffic between elastic addresses even if
they are within the cluster. do you configure the cluster when the IP addresses can change out
from under you?


Brian Tarbox

View raw message