Amazon SageMaker · Finder + guided fix

Remove Idle SageMaker Endpoints

RemoveIdle SageMaker Endpoints

Delete idle SageMaker endpoints incurring hourly charges with zero invocations. CloudFix identifies unused real-time inference endpoints for removal.

What happens, in order.

  1. Finder · read-only

    Finds the opportunity

    Scans your connected accounts with a read-only role. It can see resource metadata and usage; it can’t change anything.

  2. You

    Review in Recommendations

    It appears in your Recommendations view with what it would save.

  3. Guided fix

    You make the change

    You apply it yourself, following the fix’s step-by-step instructions; the write-up below explains it.

Finder role

Read-only. It can see resource metadata and usage. It can’t change anything.

Fixer role

Not used here: this one is a guided fix, so the change is yours to make.

Saves by

Amazon SageMaker customers may have endpoints that are no longer in use but still incur costs. CloudFix identifies these idle endpoints, which have gone without invocations for an extended period, and suggests their removal. This finder also identifies associated models that may no longer be in use.

Amazon SageMaker endpoints provide real-time inference capabilities but incur costs even when not actively processing requests. CloudFix identifies SageMaker endpoints that have received no invocations for an extended period, suggesting potential candidates for deletion to optimize costs. Deleting these idle endpoints eliminates their associated compute and storage charges.

Manual Fix Required

CloudFix identifies potentially idle SageMaker endpoints but does not automatically delete them. Deleting an endpoint is irreversible and removes its ability to serve inferences. Users must manually verify that an endpoint is truly no longer needed before performing the deletion.

Overview

Problem Statement

SageMaker endpoints, while powerful for deploying machine learning models, continuously incur costs for the underlying compute instances, regardless of invocation traffic. Endpoints left running after projects conclude or models are updated become idle resources contributing to unnecessary AWS expenditure.

Solution Identification

CloudFix uses your cost and usage data and SageMaker’s own utilization metrics to flag endpoints that have gone unused for an extended period. This allows users to manually investigate and confirm whether these endpoints can be safely deleted to realize cost savings.

AWS Services Affected

Service Icon
Amazon SageMaker
Amazon SageMaker

How CloudFix Identifies the Opportunity

The CloudFix Finder works read-only. It uses your cost and usage data and SageMaker’s own utilization metrics to find endpoints that have gone unused for an extended period and are still costing enough to be worth removing. Each endpoint appears in your Recommendations; you confirm it is no longer needed and delete it yourself. You can exclude endpoints you do not want CloudFix to flag.

Manual Fix Steps

After CloudFix identifies a potentially idle SageMaker endpoint, follow these steps:

  1. Verify Idleness: Confirm that the identified endpoint is genuinely not in use and is not required for any ongoing or future applications, testing, or development work. Check application logs and dependencies.
  2. Check Associated Resources: Deleting an endpoint does not automatically delete the associated Endpoint Configuration or the underlying Model(s). Determine if these associated resources are also idle and candidates for deletion in separate steps.
  3. Delete the Endpoint: Use the AWS Management Console, AWS CLI, or SDKs to delete the endpoint. Refer to the DeleteEndpoint API documentation.
  4. Delete Endpoint Configuration (Optional): If the associated Endpoint Configuration is no longer needed, delete it using the Console, CLI, or SDKs.
  5. Delete Model(s) (Optional): If the underlying model(s) are also no longer required, delete them using the Console, CLI, or SDKs.

FAQ

Q: Why doesn’t CloudFix automatically delete the endpoint?
A: Deleting an endpoint is irreversible. CloudFix requires user confirmation to prevent accidental removal of an endpoint that might still be needed for intermittent tasks, testing, or other purposes not captured by recent invocation counts.

Q: What are the potential savings?
A: Savings are equivalent to the hourly cost of the compute instances backing the idle endpoint. The actual amount depends on the instance type and count configured for the endpoint.

Q: Does deleting the endpoint affect the model or endpoint configuration?
A: No. The endpoint, endpoint configuration, and model are separate resources. Deleting the endpoint does not automatically delete the other two.

Q: What considerations are important before deleting?
A: Ensure the endpoint is truly idle and not required for any purpose. Check for dependencies and consider the status of the associated endpoint configuration and model(s).


Ready to start saving on AWS? See how much you could cut from your cloud bill with a free cost optimization assessment, or explore CloudFix automated Finder/Fixers that eliminate waste across 30+ AWS services.

Related Articles

See whether this one applies to your account.

A free savings assessment reports which fixers can be applied to your environment. Results typically within 24 hours.