-
Open the AWS console https://aws.amazon.com/console/ and login with your credentials.
-
Then search Amazon SageMaker in the search bar or click from recently visited if you have used it previously.
-
The following screen will open shown in the screen shot below, click on Get started in the orange color and follow steps to create the studio domain.
-
Once you have the studio set up then go to studio, and click on the launch app and then studio, it will open Sagemaker Studio.
-
Once the Studio opens, click on the arrow to upload files and upload the files. Note Folder will not be uploaded so make sure to create the folder and upload files inside the folder to keep in sync with the directory/folder hierarchy from the Sagemaker demo folder.
-
Once the files are uploaded double click, they will be ready to run, but before running follow step 7 and 8 to have correct permissions.
-
Go to IAM from the console, go to roles and click on the Sagemaker execution role you have created when creating the SM domain and then go to permissions and assign the following permissions.
-
Once step 7 is completed, got to trusted relationship and edit the trust policy by adding the below json and save it.
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Service": "sagemaker.amazonaws.com" }, "Action": "sts:AssumeRole" }, { "Sid": "Statement1", "Effect": "Allow", "Principal": { "Service": "glue.amazonaws.com" }, "Action": "sts:AssumeRole" }, { "Sid": "Statement2", "Effect": "Allow", "Principal": { "Service": "databrew.amazonaws.com" }, "Action": "sts:AssumeRole" }, { "Sid": "Statement3", "Effect": "Allow", "Principal": { "Service": [ "apigateway.amazonaws.com", "events.amazonaws.com", "lambda.amazonaws.com" ] }, "Action": "sts:AssumeRole" } ] }
-
Once this is completed, please make sure the permssions looks like the screen below.
-
Once completed please go to Sagemaker and start running your notebooks.