I would like to run Cassandra Datastax Enterprise on Amazon EC2 instances using not Elast IP address, but Elastic Public IPs
My current configuration is 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 does not start correctly.
/var/log/cassandra/system.log displays 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, eg, your private IP address on EC2
I also tried changing broadcast_address to point to the public IP, but it does not work.
Is there a way to start the dse service (Cassandra) in such a way that it uses elastic IP addresses and not private EC2 IP codes?
cassandra amazon-web-services datastax datastax-enterprise
Bdata
source share