 Hi there and welcome to another edition of Tuesdays Worth Corey today. We have Kay. Yes again again Yes, well this may actually be the first show we show with you So we don't know which ones first I don't we have two shows with you and this one is about images images. Yes, and so tell us a little bit about what images are What customers are asking for sure so images are a read-only copy of like example is a golden image You want to create so you want to stamp out many VMs from like a one snapshot or got it You're gonna spin up like a hundred VMs, and you want to start them all from that one. So basically it's sort of like Static infrastructure exactly right. It's like a point-in-time capture of the state of your guys that you want got it And how will you want it got a perfect right and it can be one of us This can many data some people use it for to make sure that their infrastructure never changes, right? But some people use it just to make sure they have a starting point Exactly with all the security things that they want set up exactly okay great exactly right So we've had images in Azure for a long time. Yes, and we recently introduced something called managed images Okay, so whenever I talk to customers the kind of questions I get is I want to share this image across different subscriptions, right? Or I want to take this image and I'm going to take it to another region sure I have my infrastructure in the region. Yeah, right. So there it's always been very hacky to do Yeah, you gotta like copy exactly this kind of weird stuff some brilliant people have come up with like very clever solutions Okay, but we think it was harder than it needs to be built in the flat Yes, so what we didn't say that for years. Yes We finally have a solution. Yeah, that's a nervous laughter There were so many other Azure features that were in front of it as you know So it's my fault. I got it. Okay. Go. Okay, so if you introduce shared image gallery Which allows kind of answers all these questions and gives customers all these capabilities. Okay. Got it, right? So for example, I Wanted so let's quickly take a look at what the existing landscape is. Okay, right? So we have platform marketplace images. Okay, we have a custom managed image Okay, and now we're introducing is something called shared image gallery. Okay, and so customers ask us What is the relationship between managed image? Yes, so the shared image gallery agreed? And so the way to think about this is that shared image gallery is built on top of managed images Okay, so shared image gallery can do everything managed images can do so a shared image gallery its own object It is yes, so it is its own resource It is since at the same level as the virtual machines and VMSS. I see and discs Okay, so you can that you have direct rest apis to interact with these objects And then other custom-managed images are inside this gallery. Yes, but they're like associated with it So is this separate so you create? I should know this before we have this session Maybe so I'm not asking dumb questions, but that's all right. Everyone knows I'm dumb Go on please so so manage image are separate objects and these are like separate deep copies of managed image. I see Okay, got it got it. So So the the advantage is you can stop working with managed images or you can delete them to save costs and only work with shared image gallery okay, okay, okay, so Going back to this like you can you do and everything with a managed image or should we the shared image gallery that you Can do with a managed image, okay? And the way to think about this is so we have three new resources Okay, something called a shared image gallery sure you have something called a container exactly and then we have another container inside It called the image definition, okay, and we have another containers inside it called the image version. It's just like nesting dolls Nesting yes, I like the Russian dolls. Yes, so kind of the inception going on. Yeah, right, okay? And to show this in like a picture form So what you have is like the shared image gallery here Outside container you have multiple image definitions inside it right and then you can have multiple versions inside it Okay, and we follow semantic versioning okay the name of the version. Yeah, so you can define whatever makes sense for you Yeah, of course and you can define 1.0 or 10.0 even for sure. It is completely up to you There's no order. It is whatever order makes sense for great for you Okay, got it. So the version is completely up to you. Exactly. Yeah, and so how do you get to shared image gallery? So Looking at the history of Azure everybody had an unmanaged image, which was just one of us just right bunch of data disk Yep, like VHDs that have their each own like your eyes. Yes, that's right Yeah, so you have to convert that into a managed image Yes, right, and then you can create a shared image version out of it And and then you can create a VMSS or a VM and you can build from build actually instantiate exactly Yes, I got it. Exactly. Okay. Got it, right? So the next piece I want to talk about is so the first one you create the image definition the version or one in the same But then you can add additional versions on that as you update things exactly so people like patch it and exactly Each version is its own independent deep copy. I got you and you can we have the concept of latest So you can say I want the latest for this image definition Sure, great and it'll let you deploy and it does it awesome just like with our marketplace images You can say pub offer skew and yeah, yeah, and you'll always get the latest That's awesome. So we're bringing that concept to this as well. Okay, cool. Yep, and so The other ask was sharing of images, right? So because these are arm objects, you can apply our back access to these Yes, so you can give somebody an our back access to your shared version Oh, cool or the inside of your subscription even exactly Yeah, and then that user can deploy to any subscription. They have they have access to all cool So you don't need to like copy an image into one of those Exactly and like you don't have to pay now. How does this work from a regional perspective? So was this tied to a given region? Yes So so but I will come to the region. I jumped ahead. Yes. Yeah, that is the other problem. We wanted to solve Oh, I know it's a big one. Yep So once you solve this you can share and you can deploy in different regions in different subscriptions within the same region Okay, great, right? But now what you can also do is so oh look, I see you guys Yeah, I got maps like nothing explains like yeah maps are awesome, right? That's awesome So traditionally what you would have is like you would have an image in like this U.S. Yeah, and then like another image in Western Europe, right? And you have to like keep them and exactly Another in Australia, right? Now what you can do is make that image a part of a shared image gallery Yes, go from managed image shared image gallery perfect And then you can replicate that to multiple regions right and you can so it's as easy as specifying the name of the region That's how easy that's awesome and we handle the replication on the back end for you I see so you just everything gets taken care for you exactly perfect yet going back to making it simple for the Yeah, yeah, that's right. It's the goal. So now the other thing what we introduced is We've introduced that you can do versions Replication per so regional replication per version per version you can decide one version Maybe only in one location versus like version exactly Yeah, and the benefit of that is like you can save cost, right? Like you can have the latest version in like many regions Yeah, all the older versions and only in one right so another way to save money. Yeah So right so you can basically make sure yeah, you're bad your old ones that you may have to revert back to you Don't need to keep it. Exactly. Yeah, and the great part is that awesome So the awesome part is that you can update at any time, right? So you can come back and update the region list or you can remove the regions from the list So it's completely cleans it up for you automatically. That's awesome. So it's completely dynamic. You can make changes anytime Yeah, that's really cool. All right, so That's awesome. And so today this is in preview. This is in public today I don't want to go do this, but it's only available in command line and PowerShell, right? So it's not it's not available today yet in the portal and not in the portal But it's coming soon, but I just had a chat with the portal team and the experience is looking awesome It looks really good at least in that little map. You click on the button in the mock-ups Yes, good. Good. So the other thing we're introducing is something called scale. So Traditionally with the managed images when you try to create like thousands of VMs, it's slow It's slow and the reason it is slow is because of the storage storage account throttling So underneath the managed image. There is still like a storage hardware Of course and you can only read so much like if thousand VMs start reading from it It's gonna run into storage It's just spinning too much or the SSDs are chemically firing too much. Yes Is that right? Go on. All right So what we're allowing you to do is specify the number of replicas you want okay image Okay So one it offers high availability because it'll put it on different storage accounts in different hardware Sure, and if the storage hardware goes down you you can access your images Yeah, right and the second thing it offers is it allows you to Spread these VM calls to all these And you have to pay for that though. You have to pay for that I see so you if you say five you pay for five stores that size then and it is obtainable Okay, and so we just like one great story. I like to share a lot of the customer feedback Yeah, so originally in the original design. We had the same replica count for all the target regions So in in our preview one of the customers came back and said I really don't like that because I don't need it Right, so we went back only one region needs this many. Yeah, exactly So the team went back and kind of made some changes for the public preview and now you can do replica count per region Oh, very cool. Yeah, so you can say I want this region and all very very configurable Exactly. That's really cool. Yeah, so it's really customer centric And you can say global replica count if you don't want to configure per region We'd rather not do it and you can override per region as well. Oh, very cool So it is completely up to the customer all kinds of power here. Exactly. Let's see some actual. Let's see some actual How would you do this? All right, so What I have is commands in the Let me just zoom in here a little bit. Okay, so the first step you would do is create a research group Create research of course all this. Oh, yes Fortunately, that is very fast. That's it's very fast. Yes. Yes. So the net you so in the CLI what we have is the azsig So share six times will share it in which gallery very clever We realize typing that would be really some so we came up right right, okay? Azsig create pass in the group name pass in the gallery name. So I created one specially for you, right? I agree. I appreciate that so the next thing what you would do is you would create the image definition Okay, look at that so many options so many options, right? And I'm going to talk about these customer configurability, right? I'm so just going back. I'm talking about the publisher persona here, and then we'll talk about the consumer sure sure So what we have is the image definition create pass in the group name gallery name Perfect and the image definition name So I pass them to Susan as an example if you were publishing images for your Tuesday show Or if you had decided to do a like a Wednesday show or a Thursday show, right? So glass So you could have an image definition for each of you got those okay, and then publisher offers queue So if you if you're working with our marketplace images, you know every image has a publisher offer skew Yep Now what we allow you to do here is fine your own define your own that's awesome So it allows you to keep track of these in a much simpler way exactly So so when I show you did playing a VM with it right now It's gonna be with a resource ID yeah on resource ID But in the future will allow you to do publisher offer skew and latest and which is defined by you Yep, so so to be publisher offers skew and then version exactly So we're the image definition is defined by those three and then version is a layer on top exactly now multiple versions within those three exactly Yep, I got it. So So you get it so publisher offers always type and then it was type and then description images for Tuesdays, right? And this you can do this this allow this type so making sure that it's either the best or the worst of both Exactly. So as a publisher if you think this OS or this image does not need to run on premium storage Don't allow you don't allow you can put that in exactly and you can also define end-of-life dates So as a consumer I can look at the image and I can know if these images are out of end-of-life Oh, cool. So I don't I don't deploy those. Oh cool by accident, right? Yula Yula privacy so this is like if other if you shared it with someone else You maybe you can put that in and then they'll see those before they'll see those if they do a get on these images They'll see all these end-of-life dates and end-of-life date the Yula and the person and release notes. Yeah, and release notes like really Important right you want to know what's changing. Yeah, those are required though. I presume no these are not required But you can put them exactly just very cool. Just nice cities for the publisher to kind of maximum yep round out the publishing experience Right and then what we've added is something called minimum CPU core maximum CPU core So as a pressure you can tell your consumers here's the size you have exactly like kind of aim for this size That's very this ballpark like same with memory and maximum. Yeah, right? So you're done with creating the gallery you're done with creating the image definition. Yes now you need to create the versions Yes, that's the resource you're gonna deploy a VM or VMSS correct, right? So here we now you have to point to an image that you've already created Yep, that's your version. So yep So you pass in the gallery name you created the image definition name you created Tuesday and Great name So gallery image version 1.0.0 higher agent Yep, yep, and I could also have done 10.0.0. It's up to me Whatever you want and multiple regions if you want more multiple reasons I will just come to that so in this example I'm just published in one region and one replica count and I'm passing in the resource ID of the managed image I want to create this product right simple. So next what I want to do is as a consumer Okay, so next what I want to do is I want to publish a new version But I want to publish that to multiple regions, right? So I'm going to pass in the same image definition name version 2.0.0 Sure time run and then if you notice in the target regions I have a central us south-central us and I have this little thing called equals one replica count Exactly within that given location so the overall global replica count is five exactly south-central and east or one exactly So it's completely. I got it. I got it and and you can come back and run this command again I got it update this list. Okay, it will update it for you So what you can also do is while these images are replicating different regions You can also get the replication status of these like who doesn't want to see progress Yeah, so you can see how far there Got it. So you can get that good and the good point is like you can you can see if it is completely replicated into a region And you can start using it there. Yep and So what you can also do is switch to a different subscription and you can just pass in the resource ID of that Diversion ah and now you're creating an actual and now you're creating the VM call. So that's how easy it is So this is the same way you would use an image from a gallery as well Like if you're using managed images today in CLI nothing changes you just pass a different resource ID cool And that's how easy it is that easy. Yep, very cool Well, gosh, just great. So this is in public preview anyone can go use this anyone can go use it They have to sign up for the feature. Oh, they do have to sign up for it. Okay, so do we have we want to put a link? Maybe here we will just or somewhere here. Yes It's gonna be below the video It's not gonna be empty Unless Rick misses it out Anyway, okay. Thank you so much for doing this is great Great show great great cover to a great feature, right? I think that people will really enjoy this It's super powerful. We saw great like like feedback and great interest on any night. Yeah, let's go Let's get let's get people out there using it. Give us feedback Let us know what you think both about the show about K about me about the feature Hashtag Azure TWC. So that's Tuesdays with Corey and we'll see you around next time. So Kate. Thank you so much Have a one you have a wonderful Tuesday. I will and you have it's gonna be really weird I'm having a wonderful Tuesday on a Venice day, but okay. Well, no one needs to know those details And see you later And you're rolling there They go they got clap nice No, it's not it's not it's super annoying. Sorry. All right. This is in front of live studio audience This is not yeah, everyone's laughing in the audience. All right laugh track. Yeah. All right. You ready? Yeah