Amazon SageMaker
Developer Guide

Step 3: Clean up

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


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 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 and delete the bucket that you created for storing model artifacts and the training dataset.

  3. Open the IAM console at and delete the IAM role. If you created permission policies, you can delete them, too.

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