I would like to run Cassandra Datastax Enterprise on Amazon EC2 instances using not the node private IP address but Elastic Public IPs
My current configuration looks as follows:
/etc/dse/cassandra/cassandra.yaml
seed_provider:
- class_name: org.apache.cassandra.locator.SimpleSeedProvider
parameters:
seeds: "publicIP"
listen_address: "publicIP"
endpoint_snitch:Ec2Snitch
rpc_address: "publicIP"
The "dse" service is not starting properly.
/var/log/cassandra/system.log is showing the following error:
org.apache.cassandra.exceptions.ConfigurationException: Unable to bind to address /<publicIP>:7000. Set listen_address in cassandra.yaml to an interface you can bind to, e.g., your private IP address on EC2
I have also tried to change the broadcast_address to point to the public IP address but it doesn't work.
Is there any way of running dse service (Cassandra) in a way it uses the elastic IP addresses and not the private IPs of EC2 boxes?
eth0, and not just an ip, you can't bind to anything but the IPs that are available on your configured interfaces. - Marc Beth0interface - syncdk