Time
7 hours 46 minutes
Difficulty
Intermediate
CEU/CPE
7

Video Transcription

00:00
Hello and welcome back to Cyber Aires. Microsoft Azure Administrator A Z 103 course. This is well, Carlson coming to you with Episode 15 controlling costs.
00:10
In today's episode, we're gonna discuss Cem built in ways and azure to help us minimize unused resource is
00:17
and we're also going to discuss some ways that you can help watch and alert on spending to make sure you're not completely overrunning your budget,
00:27
jumping right back into portal as usual, we're actually going to take a detour a little bit, and we're gonna click into the adviser. Late
00:34
Advisor is going to be a tool that automatically helps you monitor and manage four key areas that they're gonna obviously be here on screen. And they pertain to high availability, security, performance and cost. Now, in our
00:50
discussion today, we're gonna primarily be concerned about as your advisor helping us manage and maintain costs.
00:56
As we can see here for my demo environment. The Azure Advisor recommendations are really very simple. These recommendations were going to change based on what resources you have deployed to help you, Taylor and tool your environment to maximize its functionality
01:11
as we get going here What are some of the ways we can functionally minimize costs in azure? Well, some of the biggest ones are to control costs as it relates to virtual machines. And some ways we can do that seem pretty straightforward. But sometimes we may not think about all of these, and the first one's gonna be turn it off when not in use.
01:32
If you have a virtual machine that's not being used in the evenings,
01:36
simply turn it off and save money. Now you won't be charged for the computer or the memory or no ingress egress. At that point, either right? You will still be charged for the storage. But relatively speaking, storage is the more affordable piece of the entire virtual machine package.
01:51
Another really powerful thing you can do, and this relates to our armed template. Discussion about our development environment is you can simply delete be EMS that are not in use.
02:00
There's no need to leave a 30 resource development environment up and running over the weekend when nobody's at the office working in development,
02:07
you can just turn those off, but again, we still have all the storage associated with those. Resource is to pay for it. If you really want to minimize costs, simply delete it completely when you're not using it and spin it back up when you're ready to use it again.
02:22
The last thing that you could do with the EMS is make sure that they're right sized, right. We don't want Paul from the development team thinking that he needs to x the resource. Is that what he really does? Because the applications simply not performing the way that he wants
02:34
as your advisors gonna watch some of those things for us and the way that as your advisor works, is that it's going to watch for 14 days and within that 14 days, if four or more days in a row CPU usage is 5% or less and network usage is seven megabytes, or at last
02:53
it's going to start giving us recommendations here under costs is to what we can do
02:58
to minimize those costs.
03:00
Now you can configure how Azure is looking at the CPU portion of its cost recommendation. By coming here to configuration
03:07
and clicking on rules,
03:09
I can click my free trial
03:12
here,
03:14
select edit, and it gives me a couple simple options of what CPU threshold do I want to look for over that 14 day period
03:22
5 10 15 or 20 completely at your discretion, we're gonna leave that 5% them
03:28
now. If I had some recommendations for from Azure Advisor about minimizing costs, I could click on C list of recommendations or cost over here, and it would pull up the detail of those recommendations of steps I could take to help minimize costs.
03:44
There are a couple of other things in addition to virtual machines that Azure Advisor looks for to help Mac to help suggest some cost savings.
03:52
And the first of those is gonna be express route circuits. We'll talk a little bit more about express routes in the networking section of the course, but if you're expressed around, circuit has ultimately not been in a provision status for the last 30 days, as your advisor will recommend some steps to minimize that cost.
04:10
Measure Advisor also looks for a network gateways that have been idle for more than 90 days and suggest some cost saving metrics there as well.
04:18
Now that we've talked about how to use as your monitor to be proactive in some ways about our spending. How do we set budgeting and alerts to make sure that we don't overrun our expenditures and azure?
04:30
And the answer. That question is here in the cost management and building blade. There are a number of things here that you can use to help monitor and manage your spending within Azure. The ones we're gonna call out today are
04:45
here within the cost management Blake.
04:47
Now I can look at my cost analysis, which is a great way to report at Hawk On where my spending is that in my azure environment, you can see that so far I've spent a dollar in 80 cents this month, and I'm projected to spend a whopping $7.91 before this chart expires on July 31st.
05:09
Now, I can also see that my spending expenditures have gone flat because I've powered down soon be ems as well.
05:15
I can see what service's are using the bulk of the spin, and for me, so far, primarily that storage,
05:21
I can see what locations that expenditure is at, and then what resource groups are my primary expenses.
05:28
If I want to click through one of these resource is it will provide me a little more information about that particular service group storage, where that expenses that
05:36
you can also come up here and sort these reports a number of different ways and filter them as well. So cost analysis is a pretty powerful way to get an idea of where you're spending is at. And if it's in line with where you expect that it should be.
05:53
You can export these reports as CSP or Excel to pass off to finance. You can also, through the magic of role based access control, which we'll talk about in future episodes.
06:03
Give the financial folks access to these particular parts of the system and not necessarily all of the rest.
06:12
Another way that we can manage costs here in Azure is through the use of budgets, and this should be pretty self explanatory. I don't currently have any budget set on my free trial subscription. Remember, scope, pretrial pay attention to scope.
06:27
I can go ahead and click on add,
06:29
and I can create a budget. Now I don't care for a budget amount of $1000. Let's say my monthly budget amount is $100 I want to be notified when I get to
06:41
50% of that
06:42
and we're going to use
06:44
and email action group that we set up in a previous episode.
06:47
I also want to be notified. When I get to 75% of that,
06:51
we're gonna use the same email group
06:55
and then I want to be notified again. When I get to 95% of that,
06:59
I don't wanna be sent in email.
07:03
I can go ahead and add recipients here, but I don't need to do that because these action groups already have recipients involved.
07:12
As with all things in Azure having to do with action groups and notifications,
07:16
what this ultimately fires off is alerts. And I can come right up here to cost alerts and see which of those have been fired off in relation to my budget right now, Thankfully, I'm not overrunning budget at all, so I'm all clear here.
07:30
We did talk about as your recommendation as your advisor recommendations as well. So here's another way to get to that. And what Microsoft is trying to do here is just coalesce all the cost management tools in tow. One place, but we can also get to adviser here as well. Now
07:46
cloud in is something that you're going to possibly see, but this is going to be a legacy tool at this point.
07:51
This was an acquisition that Microsoft made a good while back now, and they ultimately began rolling the cloud in solution into the azure ecosystem at large.
08:01
And that wraps up today's episode about controlling costs here in Azure, both proactively by using azure adviser and also using budgets to create alerts on fire. Those off tow us when thresholds have been eclipsed.
08:18
Coming up next, we're going to talk about role based access control and azure and how fine Groom rained, that is, and how many roles Microsoft already has set up.
08:28
And we'll talk briefly about how you have to go about setting up a custom role in a measure as well.
08:35
Thanks for joining me today, and I'm looking forward to the next video together

Up Next

AZ-103 Microsoft Azure Administrator

This is a training course for the Microsoft Azure AZ-103 Certification. The Microsoft Azure Administrator training course teaches students to perform tasks like managing Azure subscriptions and resources, implementing and managing storage, deploying and managing virtual machines (VM) and networks, and managing identities!

Instructed By

Instructor Profile Image
Will Carlson
Director of IT and Cybersecurity
Senior Instructor