Impossible to delete Sagemaker resources

0

On Oct 23, I looked at Sagemaker for less than an hour, and found a number of issues with the reliability of the first model I tried. I then proceeded to shut it down, due to these issues and found that I could not delete the user created or the domain. Looking at the resources, there appeared to be nothing running.

I have since found that AWS have charged thousands of dollars, even though it has never been used, and whatever was running was not able to be shut down.

Looking at the UI for the past hour, there is no evidence of anything running still and no way of deleting the domain or the user. On some screens it shows a button to "Delete User" or "Delete Domain", but those buttons are merely text, with no ability to click anything (other than it selecting the text itself when double clicking). It is just text.

I can send screenshots through, but how is it possible that the UI makes it impossible to delete resources created, that you then charge for?

I have spoken with billing, but they will not do anything until the resources are deleted. Your interface makes it impossible to delete resources. I am extremely technical, but I can not figure it out and have already wasted too much time trying. I have nowhere to go unless you can help me. Meanwhile it is still running up a bill!!

Thank you

ash
질문됨 5달 전780회 조회
3개 답변
1

I'm facing a bug made me can not delete inference endpoint and I'm still be charged. the error says "Cannot delete endpoint with inference component associated. Please delete inference component and try it again.". I can not find any help. Really tired.

답변함 5달 전
0

See: https://docs.aws.amazon.com/sagemaker/latest/dg/realtime-endpoints-delete-resources.html and https://repost.aws/questions/QUEiuS2we2TEKe9GUUYm67kQ. A likely situation is that you have a real time endpoint running, and you need to delete it.

If you are using the AWS CLI, you can list your endpoints, and then delete them, as follows. You will also need to set the region (e.g. REGION="us-east-1"):

REGION="..."
aws sagemaker --region $REGION list-endpoints --output text
aws sagemaker --region $REGION delete-endpoint --endpoint-name <endpoint-name>
AWS
답변함 5달 전
  • I have an endpoint that is perpetually shown in the UI having status "Deleting". It does not show in the output of the list-endpoints command from the AWS CLI. Attempting to delete the endpoint anyway using the AWS CLI gives an error message.

    aws sagemaker delete-endpoint --endpoint-name automl-dm-ep-22-11-47-10 An error occurred (ValidationException) when calling the DeleteEndpoint operation: Could not find endpoint "automl-dm-ep-22-11-47-10".

0

This is painful. I resorted to delete by CLI Open up CloudShell

3 useful commands to list resources

aws sagemaker list-user-profiles
aws sagemaerk list-apps
aws sagemaker list-domains

Delete in sequence: space, app, user and domain

$ aws sagemaker describe-domain --domain-id d-your-domain-id
$ aws sagemaker delete-app --domain-id d-yourdomain-id --app-type JupyterLab --app-name default --space-name jupyter-private
aws sagemaker delete-user-profile --user-profile-name your-user-name
aws sagemaker delete-domain --domain-id d-xxxxxxx
답변함 4달 전
  • All of the resource listing commands return empty results for me:

    [cloudshell-user@ip-DD-DDD-DD-DD ~]$ aws sagemaker list-user-profiles { "UserProfiles": [] } [cloudshell-user@ip-DD-DDD-DD-DD ~]$ aws sagemaker list-apps { "Apps": [] } [cloudshell-user@ip-DD-DDD-DD-DD ~]$ aws sagemaker list-domains { "Domains": [] }

    But the endpoint still shows as "Deleting" in Inference > Endpoints.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠