Changing the default endpoint

IBM Cloud provides connectivity options for accessing cloud services in a secure manner using service endpoints. When you provision an IBM Watson Machine Learning instance, you can choose if you want to access your service through the public internet, which is the default setting, or over the IBM Cloud private network.

For more information, see IBM Cloud service endpoints.

From the service provisioning page, choose one of the following options for the default endpoint:

Public network

Public network endpoints provide connections to IBM Watson Machine Learning instance on the public network. Your environment needs to have internet access to connect.

Private network

Private network endpoints provide connections to your IBM Watson Machine Learning service over the IBM Cloud private network. After you have configured your Watson Machine Learning service to use private endpoints, it is not accessible from the public internet.

Both, public and private networks

Connect to your IBM Watson Machine Learning service over the IBM Cloud private network as well as over the public network.

Using IBM Cloud service endpoints

If you want to enable private network endpoints on your clusters, you need to enable your account for using IBM Cloud service endpoints using the IBM Cloud CLI, and then provision a Watson Machine Learning service instance with private endpoints.

Provisioning with service endpoints

You can provision a Watson Machine Learning service instance with service endpoints by using one of the following methods:

IBM Cloud UI

To configure the endpoints of your IBM Watson Machine Learning service instance, use the Endpoints field on the IBM Cloud catalog page. Select to configure either a Public, Private, or mixed network.

Configure endpoint from the service catalog

IBM Cloud CLI

If you provision an IBM Watson Machine Learning service instance by using the IBM Cloud CLI, use the command-line option service-endpoints to configure the Watson Machine Learning endpoints. You can specify the value public (the default value), private, or public-and-private:

ibmcloud resource service-instance-create <service instance name> pm-20 <plan_name> <region>  --service-endpoints <private/public/public-and-private>

For example:

ibmcloud resource service-instance-create wml-instance pm-20 standard us-south -p  --service-endpoints private

or

ibmcloud resource service-instance-create wml-instance pm-20 standard us-south --service-endpoints public-and-private