SageMaker Studio Space Failed with EC2InsufficientCapacityError

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:

  1. This is a temporary AWS capacity issue that I should wait and retry later.
  2. There is a recommended alternative instance type for this course.
  3. The sagemaker:UpdateSpace permission needs to be changed by the course/platform administrator.

I’ve attached a screenshot showing the errors.

Thank you!

Hi, and welcome to the Forum! As mentioned in the error message, this looks like a temporary outage. Please try again now without modifying any of the default settings. Doing so will likely cause permission errors. Please only run and open the default space given. If it happens again, please post a screenshot of where you got the error message. Thank you.