Deleting Sagemaker domain

0

I am unable to delete my Sagemaker domain, I can't figure out how to delete the things it's telling me to delete so that I can delete the domain. It's charging me 1k a month.

AWS
BonnieS
asked 5 months ago1046 views
4 Answers
0

Hi,

Must make sure that all apps under the users are deleted, once the apps are delete proceed deleting all users. Same must happen with the Share Spaces.

here some prerequisites for Domain deletion:

  • You must have admin permission to delete a Domain.
  • You can only delete an app with the status InService displayed as Ready in the Domain. To delete the containing Domain, you don't need to delete an app whose status is Failed. In the Domain, an attempt to delete an app in the failed state results in an error.
  • To delete a Domain, the Domain cannot contain any user profiles or shared spaces.
  • To delete a user profile or shared space, the user profile or space cannot contain any non-failed apps.
  • To switch authentication modes from IAM to IAM Identity Center, you must delete the Domain.

Follow this steps to delete your Users and Share Spaces. https://docs.aws.amazon.com/sagemaker/latest/dg/gs-studio-delete-domain.html#gs-studio-delete-domain-studio

profile pictureAWS
Arifc
answered 5 months ago
0

Hi! Alongside the answer above you also must be sure to delete your EFS file separately:

"When you use the SageMaker console to delete the Domain, the Amazon EFS volume is detached but not deleted. The same behavior occurs by default when you use the AWS CLI or the SageMaker Python SDK to delete the Domain. However, when you use the AWS CLI or the SageMaker Python SDK, you can set the RetentionPolicy to HomeEfsFileSystem=Delete to delete the Amazon EFS volume along with the Domain."

This is something to make sure you do so you are not charged after the fact.

You can read more about deleting domains here.

-Moh

mtahsin
answered 5 months ago
0

It's incredible to me how hard is to delete sagemaker services.

answered a month ago
0

Before you can Delete a Domain, follow this documentation steps for your case. https://docs.aws.amazon.com/sagemaker/latest/dg/gs-studio-delete-domain.html

It is crucial to understand that you must first delete user profiles in the domain before you can delete the domain itself.

The user profile if associated with InService app, that app need to be deleted first. Don't bother much on any failed apps they will be deleted as soon as you delete the user profile.

Once all users are deleted in that Domain, you can Delete the Domain

AWS
answered 17 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions