WEBVTT

0:00:02.780000 --> 0:00:07.260000
 Let's take a few minutes to talk about
 the tools that are available within

0:00:07.260000 --> 0:00:11.880000
 Azure for managing the cost
 of your subscription.

0:00:11.880000 --> 0:00:16.440000
 This is something that as with some
 other topics is not something that's

0:00:16.440000 --> 0:00:21.300000
 tremendously complex, but you absolutely
 want to be aware of because as

0:00:21.300000 --> 0:00:25.900000
 it turns out, if you are in a cloud
 environment, the cost tends to be

0:00:25.900000 --> 0:00:28.180000
 important. It's why
 you're doing it.

0:00:28.180000 --> 0:00:31.320000
 And it's also something where if you're
 not careful, quite frankly, the

0:00:31.320000 --> 0:00:33.200000
 cost can get away from
 you a little bit.

0:00:33.200000 --> 0:00:36.320000
 So we're going to talk about some of
 the tools that are available, and

0:00:36.320000 --> 0:00:39.120000
 then I'm just going to show you some
 of the tools that are available for

0:00:39.120000 --> 0:00:43.300000
 cost management within
 the Azure environment.

0:00:43.300000 --> 0:00:46.280000
 Let's start out talking
 about cost management.

0:00:46.280000 --> 0:00:51.540000
 Now, what I have right now are you
 can see a view of some of the cost

0:00:51.540000 --> 0:00:52.300000
 management tools.

0:00:52.300000 --> 0:00:56.320000
 This is actually from the Azure Monitor,
 which is really going to be the

0:00:56.320000 --> 0:00:59.140000
 starting point that I'm
 going to show you.

0:00:59.140000 --> 0:01:01.080000
 And there are a number of tools.

0:01:01.080000 --> 0:01:03.600000
 And you can see, for example,
 cost analysis.

0:01:03.600000 --> 0:01:07.540000
 And if I click that, I get lots of
 charts and graphs that let me drill

0:01:07.540000 --> 0:01:12.400000
 down into what's costing me money
 within my subscription.

0:01:12.400000 --> 0:01:18.380000
 And there's quite a number of ways
 that you can analyze this.

0:01:18.380000 --> 0:01:21.820000
 For example, I've got granularity.


0:01:21.820000 --> 0:01:22.940000
 It's accumulated.

0:01:22.940000 --> 0:01:24.360000
 It's an area graph.

0:01:24.360000 --> 0:01:28.600000
 This particular graph
 is over time.

0:01:28.600000 --> 0:01:33.480000
 And you can break that down and
 filter different ways as well.

0:01:33.480000 --> 0:01:37.260000
 I also have the ability
 to set cost alerts.

0:01:37.260000 --> 0:01:40.100000
 Now, cost alerts are
 tied to budgets.

0:01:40.100000 --> 0:01:45.160000
 And a cost alert simply allows you
 to send out an alert action.

0:01:45.160000 --> 0:01:48.960000
 It could be typically an email, it could
 be an SMS, it could be a connection

0:01:48.960000 --> 0:01:50.500000
 to what's called a webhook.

0:01:50.500000 --> 0:01:55.400000
 But it allows you to, well, alert based
 on some kind of budget criteria,

0:01:55.400000 --> 0:01:59.280000
 which of course brings us to
 the concept of a budget.

0:01:59.280000 --> 0:02:02.920000
 And you can set budgets at
 the subscription level.

0:02:02.920000 --> 0:02:07.300000
 You can also set budgets at something
 called a management group level.

0:02:07.300000 --> 0:02:10.220000
 And the budget does exactly
 what it sounds like.

0:02:10.220000 --> 0:02:15.200000
 It lets you keep track of where you're
 spending is relative to your spending

0:02:15.200000 --> 0:02:17.300000
 goals or to your spending maximum.


0:02:17.300000 --> 0:02:20.640000
 Now, the budget itself
 is not proactive.

0:02:20.640000 --> 0:02:25.760000
 In other words, if you reach the budget,
 Azure is not going to start shutting

0:02:25.760000 --> 0:02:29.720000
 down services. It's just going to let
 you know and let you keep track

0:02:29.720000 --> 0:02:34.300000
 of your spending against
 that predefined limit.

0:02:34.300000 --> 0:02:39.040000
 Some other things that are pretty
 cool, advisor recommendations.

0:02:39.040000 --> 0:02:42.280000
 And I had to give you this screenshot
 because I had to show everybody

0:02:42.280000 --> 0:02:47.040000
 that, yes, indeed, I am following
 all of their cost recommendations.

0:02:47.040000 --> 0:02:49.400000
 I was very excited about that.

0:02:49.400000 --> 0:02:56.180000
 But if there are things that you're
 doing that are not cost optimized.

0:02:56.180000 --> 0:03:00.160000
 So, for example, if you've got VPN gateways
 that are not being used, but

0:03:00.160000 --> 0:03:04.200000
 you're being charged for them, if you've
 got virtual machines that are

0:03:04.200000 --> 0:03:08.700000
 never coming close to their resource
 limits, the advisor is going to show

0:03:08.700000 --> 0:03:11.540000
 you that, which is actually
 really pretty cool stuff.

0:03:11.540000 --> 0:03:13.380000
 And there's four different
 advisors.

0:03:13.380000 --> 0:03:16.860000
 There's security, there's performance,
 there's availability, and there's

0:03:16.860000 --> 0:03:19.660000
 cost. Now, Cloud and I'm
 not going to go into.

0:03:19.660000 --> 0:03:25.580000
 It is a product that Microsoft bought that
 is a cross-platform cloud monitoring

0:03:25.580000 --> 0:03:28.600000
 and cloud cost management system.

0:03:28.600000 --> 0:03:32.180000
 However, I was at a meeting and there
 was someone from Microsoft there

0:03:32.180000 --> 0:03:35.900000
 and they were saying that they're really
 trying to integrate those functionalities

0:03:35.900000 --> 0:03:40.820000
 so that the actual cloud in itself
 is, all the functionality is still

0:03:40.820000 --> 0:03:41.320000
 going to be there.

0:03:41.320000 --> 0:03:45.740000
 But it's not going to be a distinct
 product or feature eventually.

0:03:45.740000 --> 0:03:47.800000
 And also, if you're going to take the
 exam, it's not going to be something

0:03:47.800000 --> 0:03:51.560000
 on the exam. So, for both of those reasons,
 not something that I'm really

0:03:51.560000 --> 0:03:52.820000
 going to focus on.

0:03:52.820000 --> 0:03:57.040000
 Now, what I want to do is I want
 to show you some cost management.

0:03:57.040000 --> 0:04:00.340000
 And I'm really going to go and show
 you the tools that I just had and

0:04:00.340000 --> 0:04:02.400000
 kind of where you can
 get to those tools.

0:04:02.400000 --> 0:04:09.240000
 And really, without further ado, let's go
 ahead and jump into that demonstration.

0:04:09.240000 --> 0:04:13.260000
 All right. Now, what I'm going to do
 is I'm going to come down to this

0:04:13.260000 --> 0:04:15.720000
 cost management and billing.

0:04:15.720000 --> 0:04:18.920000
 Kind of makes sense, kind
 of straightforward.

0:04:18.920000 --> 0:04:24.700000
 And under cost management and billing,
 I'm going to go to cost management.

0:04:24.700000 --> 0:04:31.680000
 And under cost management, you can
 see that I've got my cost analysis,

0:04:31.680000 --> 0:04:35.500000
 cost alerts, budgets, and advisor recommendations,
 as well as the cloud

0:04:35.500000 --> 0:04:41.560000
 in. So, unfortunately, I didn't work
 too hard to get here for that slide.

0:04:41.560000 --> 0:04:45.240000
 But again, here I'm going to go ahead
 and click on my cost analysis.

0:04:45.240000 --> 0:04:53.380000
 All right. Now, this really
 doesn't look very exciting.

0:04:53.380000 --> 0:04:55.500000
 It looks like nothing to display.

0:04:55.500000 --> 0:05:00.880000
 But that's because I've got this scoped
 to a management group that doesn't

0:05:00.880000 --> 0:05:02.120000
 actually have any activity.

0:05:02.120000 --> 0:05:10.660000
 So, what I'm going to do is I am going
 to actually go to my demonstrations

0:05:10.660000 --> 0:05:16.520000
 subscription and let it update
 with that information.

0:05:16.520000 --> 0:05:17.260000
 And there we go.

0:05:17.260000 --> 0:05:20.460000
 Now, we can see my accrued cost.

0:05:20.460000 --> 0:05:22.380000
 Now, I've got the scope.

0:05:22.380000 --> 0:05:23.800000
 I can add other filters.

0:05:23.800000 --> 0:05:29.200000
 I can also do things like change what
 my range is last seven days this

0:05:29.200000 --> 0:05:31.560000
 month, even custom.

0:05:31.560000 --> 0:05:33.580000
 I can add other filters.

0:05:33.580000 --> 0:05:37.340000
 And so, for example, I can
 even filter by tags.

0:05:37.340000 --> 0:05:40.440000
 So, if I wanted to see specific
 tags, I could do that.

0:05:40.440000 --> 0:05:42.160000
 And it's just information.

0:05:42.160000 --> 0:05:43.040000
 It's pretty useful.

0:05:43.040000 --> 0:05:45.760000
 And I can see, for example, okay, my
 biggest cost is virtual machines

0:05:45.760000 --> 0:05:50.580000
 this month. And I can click on that
 and that's going to drill down.

0:05:50.580000 --> 0:05:55.940000
 And give me information that says, okay,
 I've got $22 virtual machines.

0:05:55.940000 --> 0:05:56.960000
 It's all in the East U.S.

0:05:56.960000 --> 0:05:59.220000
 I can see how I've spent
 that over time.

0:05:59.220000 --> 0:06:01.520000
 And it's just analytics, right?

0:06:01.520000 --> 0:06:04.840000
 And I can drill down farther,
 go to the resource group.

0:06:04.840000 --> 0:06:07.600000
 That should pretty much give
 me everything there.

0:06:07.600000 --> 0:06:10.100000
 All right. So, that's
 my cost analysis.

0:06:10.100000 --> 0:06:12.620000
 Now, the cost alerts I'll
 get to in a moment.

0:06:12.620000 --> 0:06:15.300000
 But I'm going to go
 to my budgets first.

0:06:15.300000 --> 0:06:17.700000
 And I can, right now
 I have one budget.

0:06:17.700000 --> 0:06:21.440000
 This is the real budget that I
 get in trouble if I go over.

0:06:21.440000 --> 0:06:29.780000
 But I can go and create
 another budget.

0:06:29.780000 --> 0:06:33.880000
 And within the budget,
 I have a reset monthly.

0:06:33.880000 --> 0:06:36.320000
 You can see the information.

0:06:36.320000 --> 0:06:39.740000
 It's giving me a suggested
 budget of $265.

0:06:39.740000 --> 0:06:41.760000
 Doesn't seem like I'm spending
 too much more than that.

0:06:41.760000 --> 0:06:43.880000
 But we'll say 300.

0:06:43.880000 --> 0:06:48.900000
 And then next, I can
 set up alerts.

0:06:48.900000 --> 0:06:53.980000
 So, let's say, for example, I
 want an alert when I'm at 25%.

0:06:53.980000 --> 0:06:58.400000
 And I want that alert to go to an action
 group, which just has my email.

0:06:58.400000 --> 0:07:01.140000
 Budget. And we'll
 set one up for 50.

0:07:01.140000 --> 0:07:04.980000
 You can go anywhere up
 to 100% of budget.

0:07:04.980000 --> 0:07:07.920000
 And I can set multiple alerts.

0:07:07.920000 --> 0:07:11.160000
 And we're going to go ahead
 and just create that.

0:07:11.160000 --> 0:07:13.020000
 I just said alerts.

0:07:13.020000 --> 0:07:13.940000
 Those are not alerts.

0:07:13.940000 --> 0:07:16.360000
 Those are alert conditions.

0:07:16.360000 --> 0:07:20.920000
 And once that's done, we'll take a
 look back up at our cost alerts.

0:07:20.920000 --> 0:07:23.700000
 All right. So that has created.

0:07:23.700000 --> 0:07:30.800000
 And if I go to cost alerts, this is
 going to show me all of the alerts

0:07:30.800000 --> 0:07:32.100000
 that are current.

0:07:32.100000 --> 0:07:37.080000
 And I don't have any alerts because
 I never hit my budget limits on the

0:07:37.080000 --> 0:07:38.820000
 other budget. All right.

0:07:38.820000 --> 0:07:43.540000
 Easy enough. Last but not least, we're
 going to take a look at the advisor

0:07:43.540000 --> 0:07:45.700000
 recommendations.

0:07:45.700000 --> 0:07:54.440000
 All right. So once again, I'm doing
 an amazing job of saving my company

0:07:54.440000 --> 0:07:56.900000
 money. And I don't have
 any advisor alerts.

0:07:56.900000 --> 0:07:59.900000
 I'm going to have to get something
 so that I do get some alerts here.

0:07:59.900000 --> 0:08:05.440000
 But the categories of alerts that this
 will provide or recommendations

0:08:05.440000 --> 0:08:11.120000
 that the advisor will provide include resizing
 or shutting down underutilized

0:08:11.120000 --> 0:08:16.440000
 virtual machines, getting reading rid
 of unused or unprovisioned express

0:08:16.440000 --> 0:08:22.360000
 route circuits, deleting or reconfiguring
 idle virtual network gateways,

0:08:22.360000 --> 0:08:28.320000
 buying reserved virtual instances of
 your virtual machine instances to

0:08:28.320000 --> 0:08:34.260000
 save money, deleting unassociated public
 IP addresses, using standard

0:08:34.260000 --> 0:08:39.140000
 snapshots if you're using snapshots for
 managed disks, and deleting Azure

0:08:39.140000 --> 0:08:45.080000
 data factory pipelines that all of
 these are recommendations that you

0:08:45.080000 --> 0:08:48.380000
 will get from that advisor.

0:08:48.380000 --> 0:08:54.960000
 Now things that won't have you do would
 be things like delete virtual

0:08:54.960000 --> 0:08:57.920000
 machine hard drives
 or disks, right?

0:08:57.920000 --> 0:08:58.780000
 Because that's data.

0:08:58.780000 --> 0:08:59.320000
 That's information.

0:08:59.320000 --> 0:09:04.380000
 It's never going to recommend that
 you risk primary data, right?

0:09:04.380000 --> 0:09:05.960000
 But you could shut down
 a virtual machine.

0:09:05.960000 --> 0:09:08.580000
 You can even delete a virtual machine,
 but not delete its disk.

0:09:08.580000 --> 0:09:12.680000
 So, kind of, I don't think you necessarily
 need to memorize that list

0:09:12.680000 --> 0:09:17.420000
 of items that I gave you, but do think
 about the fact that it is a good

0:09:17.420000 --> 0:09:22.660000
 chance if it's something that affects costs
 and would not affect the security

0:09:22.660000 --> 0:09:28.760000
 and durability of your data, it's something
 that the cost advisor might

0:09:28.760000 --> 0:09:30.360000
 actually give you a
 recommendation on.

