How do I remove monitoring schedules in SageMaker?

0

When I performed the following hands-on with SageMaker, I was in trouble because resources (endpoints and monitoring schedules) remained and I was still being billed. https://aws.amazon.com/jp/getting-started/hands-on/build-train-deploy-monitor-machine-learning-model-sagemaker-studio/

When I tried to delete the endpoint from the SageMaker console, I got the following error message. "The Endpoint currently has one or more Monitoring Schedules. Please delete the Monitoring Schedules before deleting the Endpoint."

In the hands-on "Step 10. Cleanup" of the above URL, there is a description of how to delete the monitoring schedule and the endpoint, but since the domain has already been deleted, I tried to create a new domain and delete it. . However, the result is an error, and it cannot be deleted successfully.

Since it cannot be deleted from the SageMaker console, please let me know if there is another way to delete it.

Thank you.

asked a year ago1179 views
2 Answers
0

Use aws cli with these commands:

  1. aws sagemaker list-monitoring-schedule (this command will print your "MonitoringScheduleName").
  2. aws sagemaker delete-monitoring-schedule ----monitoring-schedule-name <MonitoringScheduleName>. Wait for a few moments, and then your monitoring schedule will be deleted.
Herley
answered a year ago
  • ^ aws sagemaker list-monitoring-schedules **

0

can you check if there is monitoring job still exist? You cannot delete the Model Monitor endpoint until all of the monitoring jobs associated with the endpoint are deleted.

AWS
answered a year 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