Hi everyone,
I’m currently taking the Generative AI with Large
Language Models course on Coursera, and I’m having an issue with the SageMaker Studio environment provided for the course.
When I try to start my SageMaker Space, it fails with the following error:
EC2InsufficientCapacityError: Instance type 'ml.m5.2xlarge' is temporarily unavailable in supported availability zones [use1-az1]. Try again in a few minutes, or try a different instance type.
My Space configuration is:
- Instance type:
ml.m5.2xlarge - Region:
us-east-1 - Space:
sagemaker-space
I also tried to change the instance type to another option, but I receive this error:
not authorized to perform: sagemaker:UpdateSpace ... with an explicit deny in an identity-based policy
Because of this, I cannot change the instance type myself.
I have already tried running the Space again, but the same error persists.
Could someone please help me understand whether:
- This is a temporary AWS capacity issue that I should wait and retry later.
- There is a recommended alternative instance type for this course.
- The
sagemaker:UpdateSpacepermission needs to be changed by the course/platform administrator.
I’ve attached a screenshot showing the errors.
Thank you!

