IBM Cloud Databases for DataStax connection

To access your data in IBM Cloud Databases for DataStax, create a connection asset for it.

IBM Cloud Databases for DataStax is a scale-out NoSQL database in IBM Cloud that is built on Apache Cassandra. It’s designed to power real-time applications with high availability and massive scalability.

Create a connection to IBM Cloud Databases for DataStax

To create the connection asset, you need these connection details:

  • Host name
  • Port number
  • Username and password
  • Keyspace
  • SSL certificate (if required by the database server)

Recommended values to insert into "SSL certificate", "Key certificate" and "Private key" fields can be found in secure-connect-bundle.zip. It can be downloaded from the Databases for DataStax instance (tab Overview). After downloading secure connect bundle, unzip it, and you'll find the following:

  • SSL certificate property: contents of ca.crt
  • Private key property: contents of key

In order to paste contents of key into Private key property, it has to be parsed to one-line. It can be done for example by executing following in the console: tr -d '\n' < key. The output from this command can be put into Private key property.

  • Key certificate property: contents of cert

For Credentials and Certificates, you can use secrets if a vault is configured for the platform and the service supports vaults. For information, see Using secrets from vaults in connections.

Choose the method for creating a connection based on where you are in the platform

In a project
Click Assets > New asset > Data access tools > Connection. See Adding a connection to a project.
In a catalog
Click Add to catalog > Connection. See Adding a connection asset to a catalog.
In a deployment space
Click Add to space > Connection. See Adding connections to a deployment space.
In the Platform assets catalog
Click New connection. See Adding platform connections.

Next step: Add data assets from the connection

Where you can use this connection

Projects

  • AutoAI (Watson Machine Learning)
  • Data Refinery (Watson Studio or Watson Knowledge Catalog)
  • Notebooks (Watson Studio). Click Read data on the Code snippets pane to get the connection credentials and load the data into a data structure. See Load data from data source connections.
  • SPSS Modeler (SPSS Modeler service)

Catalogs

  • Platform assets catalog

  • Other catalogs (Watson Knowledge Catalog)

    Note:

    Preview, profile, and masking do not work for this connection in Watson Knowledge Catalog.

Federal Information Processing Standards (FIPS) compliance

The IBM Cloud Databases for DataStax connection is compliant with FIPS except for a connection that requires SSL.

IBM Cloud Databases for DataStax setup

Getting Started with IBM Cloud Databases for DataStax

Learn more

IBM Cloud Databases for DataStax Documentation

Parent topic: Supported connections