Skip to content

Scheduled lambda function to delete active Sagemaker resources

License

Notifications You must be signed in to change notification settings

adelmofilho/sagemakerRemediation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sagemakerRemediation

Scheduled lambda function to delete active Sagemaker resources

Background

Every day I forget many Sagemaker endpoints and notebook instances, unused at my AWS account.

Every day I cry when seeing my billing report.

But tomorrow will not to be another crying day.

Description

This project creates the infrastructure and application of an AWS Lambda function that runs every hour to detect and delete Sagemaker endpoints and notebook instances in Service.

Lambda function runs are sent by AWS SNS to a personal email account.

Usage

To replicate this implementation on your AWS account:

  • Fork this repository to your Github namespace
  • Deploy an AWS code pipeline instance and link it with your repository.

A code pipeline template for this purpose can be found: HERE

About

Scheduled lambda function to delete active Sagemaker resources

Topics

Resources

License

Stars

Watchers

Forks