What is cloud Pak for data as a service?

The Red Hat Ecosystem Catalog is the official source for discovering and learning more about the Red Hat Ecosystem of both Red Hat and certified third-party products and services.

We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Before we get started with the workshop, you will need to download some assets and setup your environment.

This section is broken up into the following steps:

  1. Download Assets
  2. Create IBM Cloud Account and IBM Cloud Pak for Data services
  3. Create a Project and Deployment Space
  4. Get the IBM Cloud platform API key
  5. Conclusion

Note: You can click on any image in the instructions below to zoom in and see more details. When you do that just click on your browser's back button to return to the previous page.

Download Assets¶

Various parts of this workshop will require the attendee to upload files or run scripts. These artifacts have been collected in the following two zip files which you can download using the links below. For each line below, click on the [Download] link to get the file. If the link isn't working for you, try clicking the [Mirror] to get it from a backup server. You'll need these files in the next sections.

  • Cloud Pak for Data Project - [Download] | [Mirror]
  • Sample Python Application - [Download] | [Mirror]

Create IBM Cloud Account and Services¶

We need to provision our Cloud Pak for Data as a Service instance. Cloud Pak for Data provides you with an integrated set of capabilities for collecting and organizing your data into a trusted, unified view, and then creating and scaling AI models across your business.

Create Cloud Pak for Data Services¶

  • Launch a new web browser window or tab and navigate to IBM Cloud Pak for Data using the region closest to your location from the list below:

    • US, Dallas
    • EU, Frankfurt
    • Japan, Tokyo
  • You can leave the pre-selected region or select the region nearest to you. Next, log in by doing one of the following:

    • If you do not have an IBMid, enter your email address on the left panel and accept the terms checkbox in the Create a new IBM Cloud Account section. Then click the Next button to complete the process of creating a new account.

    • If you already have and IBMid, click on the Log in with your IBMid link. Enter the requested profile information and then click the Continue button.

    Note: If you are a returning user and you have watson services in a different region than the pre-selected one, you will see an error message telling you to select that region instead. See the FAQ section for help.

    What is cloud Pak for data as a service?

  • The services required for IBM Cloud Pak for Data will be automatically provisioned for you. Once you see a message that says that the apps are ready to use, click on Go to IBM Cloud Pak for Data.

    What is cloud Pak for data as a service?

Verify Service Instances¶

  • Click on the (☰) navigation menu on the top left corner of the Cloud Pak for Data UI. Expand Services and then click on Service instances.

    What is cloud Pak for data as a service?

  • If you see an instance of Machine Learning, take note of its name and you can skip to section Create a Project and Deployment Space.

  • If you do not have an instance of Machine Learning, click on the [Download]0 button.

    What is cloud Pak for data as a service?

  • Search or scroll until you find the tile for Machine Learning and click on it.

    What is cloud Pak for data as a service?

  • In the 'Select a region' drop down, choose the same region as you chose for your Cloud Pak for Data as a Service platform. Select the Free tier in the 'Pricing plan' section. Optionally, scroll down and change the name of the instance. Finally, click the [Download]1 button.

Note: If you have any issues creating the services, please see the FAQ section for help.

Create a Project and Deployment Space¶

Import the Project¶

In Cloud Pak for Data, we use the concept of a project to collect / organize the resources used to achieve a particular goal (resources to build a solution to a problem). Your project resources can include data, collaborators, and analytic assets like notebooks and models, etc.

  • Go the (☰) navigation menu, expand Projects and click on the View all projects link.

    What is cloud Pak for data as a service?

  • Click on the [Download]2 button. If you have existing projects, your screen will look different, click on the [Download]3 option on the top right.

    What is cloud Pak for data as a service?

  • We are going to create a project from an existing file (which contains the assets we will use throughout this workshop), as opposed to creating an empty project. Select the Create a project from a sample or file option.

    What is cloud Pak for data as a service?

  • Click on the browse link and in the file browser popup, navigate to where you downloaded the files for this lab. Then select the [Download]4 file.

    What is cloud Pak for data as a service?

  • Give the project a name. If this is the first time you are creating a project and you do not have an IBM Cloud Object Storage (ICOS) service instance, you will see the [Download]5 link in the [Download]6 section. If you already have a cloud object storage instance populated in this section, skip to the next step. Otherwise, provision an ICOS instance:

    • Go ahead and click on the [Download]5 link to create an instance (if you already have an object storage displayed, proceed to the next step).

      What is cloud Pak for data as a service?

    • A new browser tab will open up, where you can create the Cloud Object Service. By default, a [Download]8 (Free) plan will be selected. Scroll down and update the name of your Cloud Object Storage service if you wish, and click [Download]1.

      What is cloud Pak for data as a service?

    • The browser tab will automatically close when the Cloud Object Storage instance has been created. Back on IBM Cloud Pak for Data as a Service, click [Mirror]0.

      What is cloud Pak for data as a service?

      Note: If you don't see the object storage instance, click the [Mirror]0 option again.

  • Your Cloud Object Storage instance will be displayed under "Storage". Click [Download]1 to finish creating the project.

    What is cloud Pak for data as a service?

  • You can see a progress bar that says your project is being created. Once the project is succesfully created, on the pop up window click on the [Mirror]3 button.

    What is cloud Pak for data as a service?

  • Clicking on the Assets tab will show all the assets that were imported into the project when it was created.

Associate a Watson Machine Learning Service instance to the project¶

You will need to associate a Watson Machine Learning service instance to your project in order to run Machine Learning experiments.

  • Go to the Settings tab of your project and look for the Associated services section. Click on [Mirror]4 and in the menu that opens up, click on [Mirror]5.

    What is cloud Pak for data as a service?

  • Click the checkbox next to the Watson Machine Learning service instance that was created for you when you signed up for Cloud Pak for Data as a Service or the one you created in section 2. Click [Mirror]6.

    Note: If you have multiple WatsonMachineLearning services, make sure you select the one that is in the same regions as is your Cloud Pak for Data as a service.

    What is cloud Pak for data as a service?

  • You willsee a notification that the WatsonMachineLearning service was successfully associated with your project. Click on the [Mirror]7 in the right top corner to close the pop up modal and go back to your project.

    What is cloud Pak for data as a service?

Create a Deployment Space¶

Cloud Pak for Data uses the concept of [Mirror]8 to configure and manage the deployment of a set of related deployable assets. These assets can be data files, machine learning models, etc. For this workshop, we need to create one.

  • Go the (☰) navigation menu, expand [Mirror]9 and then select Create a new IBM Cloud Account0.

    What is cloud Pak for data as a service?

  • Click on the Create a new IBM Cloud Account1 button.

    What is cloud Pak for data as a service?

  • Give your deployment space a unique name and optional description. In the service drop downs, select the Cloud Object Storage instance that you had created when you were creating the project and select the Machine Learning Service instance associated with your IBM Cloud Pak for Data as a Service instance. Then click the [Download]1 button.

    What is cloud Pak for data as a service?

  • Once the deployment space is created, you can click on Create a new IBM Cloud Account3.

    What is cloud Pak for data as a service?

Get API Access Details¶

In some parts of this workshop, you will be using the Watson Machine Learning (WML) SDK / APIs to perform operations on your Watson Machine Learning instance. To programmatically access your Watson Machine Learning instance, you will need to provide the API key for your IBM Cloud account as well as the location of the WML service instance.

Get an API Key¶

You will use the IBM Cloud Console to generate the IBM Cloud API key.

  • In a new browser window or tab, open the API keys section of the IBM Cloud console link.

  • Select Create a new IBM Cloud Account4 in the View dropdown and then click Create a new IBM Cloud Account5.

    What is cloud Pak for data as a service?

  • Give your API key a unique name and click [Download]1. You should see a message that says Create a new IBM Cloud Account7. Click Create a new IBM Cloud Account8 to copy the generated API key and save it locally as you will need it in the workshop labs.

    What is cloud Pak for data as a service?

Get the WML Service Instance Location¶

You will need to know the location (i.e region code) where your machine learning service instance is provisioned.

If you know the region where you provisioned the service, you can determine the region code from the table below:

RegionRegion CodesDallasus-southTokyojp-tokLondoneu-gbFrankfurteu-de

If you are not sure of the region you provisioned, you can use the IBM Cloud CLI to obtain the location of the machine learning service instance.

  • In a new browser window or tab, go to the IBM Cloud Home Page and click the terminal icon in the upper right-hand bar to launch a new cloud shell web terminal window.

    What is cloud Pak for data as a service?

  • Wait for the web terminal to be ready and then run the following command to retrieve information about the Machine Learning service instance. Remember to replace Create a new IBM Cloud Account9 with the name of your Machine Learning instance associated with your IBM Cloud Pak for Data as a Service instance.

    ibmcloud resource service-instance 
    

    Note: The Create a new IBM Cloud Account9 is the name of your machine learning instance name, which we saw in the 'Verify Service Instances' section above.

  • Get the value of Next1 from this result. This is the value that you will need to save for future labs.

Conclusion¶

We have now completed creating an IBM Cloud account, a Cloud Pak for Data as a Service instance, and the project and deployment space that we will use in the rest of this workshop. We have also obtained the IBM Cloud API key that we will use to invoke APIs for your services.

What is IBM Cloud Pak for data as a service?

IBM Cloud Pak for Data as a Service brings together integrated data and AI services, fully managed on the IBM Cloud. Speed time to innovation by uniting the historically siloed tools, processes and talent required for enterprise data management, governance and analysis within a collaborative self-service environment.

What is the main use cases for cloud Pak for data?

You can use IBM Cloud Pak for Data with different services to implement use cases that help you build a trusted data foundation for your AI operations..
Financial planning and analysis..
Workforce planning..
Sales forecasting..
Supply chain planning..

What is cloud Pak system?

This system of hardware and software with integrated VMware and Red Hat helps you build, deploy and manage containerized apps and Kubernetes workloads on premises, at the edge or on any cloud.

What is included in IBM cloud Pak?

IBM Cloud Pak for Data use cases.
AI governance..
Data observability..
Data governance and privacy..
Multicloud data integration..
Customer 360..