Amazon SageMaker
Developer Guide

Step 4: Clean up

To avoid incurring unnecessary charges, use the AWS Management Console to delete the resources that you created for this exercise.

Note

If you plan to explore other exercises in this guide, you might want to keep some of these resources, such as your notebook instance, S3 bucket, and IAM role.

  1. Open the Amazon SageMaker console at https://console.aws.amazon.com/sagemaker/ and delete the following resources:

    • The endpoint. This also deletes the ML compute instance or instances.

    • The endpoint configuration.

    • The model.

    • The notebook instance. You will need to stop the instance before deleting it.

  2. Open the Amazon S3 console at https://console.aws.amazon.com/s3/ and delete the bucket that you created for storing model artifacts and the training dataset.

  3. Open the IAM console at https://console.aws.amazon.com/iam/ and delete the IAM role. If you created permission policies, you can delete them, too.

  4. Open the Amazon CloudWatch console at https://console.aws.amazon.com/cloudwatch/ and delete all of the log groups that have names starting with /aws/sagemaker/.