I'm not able to delete the user profile of domain due to Space associated to It

0

I created a domain created in US West (N. California)us-west-1 and now I cannot delete it because I cannot delet the user due to this error : Unable to delete User Profile [arn:aws:sagemaker:us-west-1:105883432841:user-profile/d-h4omhyvmdgw6/default-1703208822159] because Space(s) are associated with it. While there is not any spaces associated to the user as you can see in the attachment ! I cannot see any app/space in the user profile details ! I could easily delete a domain from different regions like Ohio .etc. But it is not the case for the California one ! I'm being charged every day for that ! pleas help

Shiva
gefragt vor 4 Monaten493 Aufrufe
1 Antwort
0

Hello.

You can check the detailed information of the user profile using the AWS CLI command described in the document below.
Even if it looks like it doesn't belong to a space on the management console, it's possible that it actually does, so I think it's a good idea to check from the AWS CLI.
https://docs.aws.amazon.com/sagemaker/latest/dg/domain-user-profile-view-describe.html

aws sagemaker describe-user-profile \
--region region \
--domain-id domain-id \
--user-profile-name user-name

Also, could you please confirm whether it is possible to delete it using the AWS CLI?

aws sagemaker delete-user-profile \
--region region \
--domain-id domain-id \
--user-profile-name user-name

There is also an AWS CLI procedure for deleting a domain, so please check that as well.
https://docs.aws.amazon.com/sagemaker/latest/dg/gs-studio-delete-domain.html

profile picture
EXPERTE
beantwortet vor 4 Monaten
profile pictureAWS
EXPERTE
überprüft vor 4 Monaten
  • "Spaces": [ { "DomainId": "d-h4omhyvmdgw6", "SpaceName": "SamFinetuning", "Status": "Delete_Failed", "CreationTime": "2023-12-21T17:36:30.521000-08:00", "LastModifiedTime": "2024-01-07T20:07:49.393000-08:00", "SpaceSettingsSummary": { "AppType": "JupyterLab", "SpaceStorageSettings": { "EbsStorageSettings": { "EbsVolumeSizeInGb": 100 } } }, "SpaceSharingSettingsSummary": { "SharingType": "Private" }, "OwnershipSettingsSummary": { "OwnerUserProfileName": "default-1703208822159" } } ] }

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen