Creating a service instance for Watson Query from the web client
After you install Watson Query, you must create at least one Watson Query service instance. Each service instance must be in a different Red Hat® OpenShift® Container Platform project. You can create a service instance in the operands project or in a project that is tethered to the operands project. If you are a Cloud Pak for Data user, you can use the web client to create service instances. The web client guides you through the process of creating service instances.
- Who needs to complete this task?
- To create a service instance from the web client, you must have the Create service instances permission in Cloud Pak for Data.
- When do you need to complete this task?
- Complete this task only if you want to create a service instance from the web client.
Alternative methods for creating a service instance
- By using the
cpd-cli service-instance create
command. For more information, see Creating a service instance for Watson Query with the cpd-cli service-instance create command. - By using the
/v3/service_instances
REST API call. For more information, see Creating a service instance for Watson Query programmatically.
- By using the
Before you begin
This task assumes that the following prerequisites are met:
Prerequisite | Where to find more information |
---|---|
Watson Query is installed. | If this task is not complete, see Installing Watson Query. |
About this task
You can run only one Watson Query instance in a project. You can run multiple instances of Watson Query for the same Cloud Pak for Data instance by setting up tethered projects and then provisioning one Watson Query instance in each of the tethered projects. For information about setting up tethered projects, see Tethering projects to the IBM Cloud Pak for Data control plane.
The Watson Query service is provisioned to any compute node in the Cloud Pak for Data cluster that has the specified resources (cores, memory, and ephemeral storage) available.
Procedure
What to do next
- When you provision the Watson Query service, you are automatically assigned the Watson Query Admin role. After you provision the service, you must give other users access to the service instance. For more information, see Managing users in Watson Query.
- To connect to the Watson Query service, use the JDBC URL that is provided in the Configure connection page for the service. Additionally, if you have a load balancer, you must open the port in your load balancer and your firewall. For more information, see Configuring network requirements for Watson Query.