title: Cassandra Datastax Enterprise using Amazon Elastic IP
body: <p>I would like to run Cassandra Datastax Enterprise on Amazon EC2 instances using not the node private IP address but Elastic Public IPs</p>
  
  <p>My current configuration looks as follows:</p>
  
  <pre><code>/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"
  </code></pre>
  
  <p>The "dse" service is not starting properly.</p>
  
  <p>/var/log/cassandra/system.log is showing the following error:</p>
  
  <blockquote>
    <p><code>org.apache.cassandra.exceptions.ConfigurationException: Unable to bind to address /&lt;publicIP&gt;:7000. Set listen_address in cassandra.yaml to an interface you can bind to, e.g., your private IP address on EC2</code></p>
  </blockquote>
  
  <p>I have also tried to change the broadcast_address to point to the public IP address but it doesn't work.</p>
  
  <p>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?</p>