From the course: Enterprise AI Solutions with AWS: Amazon Q Business, Bedrock Knowledge Bases, and SageMaker MLOps
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Cost control with CloudShell and SageMaker
From the course: Enterprise AI Solutions with AWS: Amazon Q Business, Bedrock Knowledge Bases, and SageMaker MLOps
Cost control with CloudShell and SageMaker
- [Narrator] A common problem with running things in the cloud is trying to figure out what is costing you money. And it's a little bit like figuring out your electricity bill at home. So here we see the cost anomaly detection tool from AWS shows us, hey, whoa, something really big is happening here where I have this huge cost from five days ago. And you can see it's 29764% increase. So that sounds serious, right? It seems like we need to fix this. It's really costing us a lot of money. So how could I solve this very quickly? Well, one of the ways we could do this is to use the terminal. So I'm going to go ahead and get into the terminal here. Let's take a look at this discover script here. And at the very beginning you can see the goal is to look at active resource usage with SageMaker. There's a function here that helps us figure out some of the different parameters here, like the amount, the volume usage. But really the main component of this is to get cost and usage. So I go…