 Hi there and welcome to another edition of Tuesdays with Corey. I am here with Sean McKenna Who is the product owner for the infamous Azure Container and since it's already. Yeah, so we launched this last Wednesday Yes, so we could not do it last week on Tuesdays with Corey. Very sad for me. Yeah, but here we are today Yep, the next one indeed tells a little bit about what this is what what did we launch and why does it matter? But this thing that went to number one on hacker news whoops Doesn't happen every day. No, it doesn't happen every day. Um, so Azure Container instances I mean it happens to some sure Something is always always a number one. Yeah, otherwise they'd have to look into that so every single day Yeah, just not not always us not something that you built. Yes, exactly. Okay. We're good. Thank you for the clarity everyone Let's we're gonna keep going So Containers kind of a big deal. Yes, right? They seem to be popular. Yeah, yes people people love their containers But to date if you wanted to use containers you had to use them kind of in the context of something else Yes, you had to launch a VM or you had to adopt an orchestrator or some higher-level service They were sort of part of that. That's right There's a bunch of steps learning process no matter where you were going exactly exactly so we had lots of different options But they all involved some other overhead some other step Right, so what we said was hey, why don't we just make this a first-class citizen? Okay in Azure, right? If you want to run a container in Azure, why can't you just tell us here's a container run and and run it seems pretty intuitive? Yeah, okay, so that's that's it. That's basically what we did. So it's just a container. Yep It's just just launch one. Yep. Okay, and you don't have to worry about orchestrator You don't have to worry about any underlying platform any management any VMs nothing. That's right Yep, so we take care of all of that for you. It's sort of the dream of the cloud, right? Yes, you just run your code and and you don't promise It's it truly is the promise that has been given to all of you. Yep. So so that's basically Simple should we take a look at I think we should take a look at let's let's go to the let's go to the demo Yeah, so we're here in the cloud shell Which is another popular feature that we've shipped in the last couple months and this is actually built on top It is. Yeah, so even though we just announced container instances to the public last week We got a clutch cloud shell has been running for a couple months on top of the same infrastructure And so I can use within the cloud shell or using the downloadable CLI I'm going to use the easy command, which is what I can use to do all kinds of different things. That's just a beautiful It's super powerful, right? And what we've done is added a container module So I can do easy container create give it a name like you would expect for an Azure resource Hello, and then an image, right? So we're talking about containers. We're talking about images Compatible image and so in this case, I'm just going to use a hello world image That we've got up on Docker hub so you can either use images from Docker hub the azure container registry if you want Yeah, or basically any other Docker compatible registry I'm going to want to give that a public IP address so that external clients can get to it and then because it's an Azure resource I'm just going to go ahead and put it in a resource group and Hit enter on that And you see very well, that's pretty quick pretty quick We get back a response and this looks like if you're familiar with with resource manager Jason This will look fairly familiar to you Jason. Yes Jason's enter So you see the the image that we provided the name There's some defaults that are set up here So port 80 one one core CPU to one and a half gigs of memory Yep, and then the IP address. Yeah, that we've that we've requested and initially it's going to be in this creating state But usually within just a few seconds We should have up and running In a succeeded state and so I should you can be able to list all all the containers Yeah, actually I can just do a xe container List to give it the resource group and put it in a table nice pretty table Look at that. So I'm gonna have one that I had spun up earlier and then this one that we just created both are in a succeeded state So I'll go ahead and grab the IP address here and open that up in another tab and Just like we've got second container spun up Wow and literally seconds literally seconds and now how are you paying for this? Yeah, it turns out we do charge you And that's not it's not free. No, it's not free But we do charge you by the second, okay You have pretty close control over Over your costs, right? And so we expect there's gonna be a lot of scenarios for this where people want to spin up a container to run for just You know 30 seconds to run a build or do a test or or something like that And so we charge you based on the amount of CPU that you request the amount of memory By the second that's cool, and then there's just a small charge for the for the creation Yeah, okay. Got it. Got it. Very cool. Very cool. Okay. And so this is Linux This is Linux today when a Windows support will be coming in a couple of weeks and basically All all you need to do to launch a Windows container is pass in an OS type Switch on on the command line there or Just work point to a Windows container than that. Yep, exactly right great. Yeah, great. Well, that's super cool So what else so like I guess you know some of the other things that you can pass through like this is obviously a public endpoint But you could also make this into jobs You can you know pass in parameters right all that is possible here through yeah So a lot of the things that people that are familiar with using like the docker-seal I passing in environment variables being able to override the command You know those those types of things you might want to configure on your container and all that works here You can do that now what about if I wanted to do like a monitoring additional thing Like I want to spin up a container I want to have like a monitor like normally this is done you put two containers next to each other Okay, exactly. Yep. I was thinking when I think I was thinking like Indiana Jones Mm-hmm like with like with like his father. Yeah, you know junior. We named the dog junior Or the no not a not a big not a big or the cartoons with like the dog in the sort of there you go That's maybe maybe more Connery Anyway, go on but we digress. We digress What's that Oh Junior was his name we named the dog in I got the accent all wrong Sean I'm sorry Sean go on Sean Connor you know You can apologize to me Bring it back Sounds like a fun one. Yeah. Yeah, it's pretty well The name tags are not useful. Yeah So yeah sidecars, okay So, yeah, we talk about container instances, but actually what we're creating here is What we call a container group and that's basically you can create a collection of containers that will get scheduled on the same host machine Right, and they say I mean you're just gonna do this with like a couple. This is not like an orchestrator. Exactly, right? Yeah, yeah, so these things share a lifecycle they get deployed always onto the same machine They have shared network shared storage and so they're they're it's as if they're the same container But they're just coming from different right in fact We present them as the same container from a security isolation perspective We just split it up so customers can have them embedded next to each other for things I mean monitoring is probably the best example of why you do that. Yep So so yeah, walk us through a little bit of the port of space. So you showed us to see a live And maybe let's minimize this little guy here. Mm-hmm I mean you tell you how to do your job. Oh, that's fine, but let me tell you how to do your job fair enough So yeah, we've got support in the portal fairly Lightweight support I would say at this point. Yeah, you'll see you'll get the the notion here of IP address Yeah, and so there's the IP address in the OS type Those are properties that sit at the container group level Of course because you're gonna again you're you're scheduled on the same host Yeah sharing network, so you're gonna have the same IP address in your point OS And then the same OS type and then but then if you had multiple container images that were part of your group You're all listed here. Got it. And so yeah, you can you know manage your Your containers inside of the portal will add the ability to delete to delete them fairly soon Yeah, of course, and you can also create actually through the portal to the portal Oh, and we've got actually one more thing. I'll mention is we enable directly the Azure Container Registry team enabled Deep-link create from the container registry and go right into interesting and then create from there Exactly, that's great within the portal you say to try it out. Yeah container instance. Very cool. Yep Well, Sean, this is awesome anything else you want to well I guess just to time back to this is not an orchestrator. Yeah point one other thing that we've done is We're experimenting with what we're calling connectors Which is basically a bridge between you know a full-blown orchestration API like Kubernetes as an object into it container instances is sort of the underlying infrastructure And so we've got that project out there on github and we have ACI connector for for Kubernetes Yeah, and so we will maybe show that next week. Yeah, that's probably a good follow-up episode to stay tuned Yeah, I guess is that what we say now stay tuned see you around see see you around This is guys mock me because I end all my blog post if you go back and read my blog post They all say see you around at the end. I'm a very nice guy and they all are upset with that So I don't know why makes it easy to rejects for the content though That is true actually go fine. You can go find all my blogs. Yep. Yeah. That's right. Okay. Well, it's been really nice And I thank all Sean's out there for your I'll take it back This is cool though. Hopefully everyone gets a chance to play with it You know and it started up so fast. We've wasted tons of time talking about random crap Because the containers are so fast. We didn't have anything else to do But I hope you enjoyed the show, please if you have questions comments hit us up hashtag as your TWC And ask questions Sean and I will do our best to answer and we will show you next week the connector For Kubernetes with ACI so with that, thanks a lot and have a wonderful Tuesday All right Rick, are we ready or yes, you're rolling. Okay. Here we go. Yeah Hi there and welcome to another edition of Tuesdays with Corey Rick on my levels. Okay, you seem like super nervous Your eyes are making me really creeps out You're good. Okay. I'm gonna start this one. Okay. Yeah, that was a soft lunch All right