Managing data for deployments

This topic describes various ways of adding and promoting data assets to a space. It also contains important information about data types used in batch jobs.

Adding data sources to a space (Watson Machine Learning)

Add data sources to a deployment space to use with batch deployment jobs. Data can be:

Notes:

Data added to a space is managed in a similar way to data added to a Watson Studio project. For example:

You can add data to a space in one of these ways:

For details on how Watson Studio connects to data, see Accessing data.

Promoting data sources from a project

To promote data from a project:

  1. Save a data source, data connection, or connected data to a project.
  2. In the project Assets page, from the action item for the data asset, choose Promote.

The promoted data asset displays in the space and is available for use as an input data source in a deployment job.

Adding data to a space

To add data directly to a space:

  1. From the Assets page of the deployment space, click Add to space.
  2. Choose the type of data asset to add:
    • Data to specify a file to upload
    • Connection to specify a connection to a data repository such as DB2
    • Connected data to connect to data in a storage object such as a Cloud Object Storage bucket
  3. Complete the steps to add the data.

The data asset displays in the space and is available for use as an input data source in a deployment job.

Using data from a Cloud Object Storage connection

  1. Create a connection to IBM Cloud Object Storage by adding a Connection to your project or space and selecting Cloud Object Storage (infrastructure) as the connection type. Provide the secret key, access key and login URL.
  2. Add input and output files to the deployment space as connected data using the COS connection you created.

Using data from a Storage volume (NFS) connection

For details on using data from a networked file system, see Storage volume connection.

Data sources for batch jobs

Input data can be supplied to a batch job as: