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 18 days ago88 views
2 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

AWS
Arifc
answered 18 days 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 10 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