AWS sagemaker documentation change
Summary
Added troubleshooting section for 'Failure to load custom image' scenario when images are deleted before domain detachment
Security assessment
Change addresses operational recovery process for misconfigured resources, not a security vulnerability or security feature implementation
Diff
diff --git a/sagemaker/latest/dg/studio-updated-troubleshooting.md b/sagemaker/latest/dg/studio-updated-troubleshooting.md index cfe390821..783508ce4 100644 --- a//sagemaker/latest/dg/studio-updated-troubleshooting.md +++ b//sagemaker/latest/dg/studio-updated-troubleshooting.md @@ -5 +5 @@ -Recovery modeCannot delete the Code Editor or JupyterLab applicationEC2InsufficientCapacityErrorInsufficient limit (quota increase required) +Recovery modeCannot delete the Code Editor or JupyterLab applicationEC2InsufficientCapacityErrorInsufficient limit (quota increase required)Failure to load custom image @@ -164,0 +165,33 @@ To resolve this issue, request an instance limit increase for the AWS Region tha +## Failure to load custom image + +This issue occurs when a SageMaker AI image is deleted before detaching the image from your domain. This can be seen when you view the **Environment** tab for your domain. + +To resolve this issue, you will need to create a temporary new image with the same name as the deleted one, detach the image, then delete the temporary image. Use the following instructions for a walk through. + + 1. If you have not already done so, launch the [SageMaker AI console](https://console.aws.amazon.com/sagemaker). + + 2. In the left navigation menu, under **Admin configurations** , choose **Domains**. + + 3. Choose your domain. + + 4. Choose the **Environment** tab. You will see the error message on this page. + + 5. Copy your image name from the image ARN. + + 6. In the left navigation menu, under **Admin configurations** , choose **Images**. + + 7. Choose **Create image**. + + 8. Follow the steps in the procedure, but ensure that your image name is the same as the image name from above. + +If you do not have an image in a Amazon ECR directory, see the instructions in [Create a custom image and push to Amazon ECR](./studio-updated-byoi-how-to-prepare-image.html). + + 9. Once you have created your SageMaker AI image, navigate back to your domain **Environment** tab. You will see the image attached to your domain. + + 10. Select the image and choose **Detach**. + + 11. Follow the instructions to detach and delete the temporary SageMaker AI image. + + + +