Introduction to AWS IoT Analytics

   Go back to the Task List

  « 4: Configure IoT Analytics    6: Publish Messages to the Topic »

5: Configure SageMaker Notebook

You launch the SageMaker Notebook and associate with AWS IoT Analytics data set so that you can use Jupyter Notebook to analyze data in the dataset.

  1. Goto Amazon SageMaker console. Select Notebook instances in the left and then click on the Create notebook instance button.

    SageMaker Notebook

  2. On the next screen, type in dojonotebookinstance as the notebook instance name, select dojosagemakerrole as the IAM role. Leave rest of the configuration as the default and click on the Create notebook instance button.

    SageMaker Notebook

  3. The notebook instance launch starts. Wait till the status changes to InService.

    SageMaker Notebook

  4. The notebook is ready. Let’s associate it with AWS IoT Analytics data set. Goto AWS IoT Analytics management console. Click on the Notebooks menu in the left and then click on the Create button.

    SageMaker Notebook

  5. On the next screen, click on the Blank Notebook button.

    SageMaker Notebook

  6. On the next screen, type in dojonotebook for the name. Select dojoanalytics_dataset for the data set. Select dojonotebookinstance for the notebook instance. Finally, click on the Create Notebook button.

    SageMaker Notebook

  7. The notebook configuration is ready. In the next step, you publish messages to dojoanalyticstopic IoT Topic and the messages will be routed to the analytics data set.