Latest / Microsoft Cloud IT Pro Podcast / Episode 335 – The vagaries of Office 365 licensing
Transcript
- 0:03Welcome to episode 335 of the Microsoft Cloud IT Pro
- 0:08podcast recorded live on May 19th, 2023.
- 0:12This is a show about Microsoft 365 and Asher from the perspective of it pros and
- 0:17end users where we discuss the topic or recent news and how it relates to you.
- 0:22Today's episode starts off with everyone's favorite topic,
- 0:26licensing specifically around Microsoft Defender for Office
- 0:30365 as it relates to attack simulation. After that,
- 0:35Scott takes us through some recent updates to Azure App Services and Azure
- 0:40Load balancers. Here we are, another Friday.
- 0:45All that is standing between me and vacation is this podcast and packing. All.
- 0:50Right, well let's get you moving then. All.
- 0:52Right. Well technically I'm not leaving till Sunday morning. ,
- 0:55tomorrow's packing. Oh, and I have to make jerky.
- 0:57I need to make some beef jerky before we leave.
- 0:59We gotta get you on that as well.
- 1:00So why don't we go ahead and open with your favorite topic.
- 1:05Licensing license.
- 1:07Is absolutely my favorite topic. Something like that.
- 1:12Okay, so I have a licensing topic for you here, Scott.
- 1:15We have done some podcasts on this before, so I don't, it was a long time ago,
- 1:20but I have gone back and referenced this episode several times before where
- 1:25we talk about certain, it's tenant level services, right?
- 1:29Services where you essentially get one license in your tenant and it lights
- 1:34it up tenant wide.
- 1:36So there is nothing from a technical standpoint forcing you to
- 1:42purchase certain licenses.
- 1:44But according to the terms of service and what those say you're
- 1:49supposed to license a certain number of users in this
- 1:54can drastically vary from we're gonna license
- 1:59one user or we're gonna license only users that use this feature.
- 2:04Or in some cases we're gonna license a whole bunch of people.
- 2:07And one of these I can think about is,
- 2:10there's one I can think about and then one we're gonna talk about today that I
- 2:13encountered is Azure Active Directory and having the ability to
- 2:18block group creation,
- 2:21Microsoft 365 group creation or teams creation,
- 2:24where at least the last time they went looked at all this licensing.
- 2:28Microsoft states that in order to prevent people from
- 2:33creating teams and groups, it is Azure Active Directory Premium.
- 2:38But you only need to license A,
- 2:40the people that are actually configuring the setting in Azure Active directory,
- 2:44it's PowerShell configuration and B,
- 2:46the people that are going to be creating groups and teams. Mm-hmm .
- 2:51So you don't have to license everybody, you only have to license,
- 2:53maybe it's a handful of people, 10 people,
- 2:56however many people are actually using, I would say using it but not using it.
- 3:00Cuz everybody that you blocked doesn't have to be licensed. So gambling,
- 3:04they're using it or they're not using it. Yeah.
- 3:06Still that way today. So it's weird. Licensing is just the ad.
- 3:09Like in the case of the a e D group creation,
- 3:12it's basically the admin who messes with the settings.
- 3:16And if you have multiple admins who play with those settings,
- 3:18you gotta license multiple admins.
- 3:20And then the members of the groups who are eligible to create
- 3:25groups, which is a little bit of a weird restriction,
- 3:29like if you like at the end of the day,
- 3:31like wouldn't you just want to open it up and make it really easy for people to
- 3:34create groups?
- 3:34Cuz more groups means more proliferation means more data stored means more
- 3:39we can charge, but I don't know, it's a Microsoft licensing.
- 3:43It is.
- 3:44So I ran across another one of these that I had a
- 3:49question about and ended up opening up a discussion about this
- 3:54in as an issue on GitHub on the docs.
- 3:57So this particular doc is getting started using attack simulation
- 4:03and this came up, a customer came to me and said,
- 4:06we wanna use a attack simulation. But the light, the documentation is unclear.
- 4:11I mean imagine that right? documentation not being quite said. We.
- 4:15Saw that coming.
- 4:16Yeah. And it says in an organization with Microsoft Defender for Office 365,
- 4:21plan two add-on or included,
- 4:24you can use attack simulation training in the Microsoft 365 defender portal
- 4:29to run attack scenarios. And then it goes on to say all of that.
- 4:33And then what do you need to know before you begin attack simulation training
- 4:39requires said licensing and then it has a link to
- 4:43licensing terms, which is actually new.
- 4:47I think they maybe added this since I looked at it because I opened an issue on
- 4:51this. Look at.
- 4:52That. Actioning your feedback in real time. Yeah.
- 4:55Maybe. So it was a question of, okay,
- 4:57so who actually has to be licensed for a tax simulation?
- 5:01Is it every single mailbox?
- 5:03Does it include like I have a exchange online plan, one license,
- 5:09a user just has a mailbox, I pay what, five bucks a month for it?
- 5:14Do they actually have to be licensed for defender for office plan two
- 5:18in order to be the recipient of a phishing email
- 5:23in this attack simulation training to see if they click on a phishing email?
- 5:29To me, it seems kind of silly.
- 5:30Now I'm paying five bucks for the license and Microsoft Defender for Office 365,
- 5:35plane two is also five bucks.
- 5:37So now I have to pay an extra five bucks just to be able to see if my users
- 5:41click on a Phish link. Mm-hmm.
- 5:42to me this feels like one where it's,
- 5:46I have users that are going in and looking at reports,
- 5:49they're setting up attack simulation,
- 5:51they're using the attack simulation
- 5:55configuration testing interface. And I was like,
- 5:59this seems a little bit vague
- 6:04in terms of what do I need to do and how does this have to be
- 6:09licensed. I asked around somebody who's like,
- 6:11just go open an issue on DIS or on docs.com.
- 6:14So if you ever run into one of these licensing questions, be warned,
- 6:18you may not like the answer ,
- 6:20but go scroll all the way down to the bottom and you can submit feedback for
- 6:25this page and essentially open an issue on GitHub. And that's what I did.
- 6:30So I went and opened this issue on GitHub and said, okay,
- 6:33this seems unclear who has to be licensed for
- 6:38this particular feature.
- 6:41And it ended up with some back and forth in terms of
- 6:46who it actually has to be. And one person was like, what it boiled down to,
- 6:51we'll boil it down, we'll get to the point, boil it down. They were like,
- 6:55well defender plan two is a tenant wide
- 6:59feature that benefits every mailbox.
- 7:03So every user is gonna have to have this regardless of if
- 7:08they're setting it up, if they're receiving emails, all of that. Okay,
- 7:13great, sounds good. I don't like it, I can live with it.
- 7:18I get their point because defender for play,
- 7:22defender for Office 365 Plan two does include additional
- 7:27security features that you're gonna be taking advantage of.
- 7:31It's not just attack simulation. However,
- 7:34then someone pointed me to the service description for.
- 7:38Which is really where you should have started product.
- 7:40You should have started in the terms of I should have serviced,
- 7:43like I think everybody forgets the service descriptions are here,
- 7:46but like they're generally the place that you should go start anyway.
- 7:51They're the most confusing part of the whole thing cuz it is really hard to
- 7:54rationalize what you buy like across all these individual plans plus either
- 7:59an M 365 or an OS 365 skew,
- 8:03all the various things that exist out there. Like, ooh,
- 8:06I'm a Microsoft 365 business premium customer,
- 8:10so what type of add-on license does that come with?
- 8:12Or what type of add-on license do I need to buy? Good luck figuring it out.
- 8:16But it theoretically is possible through the service descriptions.
- 8:20Yes. So this is, and you have already posted this in the Discord chat,
- 8:25but there are four bullet points.
- 8:28The only ones I really cared about were two all exchange online users in the
- 8:32tenant.
- 8:32This is because plan two features and capabilities protect all users in the
- 8:36tenant well and good. The second one, Scott,
- 8:39all shared mailboxes on the tenant.
- 8:43And this one caused me to go back to my GitHub issue where somebody said license
- 8:48all users and said all users and shared mailboxes .
- 8:54And this created additional discussion because someone was like,
- 8:56no shared mailboxes are included with user licenses,
- 8:59you shouldn't have to license it. And I said,
- 9:01not what the service description says.
- 9:03This says I need to actually pay $5 per month for
- 9:08every single shared mailbox as well. And the response was, oh I'm checking.
- 9:13And they came back and said the service description is correct.
- 9:17So in this, this one irritates me. I'll be honest,
- 9:21the licensing of this irritates me because up until now,
- 9:25every time I've seen stuff around shared mailboxes is shared,
- 9:28mailboxes are free, they're shared by licensed users.
- 9:34You have to have an exchange online mailbox
- 9:39to even access a shared mailbox.
- 9:41It's not like I could be licensed for just SharePoint.
- 9:44Mm-hmm and somehow leverage the shared mailbox. I am licensed,
- 9:48I haven't exchange online plan defender plan two license in this case.
- 9:52Let's assume that. So I'm accessing a shared mailbox,
- 9:55but now I also have to go in and license a shared mailbox and count
- 10:00all of my shared mailboxes that get created and license those as well.
- 10:05According to the service description.
- 10:08And I haven't gone back to this thread
- 10:13I need to,
- 10:14but does this now mean I also have to buy a defender for Office
- 10:18365 plan two license for every Microsoft 365 and group and every
- 10:23team that I create too,
- 10:24because those also technically have shared mailboxes under the
- 10:29covers.
- 10:30Yeah, it's a weird, an.
- 10:32Email can be question.
- 10:32Question, but it'd be good to like clarify with everybody there.
- 10:36So who you're going back and forth with on the GitHub thread is one of the
- 10:40technical writers for the security docs. So I would consider them,
- 10:43I guess to be about as authoritative or resources you're gonna get.
- 10:47And then especially once the doc updates land,
- 10:49like that'll be your answer might not be the answer you wanna get though.
- 10:53, again,
- 10:54like be wary opening these because sometimes ignorance is very much bliss
- 10:59in terms of I don't need to license Sharon mailboxes for defender
- 11:04plan two.
- 11:05Again this one's just weird because you can
- 11:10technically,
- 11:10a shared mailbox shows up as an unlicensed user in Office
- 11:15365.
- 11:16So now do I like need to go in and actually assign these licenses to
- 11:21shared mailboxes so I know I have license parody.
- 11:25Is it enough that I just have like 50 of these sitting there
- 11:29unassigned because I have 50 shared mailboxes?
- 11:34It's the whole fact that that bullet point is in
- 11:39there. And licensing shared mailboxes for this defender for Office 365
- 11:44plan two just kind of boggles me a little bit. .
- 11:47It's a weird one. I don't, I don't know, like if I was managing a tendency,
- 11:51I wouldn't wanna have the licenses hanging out like you know,
- 11:53you have that pool of extra licenses there. Yep.
- 11:56I think you'd want to have 'em assigned in the mailboxes. If anything,
- 11:59just have your life easier. So it's not in a spreadsheet somewhere,
- 12:03but what a royal pain. It's,
- 12:07it's So we were kind of talking before we hopped on,
- 12:10I can't think of any other instances off the top of my head
- 12:15where you have to license a shared mailbox. Like you said,
- 12:20like it's kind of unprecedented.
- 12:22I can't think of any place else in the platforms that forces you
- 12:27down that path and,
- 12:28and many organizations create lots of shared mailboxes because for better or
- 12:33worse, like you said,
- 12:34they're a component and a byproduct of having individual user licenses.
- 12:38Right. And the other part where this got confusing,
- 12:42and I think I mentioned this in the thread and I don't know that I actually got
- 12:45a straight answer,
- 12:46is Microsoft also allows you to convert user
- 12:51mailboxes to shared mailboxes.
- 12:54We're gonna get into some really weird licensing for a period of time.
- 12:59You cannot do this for archival purposes,
- 13:01but you can do this for a period of time so that once a user leaves you can
- 13:05essentially reclaim your full user license and then have that
- 13:10shared mailbox around for a little bit because maybe a manager needs to go
- 13:13through the emails or maybe you want to have an out of office set for 30 days.
- 13:18This user is no longer with the company. You wanna monitor their mailbox,
- 13:22make sure nothing important is coming into it.
- 13:25That type of scenario is supported again,
- 13:29keep it around for a month, two months to monitor the mailbox.
- 13:33Now do I also have to have extra defender for plan two licenses sitting around
- 13:38just to cover users that I'm deprovisioning for a few months and I have to
- 13:43start managing how those licenses apply to
- 13:48essentially temporary shared mailboxes.
- 13:51It's completely baffling again how you'd even start to track this and keep track
- 13:56of it. I think I'm gonna keep coming. I wanna see,
- 13:59and if anybody's listening on the exchange team or license team and has any
- 14:03additional insight into this, let me know. Cuz again, I'm,
- 14:06this just seems weird to me. .
- 14:09I can't remember running into a customer who had a true up around this.
- 14:12It doesn't mean it doesn't happen, but uh, yeah, , who knows? I.
- 14:16Would also go with that.
- 14:17This is all technically according to what Microsoft says,
- 14:22what you choose to do is up to you. ,
- 14:26I cannot tell you number of tenants I've seen where I said,
- 14:29well technically I feel obligated to tell you this so
- 14:34that I have a clear conscience. But what you do is you are prerogative. Yeah.
- 14:38technically I'm walking away right now. This is you problem,
- 14:42not a me problem. Yeah. Been there, done that.
- 14:45We will end this discussion right here about how people license things in their
- 14:48tenant .
- 14:49That could be a whole nother discussion because I have brought that up before
- 14:54and they have said,
- 14:55well so and such and such a company told me to do it this way. And I'm like,
- 15:00oh really?
- 15:01such and such a company should know better considering the number of
- 15:06licenses such and such a company sells of Office 365.
- 15:09Yes. Did did you get that in writing and did you have your lawyers stamp it?
- 15:14Yes.
- 15:14They'd.
- 15:15Seen that one before as well. Yeah.
- 15:19Do you feel overwhelmed by trying to manage your Office 365 environment?
- 15:23Are you facing unexpected issues that disrupt your company's productivity?
- 15:27Intelligent is here to help much like you take your car to the mechanic that has
- 15:31specialized knowledge on how to best keep your car running Intelligent helps you
- 15:35with your Microsoft Cloud environment because that's their expertise.
- 15:39Intelligent keeps up with the latest updates in the Microsoft Cloud to help keep
- 15:43your business running smoothly and ahead of the curve.
- 15:45Whether you are a small organization with just a few users up to an organization
- 15:49of several thousand employees,
- 15:51they want to partner with you to implement and administer your Microsoft Cloud
- 15:56technology, visit them at intelligent.com/podcast.
- 16:00That's I N T E L L I G I N
- 16:05k.com/podcast for more information or to schedule a 30 minute
- 16:10call to get started with them today.
- 16:12Remember intelligent focuses on the Microsoft cloud so you can focus on your
- 16:17business.
- 16:20So this has been kind of a side investigative
- 16:24investigatory journey for me over this last week is trying to get to the bottom
- 16:28of this for a client. Now technically,
- 16:30I don't really wanna go back to the client and say, uh, sorry, ,
- 16:34you're gonna have to license a whole lot more than you thought you were because
- 16:38they do have some shared mailboxes. So it's, yeah,
- 16:42this is an odd one. Scott . I don't.
- 16:46All right, I'll see if I can transition you into some happier stuff. All right,
- 16:51I'm gonna take a very roundabout way to get there.
- 16:54So because we're on the topic of Microsoft Documentation
- 16:59as you called out, Microsoft Docs are,
- 17:02the vast majority of them are hosted in GitHub and because they're in GitHub,
- 17:07you can do things like, you can go open a GitHub issue,
- 17:10you can submit an edit to a document as somebody just
- 17:16externally,
- 17:16like maybe you see something that's wrong in your case you needed clarification.
- 17:20Maybe you wanna say a better example of something like you can do all that aws
- 17:24I, I don't know how much you deal with AWS customers, if at all, but AWS has,
- 17:29I don't also hosted its documentation on GitHub for quite
- 17:34a while now, like four or five years.
- 17:37It's not like it's a brand new thing where AWS said like, oh,
- 17:39we're gonna put product documentation on GitHub and then publish it through to
- 17:44align with the,
- 17:45the broader AWS service stack and doc set that exists over there.
- 17:49So a couple days ago AWS announced that they're retiring all of their
- 17:54documentation in GitHub.
- 17:56Like it's too much for the service teams to keep up with.
- 18:00They manage 262 repos.
- 18:03Basically every feature that has DOC for it also lived in GitHub.
- 18:07Tons of overhead to maintain and they didn't necessarily see the ROI
- 18:12in having customers be able to do things like open specific issues like with
- 18:17their own language or submit improvements, anything like that.
- 18:22I'm a big fan of the Microsoft doc system, like it's truly empowering to me,
- 18:25like as uh, somebody who works in Azure,
- 18:28like it's easier for me to write my docs and work with my content teams to get
- 18:32them out there. I think it's helpful for customers.
- 18:35Like it definitely gives us an idea of the health and validity of our
- 18:39documentation. I was wondering like,
- 18:41would you be burned if Microsoft got rid of its documentation on GitHub?
- 18:45Like do you find that it's more of a headache or do you like having the ability
- 18:49to go in there and make edits and open these issues and get these answers this
- 18:54way?
- 18:54So from an end user perspective, I like it.
- 18:59I have contributed a few and open some issues and fix some
- 19:03documentation or kind of this standpoint here
- 19:08that we just talked about where I can go in and create an issue and actually
- 19:12have visibility into it.
- 19:13Where if it was just a button where it's like submit feedback on documentation
- 19:17in an email goes off into a black hole,
- 19:20there's no real way to know if anybody's looking at
- 19:25it to know if anything's been fixed. So from an end user perspective,
- 19:28I absolutely love having it in GitHub.
- 19:30Sean and Discord also said he thought moving the to GitHub was a huge
- 19:35improvement for documentation. I'm a big fan of it, however,
- 19:39I do also,
- 19:42I could see your point and see Amazon's point of that.
- 19:46It wasn't my point, it was, it was, it was Amazon's point.
- 19:49I thought it was really interesting. Like Amazon points, I,
- 19:52I mean other hyperscalers like,
- 19:54I mean I work for one of the three big hyperscalers, right?
- 19:57Like we all face a lot of the same kinds of issues. Yep.
- 20:01And I try and keep track of what they're doing and like this was one of those
- 20:04ones that kind of came outta left field that was like, oh really?
- 20:07I like AWS documentation for the most part.
- 20:10Like it tells me the things I need to know the,
- 20:12a lot of the time it is very vague and kind of like doesn't guide you in the
- 20:16right way you would want to for things like, it's not overly prescriptive,
- 20:20but I guess that's okay if you're doing cloud and you've just got building
- 20:23blocks and things like that. But I was trying to imagine in my head like,
- 20:27what if I did, like,
- 20:28would I ever advocate for getting rid of GitHub at Microsoft? Like I, I can't,
- 20:31right? Like I really like the system and how it comes together.
- 20:34Like I get there's overhead there, there's certainly friction. But you,
- 20:39for me, like the ROI is worth it, right? Like I, I'm, I'm actually really happy,
- 20:43like when a customer can open an issue and can get an answer to,
- 20:48to their question along the way or they can drive an improvement in
- 20:53the platform. Like I,
- 20:55I go back and forth with customers on GitHub all the time about AZA copy and our
- 20:59SDKs and the way they perform perform and you know,
- 21:03sometimes it's harsh feedback, but I'd rather have to feedback than not have it.
- 21:07Right. Well I was trying to think.
- 21:08So the only reason I can see where this could become a struggle for
- 21:13somebody like AWS or somebody like Microsoft, I mean I was looking through,
- 21:18I don't know that there's a way to see this in GitHub.
- 21:20Maybe there is is just under like the Microsoft 365 docs,
- 21:25that particular section of the Microsoft Docs repo.
- 21:29I mean you have how many thousands
- 21:35of issues there have been 5,400 closed.
- 21:39There's currently 433 open issues.
- 21:43Like me as an end user opening an issue or two or three is not a big deal.
- 21:47But somebody like Microsoft or Amazon that is managing,
- 21:51I don't know if there's hundreds of thousands or tens of thousands of markdown
- 21:56files and getting who knows how many issues
- 22:01a day or different commits, forks, pushes, pulls,
- 22:06all of those that they have to manage.
- 22:08I can't imagine that opening this up to the community does
- 22:13offer an added an added amount or an added quantity
- 22:19of management to just be able to keep track of everything,
- 22:23respond to stuff,
- 22:25verify that poll requests that people have issued are in fact
- 22:30valid updates to the documentation.
- 22:32I would imagine there's a lot of work to maintain this as well. Oh, so again,
- 22:36I like it. I don't.
- 22:37I don't discount that. Like I think the ROI is there though, you know,
- 22:40at least for, for me, like I said, I I, I see a ton of it.
- 22:43So I thought it was a fun decision that a competitor made .
- 22:48Yeah. So what are they doing? I haven't read the article.
- 22:50You posted it and I haven't looked at it.
- 22:52Is it just gonna be like a closed source
- 22:57website? Did they say what they're doing instead?
- 23:01Kind of like we do in in Microsoft Docs, like we have like a thumbs up,
- 23:04thumbs down, but it just ties into GitHub metrics. They'll do the same thing.
- 23:08They'll continue to have a thumbs up, thumbs down and then monitor those.
- 23:11So I guess if they get a thumb enough thumbs down on the cloud formation
- 23:15template, blah blah, blah sample doc,
- 23:17they'll go ahead and potentially revamp it. I don't know. We'll.
- 23:22See voter resource [inaudible] I mean when I hear this too,
- 23:26it also makes me wonder from a,
- 23:30the perspective of GitHub is Microsoft.
- 23:35Like is there some component of that? Well,
- 23:39not publicly admitted in that article that makes them want to pull their
- 23:44documentation out of GitHub. Maybe.
- 23:46Uh, I don't know. Who knows? But um.
- 23:48It's just me speculating. Just.
- 23:50Just another interesting one. All right, so we got a little bit of time left.
- 23:53Why don't we talk about, okay, some uh,
- 23:56fun things that are coming up and have been recently released in
- 24:01Azure land. So we're in like the build up to build, let's see,
- 24:05we're recording on Friday,
- 24:07may 19 build is next week. So, uh,
- 24:12theoretically by the time folks here this next week build will have already been
- 24:15out with few days of sessions,
- 24:17like maybe we can come back with a session catalog and things like that.
- 24:20But there have been some improvements that have been announced
- 24:25pre-built. One of the kind of fun ones that I wanted to talk about,
- 24:29cause I've done a little bit of this in the past with customers,
- 24:33is scaling web applications and using
- 24:37the scale components that are inside Azure app service. I don't know,
- 24:42how much do you play around with Azure app service and app service plans and
- 24:46some of the kind of Linux windows compute that's available behind app service
- 24:50plans? I have deploying websites for.
- 24:52Customers of this. Yeah, a little bit. This is not something I dive into a ton.
- 24:57I was looking at one the other day with a customer that scaled up and didn't
- 25:00scale back down. I think it was related to Azure functions. So, uh,
- 25:05a little bit but not a ton. Gotcha.
- 25:07So app service on the whole is a PAs service for
- 25:11deploying web applications. Be they.net based,
- 25:15Java based Python, like they can run on the Windows stack Linux stack,
- 25:20whatever it is.
- 25:20So think like it's a pool of managed compute that then you can
- 25:25come in and it exposes standard like tcp you know,
- 25:30HB 80, HB port 80, uh, HB S port 4 43,
- 25:34things like that out to the world.
- 25:36And cause it's pulled compute,
- 25:39you can do things like you can scale it horizontally,
- 25:42like there's elastic scale horizontally where you can scale out and scale in
- 25:47based on the demands that are put on the system.
- 25:50So traditionally the way that is worked is you can say like I don't
- 25:55want to scale,
- 25:56I wanna do things manually like oh I see the service is overwhelmed.
- 26:00I'm gonna come in and I'm gonna crank the slider from one instance to three
- 26:03instances or three instances to five instances. You know,
- 26:06like whatever number up to like the max of your pool and then maybe you'd drag
- 26:10it back down later. The second option you had was auto scale.
- 26:14So auto scale was,
- 26:17it brought a couple different things so you could do scheduled scaling.
- 26:21So you could say like,
- 26:22hey I know based on seasonality of traffic to my website every Monday at 9:00 AM
- 26:27I need three instances of you know, this web application.
- 26:30Like maybe it's for your finance team to enter all the orders from last week and
- 26:34then Monday afternoon end of day it spins down to less instances and you don't
- 26:38need it anymore.
- 26:39Or you could have done rule-based scaling which brought in components around
- 26:43like CPU usage across your compute instances, memory usage,
- 26:48all those good kinds of things.
- 26:51There's some downsides to both manual and auto scale though,
- 26:54and I think this is where like this new automatic scaling option is kind of
- 26:58pretty cool.
- 26:59And those are around things like having pre-war pools or pre-war
- 27:04instances cuz think about like you know in maybe like think VM ss.
- 27:09So when you move that slider in VM s s,
- 27:12you have to wait for that VM to boot in the background.
- 27:14You have to wait for it to be bootstrapped,
- 27:16you gotta wait for your code to be deployed on it, blah blah blah.
- 27:18Like that stuff takes time, right?
- 27:20It's not unheard of to see like a scaling operation that can take like five
- 27:24minutes plus like, and sometimes on the order of like tens of minutes, like 20,
- 27:2830 minutes if you're doing like really big beef e VMs depending on what you have
- 27:33going on.
- 27:34So automatic scaling is a new option and basically you come in and you turn it
- 27:38on and you say I wanna do automatic scaling and that's it.
- 27:43You don't worry about things like rule-based scaling anymore.
- 27:47Like you don't have to configure a specific resource metrics
- 27:51say like CPU consumption on your instances or anything like that.
- 27:54Like in fact you don't have the ability to do that.
- 27:57Like once service degradation starts occurring,
- 28:00the system is automatically going to scale for you and you
- 28:05can scale into not only un warmed instances,
- 28:09but you can also scale into pre-war instances.
- 28:13So you can kind of do this thing where you can say like, okay,
- 28:15maybe you run like a small website.
- 28:17So I always want to have one instance of that website running like,
- 28:21and I never want to go below one or I never want to go below two,
- 28:25like whatever the number is. But you always have to have at least one running.
- 28:28So let's say like I've got two of them running,
- 28:30I always wanna run two but I only ever want to run a maximum
- 28:35of 10.
- 28:37So you've just got a slider in there now where you set your maximum burst and
- 28:42you go to 10 instances.
- 28:44You can also configure the number of instances that are kind of always ready
- 28:49or pre-war for you. So I could say like, okay, ten's extreme for me,
- 28:53like that's a lot of seasonality. So going from like two to 10, uh,
- 28:58like I don't need everything to be pre-war,
- 29:01but what you could do is you could say like, hey I always want uh,
- 29:04three instances pre-war. So when I scale from two to five, I'm ready to go.
- 29:09Like I just go into basically VMs that are already on and all I have to do is
- 29:13deploy my code on them and then I'm up and running
- 29:18in a much quicker fashion.
- 29:21It's a little bit of like a closed box,
- 29:24like you can't see into it as to like what the dimensions or resource metrics
- 29:29that the app service team has chosen to scale on.
- 29:33Like it looks like it's a couple different things. Like it's just HDP scale.
- 29:37So think like maybe like a number of transactions,
- 29:39number of TCP connections coming into your website. I imagine it's cpu,
- 29:43memory consumption, uh, a bunch of other things that come into play with it.
- 29:48But I like that it's just like it's a checkbox automatic scale and you move
- 29:53to sliders and you're just kind of done with it.
- 29:57Like you don't have to worry about it as long as whatever engine in the
- 30:01background is actually driving scale in the right way.
- 30:04Like this would be like one of the closest to like set it and forget it kind of
- 30:09scale out services that you potentially have today in web app plan,
- 30:13at least app service and and all the things that come along with app service
- 30:17plans and that underlying compute engine.
- 30:19So I thought that was a really cool nifty one to see.
- 30:23Yeah, so with automatic scaling, like you have the always ready,
- 30:27the pre-war instances in your scenario where said you want three,
- 30:32you start with two, you scale to five,
- 30:34does it like spin up or prewarm three more instances now.
- 30:39So you're running five, you have three pre-war,
- 30:42assuming your maximum scale limit supports that so that if you have to scale
- 30:46from two to five to eight,
- 30:49you have those pre-war ones there.
- 30:52Does it kinda always keep that pre-war buffer in front of it? It.
- 30:56Does. Yeah. So the way pre-war works is as you slide the scale.
- 31:00So let's take that example of min two, max ten three pre-war.
- 31:05So I start at two and I want to scale up by three instances and it decides to
- 31:09automatically scale may by three. I'm gonna go into the pre-war instances now,
- 31:13like you would be left without another three to scale into,
- 31:17but what it does is it'll spin up the next three and create another buffer for
- 31:21you of pre-war instances.
- 31:23And it just kind of continues shifting that buffer over until you hit
- 31:28whatever the maximum scale out limit is.
- 31:31So like whatever you set as maximum burst, if I set 10,
- 31:35I can't exceed 10 instances and and have that out there and be charged.
- 31:38For it. Got it.
- 31:39And it does look like this is only websites cuz you know I've used some of the
- 31:44auto-scaling for functions and it says that this is only
- 31:49in the app service play. Uh, you cannot have Azure app service, web app,
- 31:54you can only have Azure app service web apps. Yes.
- 31:57And the app service plan where you wish to enable automatic scaling functions,
- 32:00this is gonna be disabled. They recommend Azure functions premium plan instead.
- 32:05Still wouldn't surprise me that if maybe some point in time it came,
- 32:08they probably start with app service and maybe it'll become available for
- 32:12something like functions down the road.
- 32:15I imagine in the future. So, so I, I,
- 32:17I mean functions use like app service plans in the background anyway.
- 32:22So one would have to think so yep.
- 32:24Like this is probably a good opportunity to like put it out there in preview,
- 32:27vet it, see how it works,
- 32:28dial in what I imagine is probably some kind of like ML model that's
- 32:33looking at things like resource health. It's likely looking at other dimensions.
- 32:37Like they're very, like I said it's, it's a little bit of like a a black box,
- 32:41like it's kind of closed off the,
- 32:43the way it works but I imagine they're looking at other dimensions
- 32:48that they have access to you or maybe that are driven through like app insights
- 32:51or attached to whatever application you've deployed.
- 32:55Like cuz if it's looking at H T P traffic,
- 32:57that's a little bit different than looking at you know,
- 33:01straight C P U consumption, memory consumption, things like that.
- 33:03Right. Interesting. Very cool. I am not adding this to my list Scott,
- 33:07my growing list.
- 33:09This is not something that I do enough with that it's on my list yet.
- 33:11This is in the back of my head for if a client ever asks about it. All right.
- 33:15So real quick,
- 33:16I got a couple other ones for you in the kind of MM
- 33:21application,
- 33:21the web application space I guess or applications that are surfaced over
- 33:27tcp. Okay. So I don't know how much folks really do this anymore.
- 33:32I find myself doing it less and less. But if you ever run into Azure,
- 33:37like you go to ping something and you can't ping it because I C MP echoes are
- 33:42blocked and black holes more and more. Yes.
- 33:45Or if they're not blocked at the VM level,
- 33:47they're often blocked within a service like load balancer.
- 33:51So Azure load balancer slb like standard load balancer
- 33:56now lets you go ahead and do pings against the
- 34:01front end I P V four address if that's a need that you have.
- 34:05So say you had something monitoring the health of load balancer and for
- 34:10whatever reason like that maybe wasn't based on like an HTP probe or you know
- 34:15a specific HTP response from a webpage or something like that.
- 34:19It was just looking and you just wanted to do like a straight ice A M P echo
- 34:23like hey ,
- 34:25you can do that now and turn it on.
- 34:30Which is kind of good. So it's there automatically,
- 34:34it's just,
- 34:35it does require standard load balancers so you can't do it with basic or
- 34:40anything like that. But uh, you know,
- 34:42if you're a customer who wants to go down that path,
- 34:45you can now just configure an NSG rule if that's a restriction that you have on
- 34:50your side to make sure that the traffic flows and then you can go ahead
- 34:54and ping the slb.
- 34:56So this is still disabled by default.
- 35:00You have to actually configure N S G to enable the
- 35:05pings to be allowed. Uh.
- 35:07Yes. Well,
- 35:08so you don't have to configure the load balancer for pings.
- 35:13You still have to open up the VMs behind the load balancer
- 35:18to ICMP echos. So,
- 35:20so really what I'm saying adjust n sgs like you're adjusting the N inbound N
- 35:24sgs, which are gonna be thereby default.
- 35:25Like if you haven't messed with anything in like a default VM deployment,
- 35:29you're gonna open up for those ping requests to come through and
- 35:34then you can actually use the responses from your ping to
- 35:39figure out backend health. So if you get like destination host unreachable,
- 35:43that means every backend instance was probed down by the load balancer.
- 35:47So the load balancer's still up and it's still trying to send out probes to
- 35:52the VMs that sit behind the S L B, but they're all down.
- 35:55If all the backend instances are off,
- 35:57you're gonna see unresponsive request timed out if at least one instance is up,
- 36:02you just get successful replies and if you get an
- 36:07unresponsive request timed out,
- 36:09no backend instances behind the load balancer or there's just no s slb
- 36:14routing rules in place. And I think like that's a nice little ad. Like I said,
- 36:19it depends really I guess on kind of your ecosystem and what you're using in
- 36:24front of slb to determine additional health of like whatever that
- 36:29SLB is hosting out and has in place.
- 36:33Got it. I was just looking through the documentation. Yeah,
- 36:36this is pretty straightforward in terms of being able to test it. Ken,
- 36:40I've never looked at this,
- 36:42I have never looked at denial of service attacks much in terms of actually
- 36:45performing one because I like not being in trouble.
- 36:49could this potentially be used for denial of service though?
- 36:52So if you are gonna turn this on,
- 36:55is Microsoft gonna put some sort of protection in place or is this on you of,
- 36:59hey, you went in and configured these nsg to allow pings to your backend servers
- 37:04behind your load balancer.
- 37:06You better be careful that this doesn't create some issue
- 37:12due to some crazy high number of pings.
- 37:15You probably should make sure I'll put a link in the chat for everybody.
- 37:19So there,
- 37:20there's kind of rules of engagement for doing penetration testing on
- 37:25Azure and you can kind of figure out, you know, based on what's out there,
- 37:29like some things just like they're allowed,
- 37:32but you should either give Microsoft a heads up or do them sparingly, like,
- 37:37uh, fuzz testing your endpoints is allowed, you're allowed to do port scans.
- 37:42You're absolutely allowed to do tasks for like OWA bon vulnerabilities if
- 37:46you're gonna do like owas top 10, cuz I don't know,
- 37:49you turned on web application firewall inside of your front door instance or
- 37:53your web application gateway and you just wanna make sure that like, hey,
- 37:56it's actually doing the security stuff that it's supposed to, whatever that is,
- 38:00uh, you're allowed to do that. Every customer is also protected by,
- 38:05uh, DDoS basic,
- 38:08I forget all the d the flavors of DDoS that are available in Azure,
- 38:13but by default every customer gets some level of DDoS protection.
- 38:17So it's not like you're going to, I think threaten or take,
- 38:20take anybody else by doing down by doing this, but be reasonable.
- 38:24Right? So know what's going on,
- 38:26but there are still gonna be some protections in place by default from Microsoft
- 38:32against somebody taking you completely down due to
- 38:36yeah. Opening up pings.
- 38:38Yep. Yeah, I if somebody can take you down just by you opening up pings,
- 38:42you likely have some other issues.
- 38:44Fair enough. I've got a story. We, we don't have time today. Remind me, Scott,
- 38:48record a future podcast. We can talk about some, yeah,
- 38:52we can talk about a recent incident that I'm aware of and
- 38:57some security stuffer on that too. All.
- 38:59Right,
- 38:59well we'll close out with that teaser then and we can come back next week with
- 39:03one.
- 39:03All right. Teaser for next week. We can talk about it. All.
- 39:06Right, well as always, thank you Ben.
- 39:09Thanks to those that joined us for the live show
- 39:13today. I hope everyone has a good weekend.
- 39:18And for those that are attending build next week, either virtually in person,
- 39:21I hope that's a good show for everyone as well. Yes.
- 39:24Absolutely. Well thank you Scott.
- 39:26Enjoy your weekend and we will indeed talk to you in a little bit.
- 39:30We'll talk to you after Vacation.
- 39:32. Thanks Ben.
- 39:35If you enjoyed the podcast, go leave us a five star rating in iTunes.
- 39:39It helps to get the word out so more IT pros can learn about Office 365 and
- 39:43Azure.
- 39:44If you have any questions you want us to address on the show or feedback about
- 39:48the show, feel free to reach out via our website, Twitter, or Facebook.
- 39:53Thanks again for listening and have a great day.