This tutorial will show you how to connect the on-prem Pivot to a Druid cluster managed via Imply Cloud.
What is this, a crossover episode?
When spinning up a cluster with Imply Cloud you will automatically get a Pivot instance that is wired into the Imply Cloud user management system. If you need to also access the Druid cluster using an on premise Pivot you can do so by connecting it as an external application.
Make sure that the cloud cluster is running and go to the API
page
Make sure that the machine that will run the on-prem Pivot has network readability to one of the query load balancers (internal or external depending on where this machine is running).
ping internal-imply-e08-elbinter-4cqwgofoc39u-321833498.us-east-1.elb.amazonaws.com
tar -xzf imply-3.1.19.tar.gz
cd imply-3.1.19
Edit the supervisor config to only start the Pivot (imply-ui
service).
Start Pivot via the supervise script
bin/supervise -c conf/supervise/quickstart.conf
Navigate your browser to port 9095 of the on-prem machine, you should see the Pivot interface.
Go to the user profile and select Settings
, then edit the Connection
.
Fill in the hosts with the cloud load balancer host and port
You will also need to select the protocol as tls
and fill in the certificate authority
with the cert downloaded from the API page.
Finally set the default auth token to {"type":"basic-auth","username":"admin","password":"xxxx"}
where the username and password come from the API page.
You do not have to use the admin
user for this, you can create any API user you want.
All done, you can now use your on-prem Pivot with you cloud Druid cluster.