Now that you've created a cluster, it's time to connect your application to your new Cassandra Cloud Database. Aside from setting your firewall rules, Instaclustr provides a few examples (customised to your cluster) for the wide selection of client libraries Cassandra supports to help you through this process.
1. After your Cluster has finished provisioning navigate to your Cluster Details page, all your nodes should be in a Running state with no errors listed. Some infrastructure providers allocate both public and private (data centre local) IP addresses to cluster nodes. If both are available, they will be listed with their respective nodes on this page.
|Note: We suggest that if your application is running within the same data centre as your cluster, you investigate configuring your client to connect to the private addresses. Please refer to your providers pricing documentation.|
2a. Instaclustr manages the firewall permissions for the nodes in your cluster. Each cluster node only allows connections from one or more trusted IP addresses. You can add one or more trusted IP addresses to the cluster firewall on the Cluster Settings page for the cluster.
Click the Cluster Settings button from the Manage Cluster menu.
2b. Enter any additional IP addresses you wish to trust to the Allowed Addresses list under Firewall Rules in the Cluster Settings page.
|Note: If your cluster is running on AWS and using VPC peering and you would prefer that an AWS security group be allowed to connect rather than individual addresses, please raise a support request.|
Click the Save Cluster Settings button when you are finished.
|Want to customise your Cassandra cluster further? Please contact us at email@example.com|
3a. Instaclustr provides connection examples accessible from the Manage Cluster drop down menu on the Cluster Details page. Click the Connection Details button from the Manage Cluster menu.
3b. The Connection Details page contains a list of your Node Addresses and a few connection examples for popular clients Cassandra supports.
At this point in time we provide custom examples for: