Getting Unauthorized Error for Week 2 lab

Failed to start kernel
Failed to launch app [datascience-1-0-ml-m5-8xlarge-d94d3e7b23fb420a963b6f7a6446]. AccessDeniedException: User: arn:aws:sts::742401178003:assumed-role/sagemaker-studio-vpc-firewall-us-east-1-sagemaker-execution-role/SageMaker is not authorized to perform: sagemaker:CreateApp on resource: arn:aws:sagemaker:us-east-1:742401178003:app/d-khlce6xvugnh/sagemaker-user-profile-us-east-1/kernelgateway/datascience-1-0-ml-m5-8xlarge-d94d3e7b23fb420a963b6f7a6446 with an explicit deny in an identity-based policy (Context: RequestId: 7b5bd4fe-8e3f-46d2-9e2f-4bf1b19ede59, TimeStamp: 1700475856.7452908, Date: Mon Nov 20 10:24:16 2023)

3 Likes

@chris.favila I think this is the same issues as the last one I tagged you!

Hello,

I have exactly the same issue and so I can not finish my lab. Is it possible to reset the lab access in order to finish it ?

EDIT : I already filled the form

1 Like

Hi Imad. Kindly check item 10 of this FAQ. That error message shows that you are using a different instance type:

Failed to launch app [datascience-1-0-ml-m5-8xlarge-d94d3e7b23fb420a963b6f7a6446]

Please check that you are selecting what is mentioned in the notebook instructions. Hope this helps.

1 Like

I am used to with AWS and can differentiate between instances, it not giving access for the one which can only used i.e 8cpu and 32gb

1 Like

Now Workbench is not accessible and it keeps loading…

1 Like

Hi Imad. I believe the lab instructions mention ml.m5.2xlarge but the error message posted above indicates ml.m5.8xlarge. There might be a misclick (or maybe just a glitch in the UI). I just did the lab yesterday and it worked with ml.m5.2xlarge as mentioned in the instructions.

As for the other issue, if you mean it takes a while to go to the AWS Console, it takes a while to load the environment for retakes. It usually takes around 20 minutes (as mentioned in the instructions) but can sometimes reach up to 30 minutes.

1 Like