Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws keyspace configs for hmda-platform #4918

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

zencircle
Copy link
Contributor

@zencircle zencircle commented Oct 23, 2024

Readme

For Apache Cassandra(k8ssandra) with PlainTextAuthProvider use persistence.conf
For AWS Keyspace with PlainTextAuthProvider use persistence-keyspace.conf (do not use for cluster deployment)
For AWS Keyspace with SigV4AuthProvider persistence-keyspace-sigv4.conf

hmda/src/main/resources/application.conf. (local deployment)
hmda/src/main/resources/application-kubernetes.conf (cluster deployment)
hmda-analytics/src/main/resources/application.conf
modified-lar/src/main/resources/application.conf
irs-publisher/src/main/resources/application.conf

Environment variables for Apache Cassandra(k8ssandra) with PlainTextAuthProvider use "persistence.conf"

export CASSANDRA_CLUSTER_HOSTS="10.x.x.x:9042"
export CASSANDRA_JOURNAL_KEYSPACE=hmda2_journal
export CASSANDRA_SNAPSHOT_KEYSPACE=hmda2_snapshot
export CASSANDRA_CLUSTER_USERNAME=xxx
export CASSANDRA_CLUSTER_DC=xxx
export CASSANDRA_CLUSTER_PASSWORD=xxx

Environment variables for AWS Keyspace with PlainTextAuthProvider use "persistence-keyspace.conf"

export CASSANDRA_TRUSTSTORE_FILE="/tmp/cassandra_truststore.jks"
export CASSANDRA_TRUSTSTORE_PASSWORD="xxx"
export CASSANDRA_JOURNAL_KEYSPACE=hmda2_journal
export CASSANDRA_SNAPSHOT_KEYSPACE=hmda2_snapshot
export CASSANDRA_CLUSTER_DC="us-east-1"
export CASSANDRA_CLUSTER_USERNAME="xxx"
export CASSANDRA_CLUSTER_PASSWORD="xxx"

Environment variables for AWS Keyspace with SigV4AuthProvider "persistence-keyspace-sigv4.conf"

export CASSANDRA_TRUSTSTORE_FILE="/tmp/cassandra_truststore.jks"
export CASSANDRA_TRUSTSTORE_PASSWORD="xxx"
export CASSANDRA_JOURNAL_KEYSPACE=hmda2_journal
export CASSANDRA_SNAPSHOT_KEYSPACE=hmda2_snapshot
export CASSANDRA_CLUSTER_DC="us-east-1"
export CASSANDRA_CLUSTER_USERNAME="xxx"
export CASSANDRA_CLUSTER_PASSWORD="xxx"
export AWS_ACCESS_KEY_ID=xxx
export AWS_SECRET_ACCESS_KEY=xxx

@zencircle zencircle changed the title aws keyspace configs for dev hmda-platform aws keyspace configs for hmda-platform Nov 5, 2024
@zencircle zencircle requested a review from kgudel November 7, 2024 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant