Create a Notebook instance in Amazon SageMaker

Ojash Shrestha
3 min readSep 22, 2021

We learned about Amazon SageMaker and Connecting AWS to Visual Studio Code in the previous articles, AWS SageMaker and How To Connect VS Code To AWS. In this article, we’ll learn to set up the notebook instance in Amazon SageMaker.

Notebook is the primary tool through which interaction is done with the SageMaker ecosystem. There are numerous other ways for the interaction to the functionalities of Amazon SageMaker with this approach widely used. Let us learn how to create the instance of the notebook within the Amazon SageMaker for the Machine Learning application’s modeling, training, and validation.

Step 1

Login into AWS. You’ll be taken to the welcome page of the AWS Management Console.

Step 2

Click on the Expansion button of All Services. Here you can find Amazon SageMaker under the Machine Learning.

You’ll then be taken to the Amazon SageMaker Page.

Step 3

On the left side, there is Notebook, Once you expand Click on Notebook Instances.

Step 4

Once you click on the Notebook instance, the following page with show up.

Click on the Create Notebook Instance button.

Step 5

Time for filing the settings for the notebook instance creation. Choose the Notebook instance name of your choice. The ml.t2.medium notebook instance type will work out fine for the notebook as discussed in our previous article, Amazon SageMaker. This provides the resource allocation for primary memory of 4GB, 2GB for vCPU, and low to moderate performance of network fit for running the notebooks.

Note, that the Notebook instance name can accept a maximum of 63 alphanumeric characters and can contain hyphens. However, spaces are not accepted.

You can set the other settings as follows for Elastic Inference and Platform identifier as of now.

Step 6

Under the Permissions and Encryptions, click on the arrow and choose to Create a New Role.

You can choose None for the S3 Bucket options for the IAM role. We’ll learn more about S3 buckets in articles to follow in the future.

Now, click on Create Role.

The Success Notification will pop up on the screen.

Read the full article in C# Corner:

--

--