Skip to playerSkip to main content
  • 3 days ago
Transcript
00:00Welcome to this demo on OCI cost management tools. Let's get started.
00:10I am logged on to my OCI console and to bring up cost management tools, click on navigation menu
00:16and click on billing and cost management. And as you can see here, all the cost management tools
00:21are listed here. Well, we have several tools for cost management. The first tool is called cost
00:28analysis and cost analysis can help you visualize and track your spending based on your preferred
00:34parameters. And then you see those other tools here, cost and usage reports. Cost reports basically
00:40give you a breakdown of your invoice line items at resource level granularity. This allows you to
00:47make better informed cloud spending decisions and usage reports provide a detailed breakdown of
00:54resources in OCI for audit or invoice reconciliation. And there's also a tool called budgets where you
01:01can track spending for your compartments and your tenancy. So we'll look into that. So let's first
01:06look at cost analysis. And the first thing you see here is it's giving me a cost breakdown by service.
01:12And this is the current month. And if I scroll down, I can see that for this particular month,
01:16I have spent $23. And if I scroll down, I can see a granular breakdown day by day breakdown for
01:25different services. So as you can see here, majority of the cost is for compute. And then there is some
01:30cost for database. So it's very clean, very kind of detailed report where I can see how much cost I
01:38have been incurring this month. Now, if I want to change the filter and go all the way to January 2023,
01:43I can actually do that. And now I can see costs over the last four or five months. So you can see
01:51that, you know, the cost has been, you know, around $380 for last five months. And I can still see a
01:58breakdown of cost by services, a block storage, compute database, etc. Majority of the cost is still
02:04coming from compute and database resources. Now, if I want to change this view, and I want to see which
02:11are the regions where I have been incurring these costs, so I can apply that filter. And now you can
02:17see that the majority of the cost as shown by these blue bars are coming from Ashburn. And then there is
02:23some cost which is coming from Phoenix. So again, if we provide several grouping dimensions, so you can
02:30use those. And there are several filters as well. So you can filter based on compartments, tags, etc.
02:37Let me show you a couple of these in action. So if I go back to just for the month of May, I can apply
02:43the filter that the report and I can see that the dimensions and see the same report we were seeing
02:50earlier. Now I can, I can change the view to go from region to a compartment name. And I can go let's
03:00say level two. And if I click apply now, you can see the cost breakdown. But I can see now the cost
03:08breakdown by compartments. And the first thing which appears here is networking compartment has been
03:14incurring a majority of the costs. So I knew that I was spending $23 this month. Now I know that out of
03:22that $23, $21 is coming from that networking compartment. And I can also and I have seen
03:30earlier that the majority of this cost is coming from the Ashburn region. But if I want to select
03:36that filter, I can provide the filter here. And now I can see the the cost breakdown by by region. So if I
03:44can, if I scroll down here, I can see that the networking compartment had around $6 of cost. And
03:53and so on and so forth, Ashburn region had around $8 of that cost. So majority of the cost is not
03:59coming from ash from Ashburn, it's coming from some other region. And I can come here, I can remove that
04:05filter, I can put a filter again, and I can select Phoenix. And I think Phoenix is where I'm incurring the
04:11majority of the cost. So if I scroll down now, I can see that, yes, that's correct. $15 of that
04:17is coming from Phoenix. And most of the cost is still from the networking compartment. So I went
04:23from $23 cost to figuring out two compartments are incurring that majority coming from networking
04:28around $21. And then I figured out out of that $23, $7 was from Ashburn. And then the remaining was
04:35kind of from Phoenix side. So it's very handy, very easy to do this kind of analysis. And it's very
04:40powerful. Now I can also go and do this analysis based on the tax. So if I click on tax here, I have
04:48a tag namespace, which is shown here, and I have a tag key. So as soon as this report comes,
04:56appears here, we can see that the cost breakdown and by the tax, and we can see things like who,
05:04uh, who is, uh, uh, uh, incurring those, uh, cost. If the, you know, if we have created by basically
05:10that will indicate the person who is creating, uh, these, uh, this cost. So it's taking some time.
05:17Let me just kill the filter there and refresh this one more time.
05:34All right. All right. So I'll go here and I'll put tax, uh, something was going on that time. So if I,
05:45uh, bring up a tax now, uh, once this report comes, you can see, uh, the, the cost breakdown by various,
05:53uh, tax as this is, uh, okay. All right. So now you can see that, um, if I hover over these, I can see
06:05that all these costs, uh, is incurring by the, for the compute instances. And, uh, I can see that
06:11Sergio is the one who has created these compute instances. So if I want to drop him a note or
06:16something, I could do that. Right. I can also save this as a report, as a new report. So I can click
06:21save as a new report. And I could say, this is my tag tag based report and save this. And now this
06:27report is saved. Uh, and now next time I can come here and I can just bring up this report and I can
06:33see, you know, what's going on with, uh, you know, with the different resources. So very handy tool,
06:37which definitely you should use. Now, let me quickly show you how to use budgets. Now you can use
06:42budgets to track costs in your tenancy. Now, once you create a budget, you can, uh, you can also create
06:48alerts and, uh, alarms for those, uh, uh, uh, budget. So the way you do that is you, uh, set up
06:55your, you can set up the budget at a compartment level, or you can also do budgets on a cost tracking
07:00tax. So let's say you choose compartment. You can provide a name for your budget and you can choose
07:05a compartment. You can say, this is for the sandbox compartment. What's the day when the budget starts
07:11and you can set budget alert rules and you can say, what is my threshold? And threshold basically
07:17says the alert will trigger when the budget reaches either a specified percentage of the total budget
07:23or a specified amount. So it could be 90% or you can specify explicitly specify, uh, an amount here
07:30and you need to provide an email ID, uh, and an email message optional, uh, optionally, and that that's
07:36it. And then you can set set up budgets. And as you are using your account, let's say you're
07:40set up a budget for a hundred dollars and the threshold is 90% at $90 spend. It will
07:46send you an email saying that you, you spend is $90. So you can go and check which resources
07:51are incurring these costs. So those were the two things I wanted to quickly touch on cost
07:57analysis and budgets. I hope you found this demo useful. Thanks for watching.
Be the first to comment
Add your comment

Recommended