Sample terraform application for client-facing analytics.
Basic application infrastructure looks as follows:
Everything is described in terraform
-folder.
To run this in your own AWS space do follows:
cd terraform
terraform init
terraform apply -var-file=env.tfvars -var="my_ip=$(curl -4 ifconfig.me)"
Inside env.tfvars
consist main argument that used inside module, default one:
db_password = "Password"
db_username = "chinook_admin"
Final goal is extract data from private Postgresql, to feed postgresql with test data see readme in here
First thing first - connectivity. For that we need to connect double-cloud via BYOA
Once we establish connectivity bridge we can introduce private DWH instance (Clickhouse)
Once we have a cluster, we need to get some data. To make it possible we will create a transfer from exist postgres to this clickhouse.
Finally, we have all data in clickhouse, last step is here: Expose it via Dashboard