Tutorial: Creating a Studio notebook in Kinesis Data Analytics
The following tutorial demonstrates how to create a Studio notebook that reads data from a Kinesis Data Stream or an Amazon MSK cluster.
This tutorial contains the following sections:
Setup
Ensure that your Amazon CLI is version 2 or later. To install the latest Amazon CLI, see
Installing, updating, and uninstalling the Amazon CLI version 2
Create an Amazon Glue Database
Your Studio notebook uses an Amazon Glue database for metadata about your Amazon MSK data source.
Create an Amazon Glue Database
Open the Amazon Glue console at https://console.aws.amazon.com/glue/
. Choose Add database. In the Add database window, enter
default
for Database name. Choose Create.
Next Steps
With this tutorial, you can create a Studio notebook that uses either Kinesis Data Streams or Amazon MSK:
Kinesis Data Streams : With Kinesis Data Streams, you quickly create an application that uses a Kinesis data stream as a source. You only need to create a Kinesis data stream as a dependent resource.
Amazon MSK : With Amazon MSK, you create an application that uses a Amazon MSK cluster as a source. You need to create an Amazon VPC, an Amazon EC2 client instance, and an Amazon MSK cluster as dependent resources.