Remote Cassandra

Astro is able to connect Impulse to a remote Cassandra by setting the domain in the astro.conf file.

ENV Vars

There are multiple Cassandra environment variables that can be set to customize the connection to Cassandra.

  • CASSANDRA_DOMAIN_NAME

    • Set the domain name for the remote Cassandra.

    • Accepts both IP port and docker container name.

    • i.e., CASSANDRA_DOMAIN_NAME=db or CASSANDRA_DOMAIN_NAME=10.0.1.60

  • CASSANDRA_USERNAME

    • Set the Cassandra username to connect to the database.

    • i.e., CASSANDRA_USERNAME=cassUser

  • CASSANDRA_PASSWORD

    • Set the Cassandra password to connect to the database.

    • i.e., CASSANDRA_USERNAME=cassPass

  • CASSANDRA_SSL_CERT

    • Set the Cassandra ssl cert to connect to the database.

    • i.e., CASSANDRA_SSL_CERT=/path/to/cert or CASSANDRA_SSL_CERT=casscert

Start Astro without Cassandra

When connecting to a remote Cassandra, you will likely want to start Astro without a local Cassandra container. To do this add the --no-db option to the astro start command

./astro.sh start --no-db

Last updated