How do I resolve the “ResourceLimitExceeded” error that I am seeing when trying to create resource AWS::SageMaker::NotebookInstance using CloudFormation?

2 minute read
Content level: Intermediate
0

I want to resolve the error “ResourceLimitExceeded” seen when I try to create resource AWS::SageMaker::NotebookInstance

When creating AWS::SageMaker::NotebookInstance type it fails with below error:

"The account-level service limit 'Total number of notebook instances' is 8 NotebookInstances, with current utilization of {{current_NotebookInstances}} NotebookInstances and a request delta of 1 NotebookInstances. Please use AWS Service Quotas to request an increase for this quota. If AWS Service Quotas is not available, contact AWS support to request an increase for this quota. (Service: AmazonSageMaker; Status Code: 400; Error Code: ResourceLimitExceeded; Request ID: {{Request_ID }}; Proxy: null)"

Short description

This error message indicates that you have reached the account-level service limit for the total number of notebook instances in Amazon SageMaker. Default limit is 30 notebook instances, and you have attempted to create an additional notebook instance, which would have exceed the allocated quota. To resolve this issue, you need to request an increase for this service quota through the AWS Service Quotas console.

Resolution

To resolve this error, complete the following steps:

  1. From the AWS Management Console, Open the Amazon SageMaker console
  2. Expand the top left panel, click on ‘Amazon SageMaker AI’ which opens in another tab
  3. On the left panel under ‘Applications and IDEs’ click on ‘Notebooks’ which will show you number of notebook instances present
  4. Review the existing notebook instances and determine if you need to keep all of them or if you can stop or delete any unused instances
  5. If you need to retain all the existing instances, go to the "Service quotas" section from the AWS Management Console
  6. Click on the “AWS Services” link in the left navigation bar and search for ‘Amazon SageMaker’
  7. Click on ‘Amazon SageMaker’ and Search for the "Total number of notebook instances" quota and click on "Request quota increase at account level" on the top right.
  8. Follow the instructions to request an increase in the quota limit for your AWS account
  9. Once the quota increase is approved, you can return to the CloudFormation console and retry the CREATE operation for resource AWS::SageMaker::NotebookInstance

Related Information

AWS service quotas

SageMaker service quotas

profile pictureAWS
EXPERT
published a month ago115 views
No comments

Relevant content