List all running Sagemaker or other instances in AWS CLI


Recently with another office account, I have seen hidden instances were running and creating unwanted cost in sagemaker, is there any way to check all the running processes/instances using AWS CLI. I got many answers which suggest to go to Billing page, but that is not my objective. I want to immediately find out which instances are running so that I can stop them immediately.

Are there any best practices for this?

1 Answer

You can either use CLI or AWS Config advance queries. With CLI you can use list-notebook-instances which Returns a list of the SageMaker notebook instances in the requester’s account in an Amazon Web Services Region. Reference :

profile picture
answered a month 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