Have you checked out Azure Container Apps lately? Carl and Richard talk to Paul Yuknewicz and Jan Kalis about how they have sped up startup time with Container Apps using a feature called Express, and then on to the big news - Sandboxes. Sandboxes let you experiment with Azure Container Apps with managed identity to access Azure Connectors to all sorts of resources, both within Azure and outside it - Salesforce, SAP, etc. It's an effective and secure strategy for building applications, but also for experimenting with agents - at no point does the agent actually have control of any credentials. If you haven't looked at ACA lately, you need to check out these latest features!
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Speaker 1How'd you like to listen to dot net rocks with no ads? Easy? Become a patron for just five dollars a month. You get access to a private RSS feed where all the shows have no ads. Twenty dollars a month. We'll get you that and a special dot net Rocks patron mug. Sign up now at Patreon dot dot NetRocks dot com. Hey, welcome back to dot net Rocks. It's
Speaker 1episode two thousand and nine. I'm Carl Franklin.
Speaker 2And I'm Richard Campbell.
Speaker 1We're here for another hour of delightful conversation. Our friends Paul and Jan are here. We're going to introduce them in a few minutes. Guys, if you want to jump in during the a intro, go right ahead.
Speaker 3I'm here. No, go for it, all.
Speaker 1Right, Yuk, yuck or yuk, it's yah right.
Speaker 3These days I'm doing yuck all right, miss, just own it right.
Speaker 1When I was a kid, my grandmother would put mister yuckstickers on poisonous things, and that's.
Speaker 4What me too. Have actually had poison control on speed dial because I ate all the plants.
Speaker 2Nice. My mom had the bomb squad on speed dial. I don't know why, because of you. All right, this is being episode two thousand and nine. We're going to talk about what happened that year. I just have a few highlights here. Barack Obama was inaugurated, became the first African American president of the United States. The global financial crisis in Great Recession. Wah wah, yeah, more bank bailouts.
Speaker 1I remember the US passed a seven hundred and eighty seven billion economic stimulus package and I was like two, what seven hundred and eighty seven billion? Oh my god, now they're talking trillions.
Speaker 2Yeah.
Speaker 1Oh well, the H one N one influenza pandemic was pretty bad. Just warming up for COVID, just a warm up play. Yeah, not that anybody learned anything, but yeah, no. Yeah. And Iran there was a presidential election, protests, mass demonstrations after Mahmoud Ahmadinijad a return to power. Michael Jackson died, King and Pop m also Ted Kennedy. Oh yeah, that's right.
Speaker 1Interesting part of the on the.
Speaker 2Michael Jackson thing, there's a note about Google. There were so many searches for Michael Jackson on Google. They thought it was a DDUS attack and blocked them all. Wow, Like, let's not forget. I mean, I've got a lot of problems with Michael Jackson, no two ways about it, but a lot of people wanted to know when something happened to him, to the point where it stressed out Google. In two thousand and nine.
Speaker 1A shooter in Fort Hood, Texas killed thirteen people, became deadliest mass shooting ever on a US military base. That trend would continue, Unfortunately, the United States healthcare reform debate, remember that was going toward the Affordable Care Act. Eventually it became that. In twenty ten, the G twenty London Summit, world leaders met in London to coordinate responses to the financial crisis. They all sat around, sip in tea and saying,
Speaker 1well would you do mate?
Speaker 2They included Russia at that time.
Speaker 1Yeah, back when we liked each other.
Speaker 2Well we're attacking other countries.
Speaker 5Yeah.
Speaker 1Central Italy got struck with a six point three magnitude earthquake. More than three hundred people died, tens of thousands were displaced. The Tea Party movement came out of the closet and grassroots protests against government spending and taxation and all that. There's a lot of other things in tech and space that my friend Richard will pay homage to Richard.
Speaker 2Let's start with space, and I'll start with an interesting one, a particularly interesting one. This is in February an uncontrolled collision between an Iridium thirty three, the Irideum thirty three satellite, and Cosmos twenty two to fifty one. So the Cosmo satellite was a Soviet satellite that was no longer functional as of nineteen ninety five, so it had been buzzing around up there for more than a decade inert. Iridium was totally functional, but the tracking systems in two thousand and nine were just not that good, and there were usually hundreds of what they call potential conjunctions, and this
Speaker 2one ranked like one fiftieth and the closest approach was supposed to be no more than five hundred meters, which is awfully close, but so Iridium was aware of it but decided not to do anything, although there was a regular station keeping maneuver that was done a few hours before the collision occurred, and they probably regret that the two they were on a different inclination, so they impacted with a tremendous amount of force, generating eighteen hundred pieces of debris and changed space tracking forever. The US buckled
Speaker 2down with a fair bit of money to increase radar scanning of all objects in space, and we talked about those on the Data Centers in Space geek Couch just a few weeks ago that because the atmosphere expands and contracts on a routine basis, it affects the orbital rate of lower orbit satellite, so you have to go and actually measure them on a routine basis. And so since that incident they've done they do multiple scans a day. They also created a standardized messaging system called the Conjunction Data Message and distributed to all satellite operators on a routine basis that they are aware. They also have a
Speaker 2thing that called staged devaluation where if you're inside the error of probability for a potential collision, then they will spend more money to do a more detail scan to actually be more certain of where it's at. So this is a decade before starlink starts, which you've made it more advanced. And if you want to know more about that, go listen to the geekop. In June, the launch of the Lunar Reconnaissance orbiter are only supposed to operate for a year, but this is the vehicle that did all those detailed photos of the Moon. That's why we now have pictures of the Apollo landing sites and the footprints
Speaker 2and all that stuff. That starts with the LRO, which is a cool mission, and amazingly that's satellite is still in operation to this day. Was not supposed to last as long. But that's not my favorite part of that mission. My favorite part of the mission is because LRO is slightly overweight, they couldn't fly it on a delta too, so they moved it up to an Atlas five, and the Atlas five had so much more capacity they had room for an additional mission, and that mission was called l Cross and what it was was can we prove there's water on the Moon. And the way to do it was to use the second stage of the Atlas five,
Speaker 2the centaur stage, as an impactor to actually fly it into a crater, the Sabus crater, in which is a continuously shaded crater where they believe there was water ice, So it would kick up a plume of debris which should have water in it, and falling right behind it was a sensor array that would do spectrographic analysis of it and report that back before it too. And this isn't the words of the engineer Ron Andrews. You developed it reach the Moon with vigor. There had been a
Speaker 2whole campaign to aim satellite to a telescopes at the Moon maybe see the impact. It wasn't ultimately visible, so that didn't go off to go well. But the experiment worked and they measured a bunch of radical hydroxyls and water from that plant. Wow, the most coherent proof ever of on the Moon. That was in October two thousand and nine. In September, the Messenger satellite, who was doing flyby as Mercury does its last one. There are five Shuttle flights, which is a lot and considered this is two thousand and nine. The last Shuttle flight will be
Speaker 2twenty eleven. So Discovery delivers the last of the solar arrays. Atlantis does the last non ISS mission, which is a mission to Hubble. This is the final repair of Hubble in two thousand and nine, and now Hubble is very much struggling. Also in May, so used TMAS fifteen brings up another crew to the ISS. From that point on the ISS will have six people on board. That's in two thousand and nine, and then the rest are our Japanese experiment modules and Leonard modules and additional cargo carriers.
Speaker 2And in November Atlantis will do the last crew rotation by Shuttle. After this it'll be so used because they're going to retire Shuttle and eventually crew dragonably flying. But it's not there yet because in July the last flight of Falcon one there were only five. This is the fifth and final. It actually put a satellite into orbit, the Razak Sat. The launch was perfect, it delivered it to the correct orbit. The satellite failed after a year. Oh one more space thing in May, the Spirit Rover. So there were Spirit and opportunities rovers about the size
Speaker 2of golf carts. They were supposed to last ninety days. They lasted thousands. Yeah, so Spirit it was the first to go down, and this was in May. It got stuck in soft sand and it tilted at a bad angle, so it didn't get a lot of sunlight, and so it couldn't move anymore, and bit by bit each night you had to run the heaters to stop from freezing, and then during the day wouldn't quite get enough solar power and by twenty ten it'll run out of juice. It we'll have the last communications of spirit OPPI will last longer.
Speaker 1But thousands of days. Talk about underpromising and over delivering.
Speaker 2Huh, yeah, you know when one would argue where they overbuilt. But yeah, they were amazing machines. And what happened. The reason for the ninety days was they figured the solar panels wouldn't work as well, but dust would eventually collect on them and that would have gradually generate less less power till it couldn't keep themselves warm anymore. We didn't understand the dust devils on Mars that on a routine basis, when properly positioned, these little zephyrs pick up in this very low pressure environment and clean the solar panels off. Wow.
Speaker 2But over the course of that time, they learned enough about them to know how to set the rover up have the best chance of having its solar panels cleaned off, and so they just kept going.
Speaker 1I think that was the God of Mars actually something looking out for something.
Speaker 2Also December, the first flight of Boeing's seven eight seven, a very troubled aircraft developed carbon fiber higher pressures, uh, litium batteries that caught them fire, but doors that blew off over them. Yeah, they had some challenges over on the computing side. And this can't have anything possibly to do with the financial crisis going on in two thousand and nine. But in January, the very first bitcoin block was mined. Yeah, Nakamoto did what it called the Genesis block, and in the comment on the block, it was about
Speaker 2financial bailoads. That first block course generated fifty coins. He then distributed those coins to people who were downloading the software and starting their own money in the Microsoft space.
Speaker 1The story with bitcoin today is that there's no more that can be minted right.
Speaker 2On the original system. But they've they've they schismed the bitcoin system into two different models.
Speaker 3It's complicated. Is it efficient even to mind them now?
Speaker 2No, it's not. And you know, and if you're gonna if you've got GPUs to burn, you're gonna be running AI models instead.
Speaker 3Yeah, there's always some place to put i'd there.
Speaker 2Yeah. Well, in on the Microsoft part of the world, in March, we get MVC one point oh, after many years of gestation. It's distributed via CodePlex, so not via Studio. Yet that's still a year away, and they put it out on this thing they called the Microsoft Public License while development is still ongoing at that time. And I'm sad that the coplex is down so you can read this message. But they started, they were still working on it, even though they got to one point. Oh they started building a dom tree diversal tool because they needed one,
Speaker 2and the community freaks out and says, like, what are you doing. We already have jQuery, We're all using it, Like you don't need to build this, And remarkably, for two thousand and nine, Microsoft listens and stops and starts using jQuery and will actually ship jQuery in the box in Visual Studio twenty ten.
Speaker 1We know some of the people involved in MVC, don't we Oh we do, Yeah, we all do. Most of the people involved in that involved in on dot net rocks.
Speaker 2I don't.
Speaker 1I an.
Speaker 4I had to rewire my brain for NBC, but it was so good once I did.
Speaker 2Which you got it? Yeah, you understand the pattern.
Speaker 4I really, I admit, though I didn't get it first, like, oh, it's just the separation of concerns, got it right?
Speaker 3It took me a while, it warn I guess I wrote to Buch spaghetti.
Speaker 1No spaghetti code right. Yeah, we were used to ASP, which mixed code and mark up together. Arguably Blazers kind of kind of like that. But it doesn't have to be.
Speaker 2You can do with discipline or you can do it with tooling right one way or the other.
Speaker 3You try me better code.
Speaker 2I interexplored relationships in March. In May a game is released called Minecraft.
Speaker 1I've heard of that.
Speaker 2Yeah, there's only two thousand and nine. In June Bing, I'm not going to say any more in that all right. In July, also out of Code Plex, I just love that alone. Just gonna leave it. In July I also do go Plex Silver like three, the first of the out of browser editions of Silver, So two was the first version actually had dot net in It was a modified version of dot Net three and also ran on the Mac, but only the Intel variant. Right now we're up to three, and now you can actually not even run into the browser. In July, compu Serve shuts down.
Speaker 2What the heck is compu Serve. It's like, it's what the internet was before the Internet.
Speaker 1It was awesome.
Speaker 2Come on, man. At the time, I went straight to I r C. The fact that it was still running in two thousand and nine is baffling.
Speaker 3I had is P and I r C. I was, I was, Yeah, you were happy.
Speaker 2And in October Windows seven or is most of us knew at Vista SP two ah a beloved version of Windows without a doubt. Yeah it was.
Speaker 3It was fantastic.
Speaker 2And finally in November at the PDC in two thousand and nine, the second to last or the penultimate PDC. This is the one they with the catchphrase three screens in the cloud, right, it's your PC, your tablet and your phone and or or your.
Speaker 3It was like the ray AUSSI time.
Speaker 2Yeah, this is the reality of time. Or I don't think it was the x Box. We're not going to get the iPad till next year, so it must have been the ex buming Room Xbox.
Speaker 3Yea.
Speaker 2It's also when they announced app Fabric and will later repurpose the name Fabric for something totally different. They did announce a product called Sequel Server Modeling Services. Does anybody remember the code name? Code name, code name? Oh yeah, yeah, And we see the beta of silver Light four. They start talking about I E nine and hand everybody out an easter tablet with their names on it.
Speaker 1I just remember that episode where Don Box and or Chris Sales came on and we're like, well, what happened O Slow?
Speaker 3That was yeah, I remember, m yeah.
Speaker 2Yeah. At the end of that show, Chris says, you should let me know when you're going to publish a show so I can warn pr And then in between the time that we recorded, because it was during like the long weekend where we recorded a whole ton of shows. Yeah, and at the end of it and the end of it, we just scrapped it because it got canceled. Yeah. You know, they may have announced it at PDC, but it didn't ship, and so there was no reason to do that. So I just went away. It's a lost show except for our amusement. And that's all I got to say about that.
Speaker 1All right, Well, let's do this a little bit. We call a better no framework roll the muse awsible. Alight, man, what do you got? I found an appropriate trending repo on GitHub and it's actually just an MD file. It's called design dot MD, a format specification for describing a visual identity to coding agents. Design MD gives agents a
Speaker 1persistent structured understanding of a design system. So it combines YAML machine readable design tokens with human readable design rationale. Marked down tokens give agents exact values pros tells them why those values exist and how to apply them. That's pretty cool idea. Yeah, so the spec is there. We'll link to it on in the show notes. And that's what I got today, Richard, it's excellent. Who's talking to us?
Speaker 2Grab a comment off a show two thousand which I thought was particularly relevant to the conversation we're about to have. This is from oz Bob, longtime listener. Yeah, and he said, I really appreciate Richard's list of un sexy responsible stuff for the IT industry. How are you going to test it, deploy it, tell when it's wrong, and go back in and fix it all? Paraphrase from episode two thousand. Thanks like it's like this, keep us all coming back and Carl looking forward to track twenty three.
Speaker 1Oh yeah, going to work on it this weekend, I promise, you promise.
Speaker 2Okay, but yeah, we're going to talk. You know, at this time, when our methods of development are so disrupted, I think it's super useful to go back to those fundamentals about do we have the requirements and know what people actually want? Do we know how are we able to measure when we built what they've asked for? Can we evaluate that effectively? Can we get it to them in a way that you can use it? And can we know when things are going wrong and have a mechanism for fixing it? Because they are pretty core skills and it doesn't matter what the tools are, you still got to do these things. Yeah, Bob, thank you so much for your comment, and a copy of music co Buy is on its way to you. And if you'd
Speaker 2like a copy of musico buy, I write a comment on the website at dot rocks dot com or on the facebooks. We publish every show there, and if you comment there and I read it on the show, we'll send your copy of music Goba.
Speaker 1Music to Coobi is a collection of twenty two twenty five minute long tracks designed to keep you in a state of flow while you're writing code. And if you just want to go get it, go to music toocodebuy dot net and you can get it in MP three, flak or wave formats. And with that, let's reintroduce Paul Yuck or Paul Yucknowitz. He's product lead for Servilus Platform as a Service and AI builder and building AI infrastructure for humans and agents. Jan Collis is a product manager
Speaker 1at Microsoft's Core AI Group, helping developers build, run, and scale cloud native and AI powered applications. Hello, pleasure to have you guys on today.
Speaker 3Hey, thank you. Yeah, we are so excited.
Speaker 6You know, it's funny that you invited us to a two thousand and nine episode because I'm also big electric vehicle EV geek, and in two thousand and nine, Tesla and unveiled the Model S and Nissan also announced the Leaf, so I thought, hey, that is a perfect episode for us to join.
Speaker 2A really cool you know they. I think the Leaf was the one with the unmanaged battery pack was a modifiers that gave EV's a bad name because those battery packs failed.
Speaker 3Thermals.
Speaker 2Yeah, they had the thermal problems where the ass had the managed battery pack and that made all the difference. You know, some of those old battery packs are still just running fine, hundreds of thousands of kilometers of lifespan.
Speaker 3I remember the.
Speaker 1First ride I took in a models. I think it was our friend from Holland was rem Remy. I think Remy had a model ass and that was the first test that I ever took a ride in and I was not only blown away but pasted to my seat. Wow, they could scrape me off the seat fast enough.
Speaker 2What All right?
Speaker 1What are you guys thinking about these days?
Speaker 2All right? Work?
Speaker 4Yeah, I can jump into a little bit. So you probably know me a lot from functions. You know, our serverlest event driven apps thing, and I work a lot on that.
Speaker 3I worked just.
Speaker 4In general on PAZ and we spent maybe a year ago, if you asked me a year ago, we were working much more on the infrastructure, Like we wanted to know compromises infrastructure for functions so that it was truly serverless consumption billing with just a ton of scale and having all the things that the enterprise just need like v net and private endpoints and all those sorts of things. We really had to like rebuild that thing from the ground up. And then and then we got to the point that I kind of call the no compromises serverless So.
Speaker 3I'm happy about that.
Speaker 4And we shifted our focus to the programming model, just thinking about like, hey, with AI, we have to kind of transform ourselves to have the right I guess Jan you said the right programming model for humans and now for LM's coding agents. And it just seemed like the perfect time to work on, Like, well, what if you didn't just program apps in programming languages, whether you know C, Sharp, Python, etc. What if you could do it in English? And the
Speaker 4tech I think had finally gotten there and the models had gotten there where that was realistic. So we're like, what if just marked down right, could you write an event driven app and marked down set an objective and it's not a chatbot, like, really have an automation that has a job and has a goal and could build it. And so that's when we kind of sparked. It wasn't just me, it was Anthony Chu and some other folks, but we we sparked these service agents, which is basically it must have marked down, you describe what you want.
Speaker 4You could think of it as a skill, or you could think of as a full blown agent workflow. You can write it down and deploy that with or without code, and we will run it on that same serviles infrastructure, but run it as an agent. And so that's you know, the one of the main things we worked on was the service agent. We also at the same time the Connectors team. Have you guys brought on connectors Have you talked about that?
Speaker 3Yeah?
Speaker 2I have to talk about them on the run ass because it's most as you know, folks working in the power app space and things that are heavy in connectors.
Speaker 4I would say like I rediscovered connectors, and you know, we work on functions, so we have our own triggers and bindings, but connectors I just found defeated some of the really hard problems with off the networking. Like you can you can sign in with your identity, but that could be a persistent identity that can run unattended. And that's huge when it comes to agents, because you're not just building chatbots, right you need these things that'll run on a timer, that'll run an event driven way, and just need to keep running and they can't stop running.
Speaker 4So Connectors turns out just had absolute superpowers for that, and they also run in the right tenants and on the right network. So we partnered with the Connector's team, which is like kind of inside of Microsoft more private Logic Apps team, and we found a way to get just the Connectors exposed as a resource directly nice and they do it through a leaner resource they call connector namespace. And so with the connector namespace, you can take that just the connector and kind of bring it into us,
Speaker 4like whether it's a sandbox that Yawn works on or as your function. Just glue those two things together. Now you have like your your connector are kind of the nerves. Your compute is the brain. And together you can just build some pretty kick butt agents.
Speaker 2And when I think connectors, I think about like ways to get the sales force and yes services that I don't want to build any.
Speaker 3Of that, Yep, totally.
Speaker 4You don't want to slay it for sure, right yeah, so you don't want to build any of that, and it solves the hard off problem, i'd say for each one. So there's like roughly fourteen hundred connectors. You can't think of, whether it's salesforce, SAP, I'm three sixty five teams COUSTO. Each one has its own like universe of off and issues.
Speaker 2Like I said, it's it's in the end, it's just an API. But it's just an aation problem.
Speaker 4Yes, and that is and we know this like it's it's it can be easy to write an agent and to kind of if you can express your idea, you can write an agent. But the off is really where people fall down, like getting that prod shape. You have to solve the off and that's where connectors, I think are huge. So another big part of the story was bringing in connectors to help us build these serverleist agents and round out the whole thing. And that's what I've been up to and you've been in another parallel yon it.
Speaker 6Yeah, but also with the connectors, I think there's one more thing to know, which is the connectors also support trigger, so you can literally do even triggering. If something happens on in the destination, in your gyra or in your form's form or in your teams, it will trigger some action automatically and you don't have to worry about managing that because it is just defined as easily as the connector. So I think the connectors are really really super powerful.
Speaker 2And this is like an asynchronous trigger. It says, hey, if this guy fills in this form, also go stick this data in the ERP system over an SAP for me think in the right way.
Speaker 4Exactly right, it's it's it's it's so we have a little bit it's it's the illusion of serverleists, but we always have something that's running just a tiny bit pay for it, right, But it's it's basically a listener. So whether an email comes in, a team's message comes in, a SQL database gives a change notification, an SAP record changes, we are always listening and doing that change tracking, right, and that is enough to then go trigger something else async, like let's go have this code run whenever that event fires.
Speaker 4So it's like just think of as like distributed event brokering. That's really what it is. And we have just a little tiny bit of compute that's always listening for that.
Speaker 2Yeah, I'm revovantly aware that when we say serverless, what we mean is Microsoft owns a server yea by utilization rather than yes, which is good enough, Like I don't want to own it. I'm exactly if I'm wrong, but I think I heard at one point it's like, hey, fundamentally logic apps is hidden Kubernetes infrastructure that you just don't need to own.
Speaker 4Yep, yeah, you don't need to. It's like the operationless maybe that should be the word operation less. Yeah, we automate a lot of that stuff.
Speaker 2Yeah, because it's it's repeat like he for so many workloads around just needing to do a unit of compute whatever it may be. It's the same stuff over and over again. Like you don't need to own any of that. There's always going to be exceptions like I don't go for pure anything here, yep. But the more stuff I can write once you've committed down that serviles path. And I think this is more from a licensing model, like once you get committed to owning that kind of license, just a whole bunch of work, you don't need to think about it anymore and can granularize on its own.
Speaker 6I agree, Richard, and I think this brings us very seamlessly to as your container apps, because that is truly your serverleus container service. And we also have consumption buildings so you don't even have to own the license or you're not paying when your container isn't running right, So right, it's it could be very effective and easier compared to bigger Kubernety solutions, and we see that many customers actually
Speaker 6benefit from that solution. We've originally announced it in twenty twenty two, so it's like four years, four years old, and this year we are super excited that there are actually two new things which I think will rock everybody's everybody's body because the one is the new iteration of Azure Container apps and it' especially with how easy it
Speaker 6is to provision, how fast it is to provision, so it's like sub minute provisioning. But we've heard from many customers, including myself.
Speaker 3Who need to improve.
Speaker 6Zero to one scaling because, as I mentioned, when your solution scales down and somebody pinks, let's say you hosting a solution some API connector or maybe AA website and somebody pinks that website, they not wait twenty seconds for the thing peat or.
Speaker 2Right.
Speaker 1I was going to ask if that delay is still there.
Speaker 6Well, and this is exactly what we are excited with with the ACA Express because we are getting this to roughly one second, one and a half seconds. I built some like crazy container. I'm a keen photographer and so I always wanted to kind of move from the SaaS photo gallery into building something on my own and kind of hosting it on ACA, and now I finally can. So I have included all the photos in the container.
Speaker 6So the container is like a half a gig like five hundred megabyte container and it literally scales out from zero to one in around second and half.
Speaker 2So that's amazing. I love it so great.
Speaker 1That is amazing.
Speaker 3That is amazing.
Speaker 6And so the magic behind the scenes is actually something that is called Acasure container apps sandboxes. That's this like a new construct of compute that we have built both for humans, for you all, but also for the agents that you all build and roll out, so agents can spin additional sandboxes and securely execute code. So happy to talk more about that as well.
Speaker 2Well, let's take a brief break and then I want to dive into these sandboxes.
Speaker 1Yeah, it's a good time, and we'll be right back after these very important messages.
Speaker 2And we're back. It's on New Rocks. Amateur Campbell. Let's call Franklin. Hey, Hey, Hey, hanging with paulin Yan here talking a bit about well, we're talking a lot about Azure container apps because obviously they've evolved as sort of a little more hands on server lists, right, Like logic apps is one thing, but here are container apps where we have a little more granular control, a little more tunability, and I mean we certainly started from the zero to one problem because often I have work clothes don't run very often, so often you're going to come from cold from that. But I don't want the cost any of anything,
Speaker 2but the other side of this coin's got to be and then I need one thousand of them.
Speaker 3You have two thousand of them.
Speaker 2And will be three thousand next second. Please Yep.
Speaker 4The zero to one cold start costs us too because to give it, because to get that little latency, what we end up having.
Speaker 3To do is hot pull them, right, and that's not good for.
Speaker 2Anyone that's bits in use.
Speaker 4Right, Yeah, that'd be like having a pool of warm placeholder compute micro vms that are ready to use. And we've taken the hit of zero to one cold start for.
Speaker 2You, which I mean, looking at your current financial statements, I'm okay with you taking the hit.
Speaker 3Yes, yeah, I get it.
Speaker 6But we shouldn't do it right because there is a better way to do it.
Speaker 2And okay, what's the better way?
Speaker 6Well, so the better better way is the solution that we have announced at Microsoft Build now is so called as your Container Apps sandboxes. And these sandboxes are micro VM style compute where your code is running isolated from the main application.
Speaker 2Uh.
Speaker 6And the cold start is super fast because of the micro VM. So think about it as as if we would like a snapshot the image of the VM, right, and then when the v when when the sandboxes is called, uh, it's a second or subsecond. And so imagine in a second you can have a dot net ten image running. Like literally if you go to sandboxes dot measure dot com and you create your own sandbox and choose dot
Speaker 6do ten, like literally, within a couple of seconds you're running. It's just it's not just the disk, right, it's the memory too, exactly.
Speaker 2And so the snapshotting.
Speaker 6And that's really good point because many times these sandboxes, or we had some offering that were that was called dynamic sessions or session pools that was mostly for like a code interpreter. So think about let's say.
Speaker 2BING.
Speaker 6So somebody on the BING or the co pilot asks, hey, can you do this math question? And so the l M isn't the one who's calculating that question. The l M creates a Python script that calculates the math question, and then that Python script has to be executed somewhere, and you don't want to run that Python script next to your main application, because like, who know what the the LLM sneaked.
Speaker 3Into interesting point?
Speaker 4Right Yeah, and even it's just the ultimate noisy neighbor, right, it could take down your pert too, even if it's not hostile.
Speaker 2Well, and it's just you know, now you're doing dynamically generated code. You should keep that in a tidy little box away from everything that's important to you.
Speaker 6What could possibly posher? Well, it runs on my dev box, so what's the problem, right, and and so yeah, that's that's the that's the potentially hostile code problem. But as as as Paul said, we also solve the noisy neighbor problem that because we give you the uh, the.
Speaker 2Entire micro VM.
Speaker 6So you define how big the VM is, how many v CPUs you have, how much memory, and it's it's yours. The the the power is there. But also more importantly, what we were hearing is that customers are as they getting more mature in AI, they're getting deeper into or they would like to build also AI infrastructure that runs some low some long running tasks. Right, and that's why we have introduced what Paul alluded to those snapshots or
Speaker 6ability to snapshot this sandbox and that includes your disk and memory as well, and so you can you can either programmatically trigger it or automatically, let's say in after five seconds, after five minutes of inactivity, it will be automatically suspended, so you don't pay for the compute. And yes, it will commit some image on the disc and then when you when it gets the ping from the outside, it will wake up or you can programmatically wake it up.
Speaker 6So there's a lot of benefits that this.
Speaker 7Uh.
Speaker 6A lot of our customers when they saw this opportunity, they are actually packaging, they're AI agents in these sandboxes.
Speaker 1And are you waking up in a couple of seconds as well?
Speaker 6It is subsecond. Yes, the wake up from the snapshot is super it's super quick. It's you gotta you all got to play with it. You can go to it is insane. Yeah, it is insane.
Speaker 3I think think hyper V level strength.
Speaker 4But with the suspend and the stop that is like you know a second and then sub second, it's.
Speaker 3It's just wild.
Speaker 2And I'm also thinking about and we've gone down the container path, so I can give an identity to this agent which has very strict restrictions on what it's cable crient typically read only, so it just can't damage any data if it happens to go off on its quirky little way, but it can get to things.
Speaker 4That's right, you think like internally it doesn't even have the identity it gets. It gets policies on externally on what identities are egress it can actually do.
Speaker 3I'm sure you.
Speaker 6Yeah, it has very detailed egress policy, so you can, for example, say I want I am allowing you to access these websites, but not these websites. Yeah, there's also one very neat trick when you mentioned the security. Yes there is a managed identity because yes, it's a first class asure resource. So you can use manage identity to when you're egressing from the sandboats, when you're sendbooks for example, calls back in database or some storage account on measure.
Speaker 6But what is super interesting is that when you're calling an l l M, typically people are used to how do you authenticate against the l l M. Well, the smart way of course if your if your model is in foundry, you can use manage identity or many people would actually use the the apike right to authenticate right into into the l l M. But do you want to give the API token to the l M or
Speaker 6new you don't want exactly exactly, And so there is this smart transform rule in the sandbox in the Sandboxes gateway that Liz lives outside of the sandbox that can automatically automatically inject this secret on the outbound out bound call, so exactly based on the identity and based on the destination. So it's kind of sweet.
Speaker 1Since I've been doing security this week with Patrick and Dwayne, I've become a lot more evil minded in terms of how can I, how would I hack this?
Speaker 2Or what? You know?
Speaker 1What are the vulnerabilities and some of the a lot of the stories that we're seeing now. One of them in particular, says that stealing identities is now the core focus of ransomware and hacks. And it's not keys, it's not passwords, it's none of that. It's identities. The other thing that comes to mind is just because you've given your agent read only access doesn't mean that it is not hackable. And here's here's a perfect example. And I wouldn't know how to go about hacking it, but all right,
Speaker 1so it's reading from all these things, and it has some knowledge and somebody could just ask it for that information that it has read and maybe some of that information is sensitive information. And so if somebody can figure out how to ask it for that information and get it, it's not writing anything, it's just reporting something to somebody who doesn't sharing it inappropriately, inappropriately deserves to see it.
Speaker 6And what is also important, and this is the exact Actually it's funny because this is exactly the use case that our that you're seeing from our customers, both from the commercial and education space, where for each either student or employee or consultant, they build a sandbox with running agent inside, but they bring the minimal amount of data that is required for that specific conversation, for that specific topic.
Speaker 6So I think that that maybe the two ways how you would think about designing it is that yes, only the right people can access that certain sandbox, so nobody else would be allowed in that conversate in that other sandbox, and to just pull in the minimal information needed to be able to answer or the question or solve that problem.
Speaker 4Let me throw in a bit too, without you know, getting too much into how to hack it, but like some best practices, I'll throw in and I'm sure we know this, but I'll just say it because when we're sick of hearing it is probably when it really sinks in. But like, we don't want to give any like password secrets and even tokens to the LM that puts it in memory, like you're saying, Carl could put it in history, right, and that could be kind of fetched. In a token, it's easy to get lulled into thinking a token is
Speaker 4in a wanth is better than an actual secret. But really, if you can, if you can use it and X fill it from the machine and use it in a different context, it pretty much is a password. So the best thing you can do is like just limit the token scope to as little as possible, as short time lived as possible, don't put it anywhere, and definitely don't put it in the LMS. And then I think another thing to like went in doubt, like you would rotate a secret or certificate, rotate your tokens, and all you
Speaker 4literally have to do is like sign out of everything. So sign out of everything, signed back in. That's kind of a practical defense against these things. And and John, I think we've built these best practices really into the sandbox design, right, So these things aren't going into memory. They're not anywhere on disc orant memory.
Speaker 6Can get They talked about the transform rule, right, that's why we have managed identity that the Sandbox group has, so you can use those constructs.
Speaker 1It may not need to be said, but you know, a thinking person would say, Okay, well it's got this history, maybe we should do we need this history? Do we need this context after we're done with a transaction, maybe we should just delete it, you know exactly.
Speaker 6And that's the beauty of the sandbox because literally, if you don't need anything that well, once the data have been uploaded to the destination or handed off to the main agent, then the sandbox can literally here, yeah, taking down everything, all the memory that it had, and so it's gone.
Speaker 4And the disc is more your long term memory right now, your files on disc or or your connector is or your data ledger, that's kind of where that stuff lives. Yeah, and then and then you just want to lazy load that. That comes to a different issue of like, you know, how do you how do you keep the context window lean?
Speaker 1Yeah? Good stuff, guys, And you know it's also glad. I'm also glad we're talking about all the security stuff because.
Speaker 2I'm going to include a linked application identity that did on run ass because you're going to bump into your Azure administrators when you go down this path. So if you lead with I want to use managed identity, they will freak out less. I'm only saying less because I've spent enough time with these and it's just a hard job, right, Like they're scared, and then you throw the word agent into the equation like they're going to be super nervous.
Speaker 4So I hope actually even the word sandbox doesn't get them nerve us because maybe that's getting them thinking of like, oh, this is a scary place. But the idea is it's like you're containing. Yeah, it's a containment, right, because prison.
Speaker 2Seemed a little severe.
Speaker 6Yeah, that's why we didn't want to call it.
Speaker 2I've got these, I've got these container app prisons for you.
Speaker 1It's my JavaScript prison in my browsers.
Speaker 6So we are just working on the icon, and you guys gave us another idea because somebody was just joking that, hey, bars on it.
Speaker 2Exactly, let's let's put bars on it.
Speaker 6Because somebody literally like vipe uh generated a icon that has the server and half of the server is literally a sand box with a shovel like a send books for kids with the shovels.
Speaker 3Right, we thought that that would be funny.
Speaker 2But yeah, I'm.
Speaker 4Gonna lobby again to just the kinds of security show when you bump into your I t AD and show them the connectors too, because the easy thing I think people try to do today is there's an API. You know, l ms love API, apps love APIs, and you get a pat token or some kind of token API token, you talk to it. But with the connectors, you eliminate that. It's only your sandbox managed the connector. The connector was set up, can be by the admin externally and it's just that.
Speaker 2Well, and that's the point is then the governance of it, of its privileges are by the administrators. You will never see it as a developer. It's not up to you at all. Route through the connector. Then they can they ate all the telemetries captured by them automatically it shows them and perview shows up everywhere, audits. They can shut it off at any time. You know, they've got total control over that. It'll naturally it runs inside the context of the monitoring system. So if you get an over over rate, too many calls or inappropriate calls, it'll throttle it or add additional authentication requirements, like there's all kinds
Speaker 2of safety mechanisms that it doesn't have to talk to DEV about. You're going through the channels that are already managing hundred percent.
Speaker 6And this is like a very quick demo that you can do. If you go to sandboxes dot azure dot com, you can create a sandbox with a co pilot or cloud code, and if you add a work iq aka your access to your calendar connector as Paul mentioned, you would authenticate, so all the communication to that goes through your credentials and then within a couple of seconds the sandbox is on. You run your copilot and you ask it to summarize your calendar, and wow, it can do it.
Speaker 6And because goodness, those M three C five copilot can't. Oh wait did I say that?
Speaker 2Lord? I apologize? Wow, no, okay, you lost me. Now I'm going to be hanging out in sandboxes dot azure dot com for a while.
Speaker 1And after summarizes your calendar, does it forget your passwords and credentials and all that stuff.
Speaker 6Well, so these credentials are cased as a part of part of the connector, and so of course if you remove the con collector, that can be it can be removed or because it's a it's a standard intra authentication right that it has.
Speaker 3I think it's easy.
Speaker 7Yes, the sandbox forgets the sandbox doesn't even correct because the sandbox Yeah, because the sandbox accesses that connector through that managed identity, and then the connector swaps out the identity for for you for for.
Speaker 6Like yeah, as as meccoring my calendar. Right, so the sandbox never had your original identity.
Speaker 1Would you use key vault for secrets like that?
Speaker 4I would use key vault as a last defense when you can't use identity. Okay, so more often than not. Yeah, So I would say, like, use use connectors because connectors even with third party like to Microsoft, SAP is third party, but the connector can manage that for you. So and then you just deal and managed identity.
Speaker 1Yeah, so your identity has access to all your stuff and therefore the agents to Okay.
Speaker 4But there I mean there are times you just need a pad token even with get or what some third party things you're going to use, or maybe you have a legacy system and then yeah, key volt is perfectly fine, use the key vault and then rotate, set up an auto rotation of what's in the vault.
Speaker 2But normally, if you're going through connectors, there's nothing to put in keyvolt.
Speaker 1What if you're not an M three sixty five. What if you use Google products?
Speaker 6You know that connector as well?
Speaker 3We have a connector for that though.
Speaker 4Yeah, so I just like went end out this is and I've reprogrammed my own brain even as the functions guy like use the connector if you can, Yeah, make see if it has the API surface you need, and then only then like kind of by exclusion, go.
Speaker 3To the API after that, wow, and use the key volt.
Speaker 1So this isn't just about code obviously, it's about accessing your resources. It's about basically doing what open claw promised, right, just sort of having like an employee that you can give access to an agency to go do things on your behalf.
Speaker 3Yeah.
Speaker 4Well so that's I think that's the sample I shared with you guys, the M three sixty five kind of brain one that it really just shows that you could have whether it's an agent or even it's just an app. I want an app that runs every Thursday night and runs a report and does these things for me. Like either way, it's it's just got all these nerves into like so many systems. It's a it's a great integration source, and then it's just your logic that runs over those things.
Speaker 2Say, my problem with container apps up until now has been oh, it's the training wheels to Kubernetes, and that's not what you're talking about at all. What it is is a much easier way to get to as your resources securely. And now when we throw in agents to this equation, a way for me to tinker with what agents can do for us without tearing o, you know, exposing the whole organization.
Speaker 3It's less of a foot gun for everybody.
Speaker 2Yeah, it's rocking.
Speaker 1Sweet. You seen this Ad Richard or the hockey players that are missing teeth and they're trying to find a doctor a dentist online and they're saying, sweet, really sweet. Your office is right around the corner from here.
Speaker 2Must be a Boston thing. Oh no, all right, guys, this is very cool, and it's just like, hey, if you haven't looked at casual container apps in a while, you need to look at what sandboxes can do for you, what Express does for performance, and just a way to think about the architecture of your agent apps, getting much safer access to resources.
Speaker 3And I would look into these serverless agents too.
Speaker 4I'll just plug that so you can kind of write more more stuff in English and then code is there when you want code or you want guardrails.
Speaker 6And actually it's it's actually maybe really interesting to say that if you want to build very quickly, if you maybe if you looked at the Microsoft Foundry you're building your agents and foundry then foundra has a notion of hosted agents. And this is another technology that is on the back end powered by ACA n boxes, so it's kind of the same technology on the back end.
Speaker 3I was gonna ask you Kipps talk about that, like with.
Speaker 6Some additionals to it, with some additional value that comes from Foundering on top of that. Another another product that uses a c S in boxes internally is a co pilot for mostly for code execution, as I mentioned before or the most recent that I really love and because I love my gid hub co pilot CLI, and so now I can say co pilots desh cloud and what it does it launches a sandbox, the ACA sidbox and
Speaker 6runs your session in the cloud.
Speaker 4So if you have to get hub copilot app, yeah, yeah, they all use that substrate. I think this is a cool kind of story too. This wasn't tech searching for a problem. We had these problems early on, like hosted agents running multi tenant have to be fast enough.
Speaker 3Same thing with GitHub sandboxing, and so ACAA sandbox was born first to solve those and then we productized it.
Speaker 2Right, you recognize the value external yep, not just internal.
Speaker 3And we've also been you know, we've been beating it up meanwhile, hardening it.
Speaker 2Sure. Yeah, you didn't write it for us. You wrote it for you. Your people beat the snot out of it. Now we're allowed to play with it too.
Speaker 1I also want to mention that I know there was a lot of concern among people about the cost of you know, using copilot, and you know, tokens went away and now we're on AC units.
Speaker 2I think it is right.
Speaker 1At AI credits, right and how much those cost? And so according to Jeffritz who is Microsoft Y one hundred, Azure AI credits cost one dollar.
Speaker 2Is that right?
Speaker 1I think it is. I mean it came from a Microsoft guy. So so basically, when you're in copilot CLA, I know you guys don't worry about it because you have corporate plans and.
Speaker 4It's a that's a good approximation. I'm not going to call actually that the other's it's it's a mapping.
Speaker 1So when you're when you're you know, in a session and you've got five hundred you've racked up five hundred credit uh used ai credits five bucks. Yeah, so that's important to know anything else you guys want to talk about before we hang up? I mean blowing our minds already.
Speaker 3I'd actually just like.
Speaker 2The word I just like the word hang up, hang out, well up, get.
Speaker 4Your pai, Like, what are some use cases this is kind of opening up in your minds or ones that we should be thinking about.
Speaker 2Oh, you know what I want to do is just look at the shopping list of connectors. Yees say, you know, Carl's not wrong. This might be open clawed, done right, done right, where for me with more knowledge can go through the connector and go, oh, well I've got data there, and I've got data there, and now I can start tinkering with an agent poking through that saying, what can you see? What can we do with this? It starts it's always the conjunctions of different data sources. They get you the real remarkable outcome. Yeah, so yeah, go through the shopping list, like you said, fourteen hundred connectors. I mean,
Speaker 2we're not gonna trum all at once, but you know, go look at the products that are in your world.
Speaker 3Fours.
Speaker 1That's my wife, Kelly. My wife is is currently using Windows co Pilot to do some to do stuff that helps her with her job, which is running my businesses. And we're working with accountants and things, so we need to convert PDFs to spreadsheets and upload them and that kind of stuff. And she's she's created a nice little anthropomorphic relationship with her agent and gave him a name and everything, and she talks to him and it's great.
Speaker 3Nice.
Speaker 1Richard's going, Oh where have I feel? But you know, it could do so much more and be so much more secure. So I think this is a great, a great way to get get some of that stuff.
Speaker 4And I think, like you're saying, too, you compare this with an open claw, like this is this is turning the lights on. You can see what it's doing. You completely control what it's doing. It's it's your subscriptions, your accounts. It's so I think you'll enjoy that part.
Speaker 2And every one of those calls through connector is a security boundary and a governance boundary and a logging boundary. You see what's going on.
Speaker 1Yeah, I love it. Awesome guys, guys, brilliant work. Well well done, sirs. We discovered right, you just sort of saw the potential and the thing you were fixing for for co pilot.
Speaker 3We'll have to come back and see the built there was.
Speaker 6There was one more thing that I wanted to mention because I know that many of you might be still running some net framework apps. And since we talked about MVC UH one, there was this this great app that in old days was built, the NBC Music Store, So maybe many of you have that's classic.
Speaker 2Wow, I remember that's classic, exactly.
Speaker 6Exactly, And it's so funny that many many of customers, many of many of your listeners may have like applications relying on these technologies and if you want to modernize them, bring them up into asure and deploy them to just easy deployment through BICEP or infrastructure. As a code you can use the GitHub modernization or at modernization that is actually built into VS and it's also a plug in to VS code, and it will help you not only
Speaker 6transform that dot Net framework four five whatever it was, into dot net core ten, but it will also help you solve all the on prem constructs that do not apply in the cloud world. So it's actually a very easy way how you can modernize your applications. And the reason I'm mentioning it, I was breaking on a demo and I thought, well, it would be great to revisit that, and literally I took that store and in a half
Speaker 6day it was running in Asure. Forget the on Preme Seco, it was running in Azure, Seguel and on Aca. And I also reskinned it on the way way up there. So wow, quite easy to do these days.
Speaker 4You actually you nerds swipe me here, So now I can't stand it. But something music store in migration, I spent a lot of time doing that too. I'm gonna go Martin Fowler on you. You can do the strangler fig pattern too, because like most real migrations aren't done in an afternoon with a beer like they.
Speaker 3Of course you do it in a future.
Speaker 2As in a conference session every time.
Speaker 4In every conference session. Yeah, you follow your four quadrants and it's done in twenty minutes.
Speaker 3It's amazing.
Speaker 4But anyway, like what I'll mention too is you can you could do the strangler fig pattern and you can just like one API, one controller at a time, one page at a time. You can add server lists or you know, and you get the scale, you get the security as you go and just kind of do it, do it at the right pace. Yeah, I'll say that too. And I think I did demo that last year. I took Keshay Music Store and I'm like, okay, this page. We always love to blame the database person because we're developers and we can and we should. But honestly, like
Speaker 4if it is a scale issue, you could strangle one API or one controller and run it in a container app run it function that.
Speaker 2There's a classic balanner of for scaling, right, is like peel it out, stick it in a container, scale it independently.
Speaker 1So is this the new prototype for conference talks? You do a five minute demo, you do a five minute talk on what's going to happen, then you push a button and just wait.
Speaker 6If it goes, well, I wish it was that easy. I think I Vibe coded so many in pol as well. We vipe coded so many demos, and in my mind, yes, in like five minutes or ken, you have some some type of prototype. But that's just the beginning. That just the first five percent of time that you were spending.
Speaker 2And I love that you say five percent. Yeah, like thanks for that, because got it. Mind people, there's a long way to go before that's actually software.
Speaker 3Yes, it's.
Speaker 6Right.
Speaker 2Yeah. Well, and and you know when Andrews said vibe Cody, he meant developers doing experiments, not making software. And it's a perfect use case of that's the experiment that this was intended for. Now stop trying to ship it.
Speaker 4Right, Yeah, that's the whole that's that's kind of like really what my whole life is about. It's going from the code to actually making it a production service.
Speaker 2And that's the whole thing, right.
Speaker 3That's the whole thing. That's the real hard work that we all try.
Speaker 2To Yeah, appreciate it. Yeah, thanks guys, Thanks guys, thank you see you next time.
Speaker 1Thanks, and we'll talk to you next time on dot net rocks.
Speaker 5Dot net rocks is brought to you by Franklin's Net and produced by Pop Studios, a full service audio, video and post production facility located physically in New London, Connecticut, and of course in the cloud online at pwop dot com. Visit our website at d O T N E T R O c k S dot com for RSS feeds, downloads, mobile apps, comments, and access to the full archives going back to show number one, recorded in September.
Speaker 2Two thousand and two.
Speaker 5And make sure you check out our sponsors. They keep us in business. Now go write some code, See you next time.
If your code is generated by AI, who owns it? Carl and Richard talk to Richard Hundhausen and Brad Frazer about the current state of copyright around AI-generated code. Brad talks about recent cases in the US, including...
How does ASP.NET Core help you make secure web apps? Carl and Richard talk to Anders Abel about the OWASP Top Ten and how ASP.NET Core addresses many of the vulnerability elements - at least where it can. Anders talks...
What is mentorship like today? Carl and Richard talk to Ethan Winer about his experiences helping people grow in their careers. Ethan talks about growing Crescent Software back in the QuickBasic and Visual Basic days -...
Whatever happened to the future we were promised? Time for a Geek Out! To celebrate the end of the opening history bits, Richard pulls together all the most popular topics of "things we were supposed to get in the...
It's Tray-Tober! Carl and Richard talk to Joe Finney about his latest project - building small, useful Windows apps that live in the system tray. Joe talks about his original project inspiration, Radio Tray - a way to...