transcribe

agents need VMs, not containers

Stanislav Kozlovski · 56m · transcribed May 2026
More from Stanislav Kozlovski Business
𝕏 Share ▶ YouTube 📥 PDF 🤖 .md

Transcript

0:00 David, what made you build a cloud? Oh, well, there was no cloud I wanted to use. So, I had to go build our own. That's uh is the short story. Uh the longer story is my co-founder and I had spent quite a while exploring the AI product space looking for things we could build uh around, you know, sort of code generation. And this was really this was pre-cloud code uh showing up and actually working. Uh and so we spent a while prototyping uh uh products including we started on our uh an like product as you'd call it today uh in the pre-cloud code world.

0:34 And we spent a lot of time on uh isolation machinery. And so we started with uh container isolation systems. So that whenever you asked it to do something, it would copy your Git repo into a fresh container. Uh it would do the work there. It would pull Git commits back out onto a branch on your Git repository. This was called Sketch. Uh and it was uh it was a ton of fun. Uh and then, you know, a bunch of other agents showed up. Uh and we easy to use because obviously the user interface to ours was Git which was uh you know, it's uh uh it it it if every time you typed in a prompt, you then ran a bunch of Git commands to get into a specialized branch where the results were. Uh it was a it was a tricky thing to use.

1:14 But what we learned from building all of that is we really liked isolating agents. They work a lot better in some kind of uh universe of their own. Uh and we built a lot of machinery for hosting that in the cloud. Uh and we realized that machinery was actually the most interesting thing we built. It was a surprisingly hard to spin up a machine in the cloud that did these things today. Uh so we thought we'd uh uh we'd explore turning that into a product. And so we kept following that uh uh that path. Uh and now we're at a path where like, well, we needed our own computers to you know, get the the shape of the machine right.

1:50 Uh we needed our own DNS to get DNS names in fast enough uh given the fast startup time of the thing. Uh before you know it, you've you've built a cloud. That's a cool story, but I was speaking to ask you more about Sketch it was called, right? Before Shelly. Yeah. The Sketch thing. So, first, what's wrong with using Docker? Yeah, we started with Docker. And it it worked pretty well. It worked pretty well for our local development.

2:16 Like we designed it around our own needs. And we thought this is great. And you know, containers are isolated enough, we said to ourselves. The where it went wrong came in two forms. First is, if you think about it as a development environment, we took it to companies to try. We would get their engineering teams to try using it as part of the development cycle. And the first thing they do is try running their test suites from their CI, you know, in this in there. And you really want that with agents, right? You want ask it to do a thing and then have it be able to run all of the tests and start the server and try it because that feedback makes agents really good at their job. Otherwise, you have to sit there in the middle constantly telling us like, "Yo, the test failed. Yo, the test failed."

2:57 Uh And every company we took it to would run into issues with the containers. Uh And you know, container is not a well-defined term, right? Even in the Docker universe, there's like a whole set of capabilities you can assign to your container, which is like exactly how the C groups are getting sliced up under the hood to build your isolation environment on Linux. Uh but people's test suites would include like using Docker Compose to bring up some servers in the middle of the tests. Uh and you can't use Docker Compose inside Docker, for example.

3:27 Uh and so, every every company we went to when we would go and fix a series of these issues and then we take it to the next company and try it with them. And each company we tried would find new things that didn't fit inside a container. And we we realized these things are never quite the right shape and they're never quite powerful enough. And like what we actually need is a is a computer they can run these things on that looks like you know, the computers people actually develop on, which means well, it needs to be a VM.

3:55 And like, if your tests need to create a network interface, let them create a network interface. Give them root, let them do whatever they have to do. Uh and as soon as you start saying that, containers don't really work at all. You really need uh the proper isolation of a VM to make it happen. Uh and so that's really That was the first big thing that got us there. Is we wanted uh uh we wanted to be able to run all of these test suites. Like, oh, if you you know, we ran into test suites that install K3S as part of the setup. And like, okay, well, K3S has to work.

4:24 Again, doesn't work inside even a GVisor setup. Doesn't work. Uh So, the second thing that we ran into is we discovered we really liked long-running VMs or long-running environments separate from a single session. And we realized there was actually a whole lot of software where we have a very different life cycle for developing it, where we were just treating dev as prod. And so, we kept the thing around and like we would start using it and it was the actual product. There was no deploy phase where we put it somewhere else.

4:58 Uh the the development environment with the agent was good enough. And yeah, that Yeah. Uh so, that's more for toy projects. That's more for toy projects, right? This dev as prod type of thing. Yeah, the uh you know, we used to So, going back in time 25 years, we used to develop in prod a lot, actually. And like part of this was a lack of uh uh modern best practices, but you would go into the CGI-bin directory and you'd edit the Perl script that's right in there and you'd just do it live and you'd hit save and the next reload of the Apache server would run the next script.

5:36 Uh then we had And like this was not just a Perl thing, right? Like on in the Microsoft universe, they had Active Server Pages, which was like this. You'd edit the .asp file, it would auto recompile next load. Java copied all that with Java server pages. There were these whole universes of like we we develop live. Uh and it worked really well actually for some things. Uh and it worked really terribly for other things, which is why we stopped doing that.

5:59 Uh and uh uh it the set of software you want to develop in prod shrunk to nearly zero uh from back then to uh 2025. And now that we have agents that can develop live for you, uh the the sort of the central thesis is the set of software that you want to develop directly is actually no longer zero. There's there's some things you want to do that way. That's so that's a good point. You you brought back a memory of mine. I I did the same thing in prod 2018 with Ruby.

6:27 Um I was working for a payments company back then and we would run these nightly uh payment reconciliation scripts that would basically read the DB and format it in some sort of document for some payment provider that would expect in a certain way. And um we definitely did edit in prod. Yeah, when we had some minor issues, some minor bugs, some typo, something breaking Ruby, its type system would definitely sometimes say it in prod. I remember doing it. Um but back to the testing because you you really intrigued me there. I didn't know you could you could not run Docker Compose in a Docker container, although probably makes sense. Well, are these system tests we're talking about that are running all these Docker containers?

7:04 I've never been very good with the ontology of tests. You know, as in like is it an integration test or an end-to-end test or a system test or a unit test? I've I've never been very good at categorizing them. To me, they're a test and I run them uh for my software. And uh you know, I like to you know, it's it's very good when your test just tests a small piece of your code because then it's clear what fails when it does, but it's also good when your test actually tests the real database and the end-to-end nature of things. Right. Uh and these companies piled all the you know, they basically had a CI pipeline of some sort that would run everything.

7:36 Uh and you really want to give an agent the freedom to run whatever tests it thinks are appropriate for the problem. uh and sometimes that's all of the tests. Uh so these were probably larger tests that were actually running real subsystems. I uh I can't remember the details of some of the composed files, but a classic thing to do in a composed file is to start a Postgres, uh and then connect to the Postgres. And that's actually super sensible. Like mocking out your Postgres in a test is just asking for you to miss some subtlety of how some SQL statement is parsed, uh because you used a not quite Postgres.

8:11 And so there's, you know, I'm I'm a big fan of doing things like that generally. I I I think tests should be large enough that you don't uh fall into traps like that. So I'm I'm quite fond of it all. Uh from a technical perspective, I think Docker Compose couldn't start in a Docker container, and this is actually worth someone checking me on. Uh is uh I think Docker Compose does its DNS names by doing something interesting. It intercepts the DNS packets on the network interface, and it uses some Linux API to do that, and I think that is not always available inside Docker. And Docker in Docker is also generally pretty tricky. You know, it's a theoretical thing that can work, and in practice I think it gets caught on a lot of uh subtleties of uh nesting C groups. Mhm.

8:56 Interesting. Yeah, I mean, my understanding of system tests is probably it's some sort of end-to-end test that spins up the system as realistically as possible. And under my experience at least, you wouldn't usually run these in a PR type of environment. Maybe it runs as part of the CI for the PR, but usually I think it runs on the main branch, let's say nightly. Which you bring up a good point that you probably do want agents to run these things now that they can really just drive the whole process autonomously.

9:25 And it's probably something that's missing today, because I guess the usual workflow today with let's say Cloud Code is, you know, you run it it iterates on the code, it runs the local tests, which are probably the system tests, maybe some integration tests, and then puts out a PR. And anything that's a little bit more demanding from resources, it probably doesn't run. Um where when I used to work at Confluent, we were developing Apache Kafka, and uh all the tests on that project would take at least 2 hours on a good CPU.

9:53 Um and on my MacBook, I some especially when the MacBook got a little bit older, let's say it was 3 years old or something, when I ran the tests, the computer was barely usable. Like even Zoom was lagging. So, I could I I really didn't want to run tests locally most of the time unless I had to. And not to mention, you know, imagine having three, four agents running their own set of tests, developing separate branches, that would be completely unusable. So, there's probably some something to be said about being able to outsource the the CPU to run the tests, also run the the AI agent loop.

10:24 Yeah, I mean, I've I've worked on a bunch of teams in my career with very different sort of test setups. You know, I've seen tests that take hours that run once a day. I've seen, you know, test suites that take minutes. I'm a big believer in test as much as you can as quickly as you can. So, for example, Exydev doesn't have a nightly test suite setup. We have the tests we run every time we push to main.

10:51 And those tests spin up at this point probably thousands of VMs in the process. And if you try to run them on your laptop, you have to run them in a VM, and so then it's all nested VMs. Uh assuming you're working on a Mac, that is, because you need to Linux base for all of our infrastructure. Uh and you know, it might take 10 minutes, uh which is why we now have a stack of very large computers in the cloud uh that we use for tests. And so, the tests get immediately shipped off your laptop if you're working locally. And honestly, I basically don't work locally anymore.

11:22 I work inside Exydev VMs. Uh but I believe our test suite currently takes about 100 seconds. That's sort of our magic number. And you know, we just shard it out and use computers to get it done as quickly as possible because I I really don't like waking up in the morning to find, you know, middle of yesterday I broke some tests and now I know about it. Uh I I want my development loops to be as tight as possible. And I think that is a lot of work. Like, you really have to commit to building environments like that and it consumes a lot of engineering time. And it's ongoing engineering time, right? Because as you work, you add tests and everything gets slower and it's it's a very painful.

11:58 Uh but, you know, it's a uh it's a philosophy that works really well with agents because it gives them all of the tools to know uh to to be to to have confidence in their work. Interesting point. But, then you said So, I'm trying to wrap my head about around excess so far. So, so you you've said that the motivation mainly was to to to make it AI agent-friendly for development purposes. Is that a correct take?

12:25 That's where we started. Yeah. And uh you know, the uh one of our theses is what is AI-friendly is whatever is developer-friendly. And there's a there's a kind of mechanism here which, you know, a positive mechanism, which is that uh uh the models we use uh in agents are trained on developers. So, there's transcripts of our of sessions of developers driving agents and using tools that is used to train them. And so, they're very good at doing things the way we do them.

13:01 Uh and so, environments that are good for us are good for them. And if they have to spend uh you know, a quarter of their context window reading the docs to figure out how to use the cloud API to list the VMs that are currently running, which, you know, some cloud APIs are not not trivial. Uh then uh that's bad for agents. Uh and, you know, we knew it was bad for us as developers, right? I don't remember the commands for listing my VMs on AWS, right? It's like four lines long. I have it in a shell script somewhere. GQ is involved. I have to pass some JSON to make it work. It's It's involved.

13:34 Uh and like we've always just like, "Okay, that's bad for me, but I put it in a shell script. I'll stop thinking about it." Uh but our agents think about that stuff every day using those systems and if it's uh it burns valuable context window that they can't use for solving our problems. And so that's our thesis is like we should build whatever's best for developers. And you know, I think traditionally clouds have not been built to be what's best for developers because I don't think developers buy large resources in clouds.

14:01 I think if you have a $100 million contract you're negotiating for an enterprise, uh you negotiate it based on who gives you the you know, the most CPUs for the fewest dollars. And if your engineers have to, you know, add two lines to the command they used to LS, no one cares traditionally. Uh now if we, you know, want to make our agents work really well, we do care suddenly. Yeah, I remember Azure's CLI was probably the most ridiculous. I I just remember having the longest commands to run there ever. But um there again, I again I would ask you, what's wrong with modern cloud? So okay, let's say we bugged a little bit more tokens, the APIs are a little harder to to understand. I'm sure the age agents, well, I'm not sure, but they they must know it because presumably they've been trained on them quite a lot.

14:47 And even if they do fail right now intermittently, I guess that might get fixed as the models improve. But But fundamentally, what do you think is lacking from current clouds? Because it's quite an endeavor to build your own cloud. Yeah, I mean I think I think an agent can figure it out, right? You absolutely can figure out any cloud with an agent and there's an argument to be said for like we'll just throw endless amounts of tokens at the problem.

15:09 And then it doesn't matter if all of the underlying stuff is no good. Uh the question is about token efficiency. And you know, in a sense that could be dollars. And I'm I'm not actually particularly interested in that because I don't know where that's going to land actually like the first chips really designed for LLM's are busy taping out right now and we'll see at the end of this year. Every chip we have today that's designed for LLM's was actually designed for 10 other projects and it's some sort of amalgam.

15:40 It takes a long time to build a chip. And so like how expensive tokens are going to be in two or three years is completely unknown to me. How big a model is going to get, how sparse will they get, you know, how much compute will be involved it's a it's a mystery. But what is clear today right now is models have pretty limited context windows even these million token context windows which never really work like you never really want to get beyond halfway through the token window the context window.

16:09 Uh you know, every every token that you're just constantly wasting doing something is eating that context window and is that's intelligence that is no longer being used to solve your problem. And I I see this driving agents all the time right if they get distracted trying to solve some inane problem in you know, the way the test was laid out makes it very hard for them to figure out a problem then they'll lose track of the bigger issue I was trying to solve around you know, the the last couple days I've been working on spam detection machinery which gets pretty subtle and it's very easy to lose track of as a human and it turns out it's very easy to lose track of as an agent too like they they constantly go off and get distracted.

16:53 But you know, every every second spent dealing with a cloud is is a second not spent solving the real problem and more importantly is distracting you from that problem. And you know, maybe there are technical solutions to that maybe you know, I've seen a lot of experiments with sub agents where like they spin themselves out so they don't burn main context window maybe someone will solve this problem and like suddenly that thesis won't hold but But haven't seen a solution yet.

17:18 Is that the main thesis though? I mean the main thesis well That I guess it was in two parts, right? And like the the uh this this uh thesis of like uh we can build something that's better for developers and thus better for agents is true. Uh but then there's this the other side of it which is the the environment developers want to work in it looks a little different uh than it used to. And this is the environment of like, you know, I want a VM to come up to run my experiment in and I want it to have TLS on it automatically.

17:51 And I want it to have an IAM proxy in front of it automatically. Uh whereas if I start an EC2 instance today, it's immediately dropped onto the internet with some port filtering in front of it. Uh which is not at all what I want, you know, I I I don't want the SSH exposed directly to the internet, you know, and I I want the web server only accessible to me and my team. Uh and you know, that's sort of machinery that's that's the development environment I want and you know, it's uh it's hard to come by.

18:16 So there are these uh people on the internet who love uh telling people use VPSs uh to solve problems. I'm actually a big fan of that because I think they I think they understand something about programming that like is kind of lost when you get too deep into like managing complex clouds. Yeah. Uh but they also have a list of like things you should do the moment you start your VPS that's like 30 things long or that.

18:36 And like >> [snorts] >> you know, one way you could look at exit dev is like what if we just did all that stuff for you out of the box? So that you know, it just worked. So That is good. I think there is space for that. We are seeing more I mean talk on about Hester on Twitter and everywhere. Um I think there is something to be said about having your own basically machine. Now that you have AI agents, you have democratized a lot of that operational [snorts] knowledge to AI and I think it probably [clears throat] could be outsourced for at least the toy projects.

19:05 Um I tried exit dev. I love it. I think you've done really well on the UX and the sign up UX and the usability UX. I uploaded my own project there, hosted and in zero time. Um I don't know if everybody watching this knows how it sort of works, but as a TLDR, I would say you do have your own proxy in front of the machine, which somehow automatically logs me in when I'm to my browser, let's say. If I try to open the VPS on my browser, because I'm logged into your website, it opens the whatever I'm exporting whatever port I'm exporting in the system web server I I coded. Uh whereas if I open it in another browser, it doesn't.

19:41 These sort of things are very useful, for sure. And where I thought you may see use, or where it might be cool, is I imagine that nowadays in this um AI world we're living in, where I see companies adopting AI coding overnight and spending millions on on tokens. And people I I I feel like product managers are changing their roles and they're just uh their workflow now is like demo something instead of actually writing up requirements and ideas. Mhm. And I feel like basically the amount of, for lack of a better word, toy projects or projects that are some sort of demo or showcase or a trial of something have exploded. And I think you're right that there is not there's not a very easy way. If I I have code something today, how do I show it to my friend? How do I show it to my teammate? How do I show it to my whole team?

20:29 It's quite a lot of work. Yeah. That's uh one way I like to describe the pricing model of ExecuDev is I used to have an Apple note uh actually had a whole series because I would get long-winded and I'd make a new one with like a bunch of bullet points in it. And I was like one-liners of things I wish I could build. Because for everything I build there's like 10 things I wish I could build in my life.

20:50 There was always way too much stuff to build, which is why I like agents, right? They let me build a bit more stuff. Uh and the idea in my mind is like, well, instead of writing a long one-liner into an Apple note as I'm walking down the street, paste it into ExecuDev/new, and some of the time the the I want actually appears, or very close to and you know it's like maybe it's 25% of the time and then the rest of the time the agent goes off the rails and doesn't understand at all what I was trying to build.

21:14 But you know it's that that dream of like you know let's just see if we can build the software off the bat. Again the set of software you can build that way is no longer is no longer zero. It's and like most things still doesn't work but you know it's improving. And that to make that work like on a on like a Hetzner style system I I would have two options. I could either for each one of these like one liners I could go and buy a new piece of machinery on Hetzner I could pay some money.

21:44 Or I could take a Hetzner box and I could install Docker on it and carefully divide it into containers and I could install a reverse proxy that like maps various domain names into it. And that machinery we're describing of like splitting up a Hetzner box that's ExeDev basically like that's its whole purpose. And like and like this is a very weird sort of economist way to picture a cloud but like the goal is that the marginal cost of starting a virtual machine on ExeDev is zero.

22:11 Because you've purchased compute resources from us you bought some amount of CPU and RAM and then in that you run as many VMs as you like and they share those resources. And so you know you got 10 ideas today you create 10 VMs. Uh you look at seven or eight of them and they're terrible you never look at them again and like two of them you keep poking around occasionally and they consume almost no resources almost all the time except when you're looking at them so it's fine.

22:34 So that's kind of the pitch. That's a that's a good pitch. I I do like that model I haven't seen it before. It seems like today if you buy a VM it has to have some minimum amount of VCPUs and as you say a lot of projects maybe they require one VCPU for 30 minutes today maybe they don't for the next 23 hours. Um I really like that split. I've I've never thought about it too much I think you're right you could potentially to same thing in a Hetzner box or an AWS EC2 box, but there's still a lot of thing to things to to set up and build.

23:07 It's pretty bespoke, right? To to spray the back containers, you have to run the proxy. It's actually much harder on EC2 because I don't think they allow nested virtualization and they're already a layer in. Whereas on a Hetzner box, I mean, you could buy a bare metal box from Hetzner, right? And you don't even have to use nested virtualization, which is great. So, you could set up a VMMs, you could get Firecracker running and you do all this stuff. You know, you can have a lot of fun on those things. And like I'm I'm all for having fun, right?

23:30 Build stuff. Uh but also I like things that are easy and just work. Yeah. 95% of people do not want that. I saw some comments on Hacker News saying that, yeah, technically you could do it and if you want to go ahead, but I'm sure 95% people don't don't want to deal with that at all. Uh so so with Exoscale, are you running your own boxes or are you running on top of let's say the AWS? Yeah, we we actually started on AWS. We started with metal boxes on AWS.

23:56 Uh and we did that for expediency. You know, it's a The great thing about the cloud is there's resources on tap. You know, if I need five machines from AWS, they don't even blink. You know, you just have five machines. It's great. Uh you know, I'm you know, I don't want to be you know, uh down on the hyperscale clouds like, you know, they're uh they've achieved a a scale that, you know, is astonishing and it with that they've achieved uh you know, all sorts of wonderful things like that.

24:23 Uh and uh uh you know, the the issues on AWS are mostly the price. It's very expensive running on AWS. Uh uh uh when you're small, you know, if you're very large, you know, the deals become amazing, but we're not even big enough yet to think about great deals like that. Uh so, we had a we had an inherent price push towards doing something else. Uh and that's when we uh started uh approaching There are there are sort of white glove services for uh servers running in data centers.

24:54 And so, we started there getting our machines racked outside the uh the hyperscalers. And now we're talking to people, you know, we're busy building some racks of machines. Uh and the the advantages beyond price, there are kind of two. Well, one is a also price advantage around networking. Which is that uh the clouds have very expensive networking. Uh and like you don't really realize how expensive it is until you get outside a cloud and like zeros disappear from the pricing and you're like, "Wow, that's >> [laughter] >> something."

25:22 >> [gasps] >> Uh and so, you know, we we want to pass on as much of that as we can to our users. Uh we you know, our prices are actually still pretty high by comparison because uh you know, we're we're trying to build some interesting sort of global anycast machinery. Uh but uh you know, if we can make prices cheaper, we will. Uh the uh the second thing is the shape of machines. And it's uh we we we think we think there's uh especially for dev environments, there are machines that are kind of hard to do on clouds today that are are really interesting. They're actually easier to do if you're at your own machines.

25:57 And so, the big thing here is around disk. So, by default, clouds don't do a lot of NVMe in machines. They want to push you to remote storage. And uh there's a lot of you know, historically, this made a lot of sense. When we were using hard drives, putting hard drives over a network is no big deal at all. Uh it took 10 milliseconds to do a seek on a hard drive. And so, 1 millisecond for your Ethernet round trip time is fine.

26:21 Uh the uh uh switching to SSDs was an issue, though. Because now the seek time is 10 microseconds. And when you have a 1 millisecond uh Ethernet seek time. Uh and so, it's uh you know, the the remoteness starts to dominate the the random reads and writes. Uh which is which is no good. Uh and so, you know, they have some instances with NVMe in them, but they are they're shaped for very specific needs. And the the big need is uh running traditional databases.

26:48 Uh and you can really see this in the layout of these things. Like, you know, if you start you know a a post a post grace cluster on uh big metal special- specialized instances on AWS, you start a primary and two replicas say or three replicas. One of them fails, the primary fails, you fail over to a replica, you bring up a new machine, and then you spend the next 8 to 10 hours filling, you know, hundreds of terabytes of data into its NVMe. That's fine. Like that's it works really well actually. They the product's good. Uh one of the interesting things about it is like if a if a machine in AWS has a disk failure, uh they fail you over to another machine. Like one disk failure means uh all of your NVMe are wiped and you have to restore from remote, which takes hours because you know these are large NVMe. Uh and that's actually not a good model for us at all. Like a better model for us is to put, you know, a rate five like setup on NVMe so that if a disk fails an ops person can swap the disk out and the machine keeps running.

27:44 Uh rather than on one disk failure we have to swap everyone over to another machine and run in a degraded mode from remote storage for 8 hours while we fill the NVMe. I I see what you mean. You're talking it fails all the hard drives you mean across uh users. Is that what you're saying? Yeah, I mean if we run a machine with 10 NVMe in it uh and a a physical drive fails, you can keep the machine running and have an ops person swap the drive out and bring the bring the rate back up Right. while it's running. Uh because from a single user perspective, let's say you're on AWS, if your disk fails it's just one one EC2 instance disk has failed for you, right?

28:24 Yeah, if you had an EC2 instance and it has 10 disks in it, like one of these big Oh, okay. >> Yeah, and one of the disks fails, they fail you over to another EC2 instance. All your disks are gone. No way. I mean it's it's fine for your traditional post grace replica because you just bring it up from another and like you get instant you get the machine back instantly, which is really nice. You don't wait for an ops person.

28:45 Uh so it's it's a fine model for uh uh the cases they run, but it doesn't work for the cases we run. Uh, and you know, the and there's very few machines on AWS that have these big NVMe on them. Most people use remote storage. And you know, the problem there is the IOPs from the the the uh, the long ethernet turnaround. Uh, and I don't know if you've ever seen this. >> too. The price, and the price, too.

29:10 Yeah, I mean, if you want 200,000 IOPs on an EC2 instance, you pay like 20 grand a month. You know, it's expensive. Yeah, and it's actually it's not unreasonable that it cost that much because it's actually really hard achieving those IOPs over a network. It's like a technically hard thing you've asked for. Uh, but it's kind of weird, right? Because my laptop has 500,000 IOPs. And so, you have this odd experience of you write software locally, it's fast and good. You ship it to the cloud, it's slow. And like, what's going on? Yeah, that and that's only that. I mean, SSD and hard drive prices have been falling off a cliff in the last 20 years, 15 years, 10 years.

29:45 Yeah, with an uptick in the last 12, unfortunately. That's uh, >> [laughter] >> but yeah, it's uh, yeah, and it's I think it's there's a bit of path dependence. Like, they built those clouds around hard drives, and then redesigning them around SSDs is hard. Uh, there's also there's an inherent advantage to the cloud providers in having all the disks be remote, which is if you think about all the instance types and all the different dimensions of the instance types. Like, for every instance type, there's the the general case, the network optimized, the CPU optimized, the RAM optimized. And like, there's all these variations.

30:18 Uh, you'd have the same problem if you started using local disk for everything. Where for each one of those, you'd have the one with a lot of local disk and the one with very little local disk. Yeah. Uh, and so, you add an entire dimension to the skews they sell. They already have a lot of instance types. And so, it becomes a management you know, the logistics of it would be terrible for a cloud. Uh, we we think uh, it's worth paying that logistics price uh the small scale, you know, having a lot of NVMe because we think it uh uh we can build a better product doing it.

30:50 I think especially with AI should help you choose between these CQs, right? You should be able to manage a higher load that way. Like the cognitive load of okay, which CQ do I choose out of these, let's say 1,000. Oh, for the users, absolutely. Yeah. I mean, that's uh AI is a great at that. It's uh they're great at building spreadsheets for you. From AWS's perspective, they have to manage all those different machines. They have to figure out how many to buy of each one. Like that's uh that's a hard problem.

31:18 Yeah, that's true. But from that point of view, I mean, there are several virtual machines, right? So, they presumably buy other machines that they virtualize on top of. So, they don't buy all the VMs CQs. Yeah. I mean, I think your problem is from again from their perspective is there are some customers who want 256 vCPUs and a terabyte of RAM and 100 GB of disk. Like that's what they that's what they want. And if you've gone and built a bunch of machines where instead it's 10 TB of disk, and now what do you do with the rest?

31:52 And you can expose it remotely over the network. Uh and that's that's kind of the great thing about remote disk. Uh but if you don't uh it's wasted. Uh and then you have to charge them for it. And so, the hence the this is why the the many the many instance types problem and then the many kinds of machines in your data center. Yeah, they have they have real hard problems these guys. >> it, yeah. It it basically removes one dimension from their balancing problem.

32:16 Yeah, that's right. That's true. Can be a big effect actually. At scale. For them, yeah. Doesn't matter to us as users, right? We just want the thing that you know, works. But what you mentioned about price is super important, too. This this notion where you get a bad deal if you're small scale, medium scale. If you're large scale, then you can negotiate and get the prices down. You're presumably talking about those um there's a specific word for it. I forgot the name, but there's negotiations where they give you a discount on whatever whatever thing you're buying.

32:44 They could be very large discounts. I don't Unfortunately, I think all of them are under NDAs, so there's almost no public information, but I've heard cases where you can get, let's say, networking discounts up to 90%. Yeah, I don't have any data on the sort of discounts you can get, but I know they have the margins to give the discounts. And the simple mechanics of large-scale vendor purchases mean those discounts have to exist because you know, if uh if you spend a hundred million a year on cloud and you know, you're on Azure today and then you go to GCP and say, "Hey, can you beat this price?" They will because they'll want you as a customer. And so, you simply you have the negotiation leverage if you're willing to move clouds to uh uh to get the discounts. And so, presumably and you know, that's this is the same as buying stuff at large scale from any vendor.

33:35 Uh and so, they must give out great discounts to very large customers. We can just infer it from the Um Yeah, and another topic on the costing is I think it the last 2 years I saw I kind of saw this trend of people moving away from the cloud for price purposes. I think uh DHH was one talking about this very publicly. And other people agreed as well because I think we've reached this tipping point where the cloud is just too expensive for what you're buying. As the hardware keeps going in capability and basically the price of, let's say, a VCPU decreasing, the the cloud prices I don't I don't see them moving at all.

34:15 And Yeah. Yeah, that's a good question. I mean, I don't actually know the general case like Yeah. Uh so, like DHH I I haven't read his things, but I assume he spends like single-digit millions on a cloud per year. I think 2 million they spend or something. >> don't I don't think that's enough money to get a good discount out of a cloud. Like they're they're not they're just not going to do it. Uh and so he's the perfect example of that sort of lost in the middle company that could be served by someone who, you know, wants to build for that without the crazy margins.

34:47 And so, you know, that that in a sense that's the ideal place for a a business like X-Team to get to. I think we're a long way from being able to help him. But uh that that's uh that's the dream. And you know, the main pushback I see when I talked about this was that, "Oh, well, AWS gives you all of these services and all these auto scaling and auto restart or whatever else." And I think that's a little bit overplayed.

35:08 And I have my own opinions, but I want to hear what you think about this. Yeah, I I agree with you. I think it's overplayed. Uh I I would say the one magic thing AWS has that you they really do have is they've always got another computer. All right. Like whatever whatever's going on, there's another computer that's on tap. And like that's really like as a person who's busy racking machines and buying them, I'm like, "Oh, I need another computer.

35:31 Cool. 6 weeks lead time." It's a radically different experience when you press the yes button and like 6 weeks pops up instead of like a 30-second start time. Uh so, you know, you have huge credit to AWS for building something like that. It's an immensely hard problem. Uh but beyond that, they they you know, if you go to their website, there's like 800 services in there, right? Uh almost none of those are useful to me, and they've become less and less useful.

35:58 You know, it's mostly uh uh it's mostly a list of things that people thought were useful 5 years ago. Uh and the few that are useful are very easy to do now with agents in variety of ways in the open source stacks we have. Uh there's there's a couple that are great and I really admire. Yeah, the cloud UX is ridiculous. The UI is just ridiculous to navigate through. And you know, agents experience the same thing, as you say. And the CLIs and the and the APIs, I guess they're sort of a byproduct from this overcomplication. Yeah, but like if you look at like all the managed database machinery on AWS, I don't think I want to use any of their managed database products. You know, I would mostly because they're the wrong shape for the problems I have. Uh you know, I think I if I had to run a Postgres on AWS today for a company uh and like I had to just use AWS, like I would just do it myself. I wouldn't use RDS, I wouldn't use Aurora, or any of those things. I think you're in the minority here.

36:54 I I think I probably am in the minority, but I think I've also seen RDS fail catastrophically. Yeah. Which uh until you've experienced, like you don't really appreciate the horror of it. You know, I I would love someone to manage my database for me. I don't think those products are the answer though. Like I think there are other products out there that might be. Like I'm I'm very happy with the idea of managing my database. I just don't think they have the of someone managing it for me. I just don't think they have the products for me.

37:19 And if I look through their catalog, there are a couple of things they do really well that I would not want to do myself. Like uh they have an email sending service, for example. Uh sending email well is actually really hard and requires like a lot of care and attention to the quality of your IP addresses, uh how other vendors are talking to you. It's a It's a big data problem. Uh and I think I think the Amazon service that does that does really well and I would happily be a customer of it.

37:42 In fact, maybe I should be. I should go investigate it. It's uh uh and uh you know, the classically uh uh there's S3, which Amazon do quite well. Uh which has always been a funny shape to me. I've never been a huge fan of it, but like I have to admire the fact it works and uh you know, I totally see why people use it. Yeah, S3 is an interesting marvel. Uh Yeah, I don't know about people I think a lot of people don't want to host their own database and their own data infra.

38:09 Partly psychological fear of so complex, partly uh being able to point the blame button at somebody, I think. Like >> [laughter] >> avoiding responsibility for data infra that costs your business millions if it goes down. I think it's another appreciated aspect. I So, I worked for a for Confluent, which was a managed Kafka offering, so Kafka SaaS. And yeah, I saw a lot of this. A lot of people do want you to run their Kafka. And all of these vendors, what what they do day in and day out is just they market how hard open source is to run and how hard it is to manage. Well, in reality, I don't it there's nothing hard about it. There is um a learning curve where you need Of course, you need to know what the configs mean and you need to know how the service works and etc. But there's nothing fundamentally difficult about, you know, the software.

38:59 Yeah, I do. I agree with you. And I'm actually really curious what agents are going to do to that in the future. Like I am you know, using agents to crash course myself in how a system works is a extraordinarily effective. Like, you know, and and this comes of course, I've got 30 years of background in a bunch of systems. And so, learning the next system isn't too hard. But like it's amazing, right? Like I've I've never actually run Kafka myself, but like how long would it take me to figure it out with an agent? Like maybe if I sat down and worked hard for a week, I could, you know, I I would understand a lot of its failure modes and be confident to run it myself. Like that wouldn't have been true like 5 years ago.

39:36 I Yeah, definitely. It just that that ability It democratizes knowledge like nothing else because the knowledge of how to run Kafka is somewhere out there in the vast internet. There are multiple articles. It's just that you need somebody to go over all of them. I mean, a humans usually do this by spending 5 years in the industry and just reading whatever they see. But an agent can pull it, you know, in an hour. Yeah, I mean, back to RDS, just because again, I've seen it fail. Like the scary thing about RDS is they're running Postgres for you, but you don't you don't get direct access to the Postgres. So, there's all sorts of failure modes where you know exactly there's a button you could push to go and fix it, but you can't. And again, if you're small and you email them, you know, some hours later they might look at it.

40:16 Uh it's a very nasty setup. Uh, and again, you know, I I agree that there's a great idea of letting someone else manage it for me, but now that I can go on the internet with the help of agents and figure out potential solutions to post grass. The idea that I couldn't get to my post grass is terrifying. Like I want to fix it. [laughter] So, Yeah, to to play devil's advocate also, I mean there is a sort of network effect in SaaS providers where if you're a SaaS provider and you have dozens of customers and they hit the same issue eventually, you will develop some proprietary solutions that the open source never sees.

40:48 And then you might have some issues that would have been a problem with the open source that are not a problem to you because your automated system fixed it already. So, that is one thing that, you know, catered to SaaS if if done right. Um, but but to your point, and I was going to bring the same point, is that AI changes changes this completely completely. I'm I I don't know where our AI SaaS series are, but they I I expect to see products like this in the not too distant future because fundamentally I think it's a very simple problem to solve. There's a lot of pattern matching in like, okay, the log says this my disk is full.

41:21 At least I know what to do. I know what the run book kind of looks like. Maybe a a human can approve let me running these commands, but I I really think we're going to see improvements and to that point, um, it's a good time to segue Shelly, which is your AI agent in in Exe. Uh, which I did a demo. I I logged into a VM and I said to to Shelly, I just said, "Hey, uh, build me a Kafka cluster, give me a Grafana, give me a nice UI, give me a schema registry, um, yeah, and send a message or something like that or give me a UI for for these things."

41:54 And like traditionally this would have taken me as a human probably 2 hours to do because the route is open Kafka, read the docs, read the quick start. Okay, then find the the schema registry component I need to to open. It's a separate component not part of the open source project. Open the GitHub, follow the read me, find a UI. There are 20 UIs to choose from for Kafka. Pick one, follow the readme, follow the installation, set up everything, create a Docker Compose or something, spend 30 minutes trialing and airing that out as it fails to deploy.

42:24 And eventually I got it. Shelly or should I say uh Claude um or both did it in under 15 minutes. I actually demoed it in a video. That blew my mind. That's a that's a major time saver. And it's an example of of what I'm saying that ops are should and are getting so much simpler with AI. Do Do you guys use anything like this internally? >> Oh, I mean So it's you know, there's there's a constant tension between uh uh you know, doing a better job in production because you put an agent there and the the danger of putting an agent in production. Uh the only time I've ever actually deployed an agent in production was when we launched back in just a just around it was just around Christmas time. It was just just after Christmas.

43:13 Uh we just had it open so anyone could just use it directly uh and we immediately got a lot of spam and abuse. Uh it was a whole lot of There were some Bitcoin miners, but it was mostly DDoS clients and other really nasty stuff. Uh and uh uh we had a whole bunch of people we had a spammer signing up really regularly uh creating accounts every few seconds. Uh and somehow they were wrecking our machines.

43:38 Uh and uh and I I thought to myself, well, they're creating accounts every few seconds. So I created another production instance because this is this is back when we were on AWS. I pushed the on button, got another uh machine, loaded it up with spammer accounts. Uh watched the machine start to flail. Uh then I installed a command line agent directly on it and gave it root. I was like, this is I was like, I'm I'm willing to do this because it's just spam VMs. Like you know, I'm not putting anyone's uh machinery at risk. And I said like, look, what's going on? Why Why is this having such a detrimental Why Why do these VMs uh why are they their network behavior not isolated from the other ones? And it went and examined a whole lot of Cisco machinery I didn't know about you know but there's always something you learn about Linux right?

44:20 And it came back with an answer really quickly about an IP tables misconfiguration I'd made in the system where I thought I was carefully restricting VMs ability to influence the contract table but I got the interfaces wrong. Uh and so they were able to collapse this this this table in the host VM in the host system as networking configuration and like ruin the day of all of the VMs next to it. So like as soon as I knew this it's like a one line fix and you know deployed it and like all the other machine and then like cut the spammers off and deleted all their VMs.

44:56 Uh but you know I didn't know what to look for. Like I you know we were delving into some very obscure part of the Linux kernel that would have taken me many many hours of research and here I was fighting a production issue and I was in Australia at the time it was 2:00 a.m. and no one else is online. And so like the fact that an agent just showed up and solved the problem for me uh was it's one of those experiences like the once it happens to you you're like wow okay I'm never going back. Like I need this tool in my pocket to solve problems. So yeah the the the magic for me of the AI SRE which again doesn't really exist yet because what what AI are you going to drop into production and like really rescue your data with? You know I I wouldn't you know you can't do it on a real machine because there's risk of user data regress you know exfil you you can't you can't do that.

45:47 Uh but at the same time they have all this esoteric knowledge about systems that it's extraordinarily hard to come by and can solve problems so quickly. Like there we have to figure this out. That's uh We do yeah we we definitely do. I think I mean I guess as a naive implementation could be a read-only version where let's say you don't deploy it to the VM, but you have all of your VM telemetry and data shipped out to some system which the AI can then analyze. Or or some sort of I guess the the way it'll happen is well, before production, we have the toy projects, which is let's say my account and exit if I run some some toy toy websites there.

46:22 I'm happy to give the AI everything there. That's >> Yes, exactly. Yes. Me, too. Yeah, as I said, this isolation this isolation that's me like run the AI as as much as it can. Let it break everything. I'll create a new VM. I don't care. I don't care. So, that already proves the saying. This is production for me for something that's not super important. And then I guess we'll get the stop-down effect where we'll first we use it internally first we use it on our own devices, which is let's say my MacBook, which is probably backwards on I think of it, but I think that's how the adoption started.

46:50 Everyone is self-cloud coding locally. Then we're going to start using them externally let's say some some dev machines like like Azure or AWS or whatever. And then eventually maybe it reaches its way to to dev staging, maybe production, I don't know, in some very contained form. But um Yeah, I think you've hit a couple really good points there. Uh first is yeah, we all still code on our laptops. And like I can't imagine running an agent directly on my laptop. Like I have the keys to the to everything. Like that's the last place I'll put an agent. Uh but then uh excuse me, the uh uh in production, you're right. That again, all of that software that I'm willing to isolate and do the whole dev equals prod thing for. Like I'm very happy to let an agent have root and like edit some systemd files and change some Cgroup configs. Who cares? It's like uh I have snapshot, you know, actually, this is a feature that we're about to launch for xcd where we're just trying to get the UI right. Like we actually have snapshot backups of the VMs.

47:48 Uh and like to me, the big trick to dev equals prod is the is the big rollback button that you click and you just go back to a snapshot from a few minutes ago. Uh because you know, if you delete your production database, where your production database is a spreadsheet that five people use, like that's fine, right? It's it's a perfectly good uh uh uh uh control system for agents. Uh, so yeah, all of that seems straightforward to me. The actual AIS array is the really is the really hard one. And uh you know, I agree, read-only sounds good, but there's you know, there's there's like two sides to this that's really challenging. The first is like read-only still only gives it some of its ability.

48:23 Like it's actually really useful to let an agent play around a bit on a system so that it can explore and find the problem. You know, there's some problems you can find by actually changing some sysctl settings. Uh, and the the second side of this is just uh Simon Willison's uh lethal trifecta problem of the moment your agent is sitting around with user data or any data you value, uh you have to cut off its internet access, or else it can exfil the data.

48:49 Right. Uh, and like you know, you you start and like as soon as you do that, it can't go and Google search for weird uh uh uh user forum posts from 20 years ago that have the solution to the problem. But but also you can't use, let's say, Cloud or OpenAI, because that is from the internet and you're potentially feeding the models with that data, too. Yeah, I mean uh so I mean, we do everything through a ZDR contract with Anthropic and OpenAI. And so they're zero data retention contracts. And uh I I I trust contract law enough that those companies are actually not retaining and training on it. Uh, I certainly hope that turns out to be true. Uh, but you know, they're promising it's true, and so I I choose to believe them. So. Okay. No, I just wondered if a customer has a contract with you and you have a ZDR contract with them, does that complicate things?

49:35 But maybe not. Um We don't we don't store any of the uh the sessions with Shelley. Uh, they're they're stored in your like local SQLite database that you control in your VM, but like we don't train on it or in like we pass everything through on those sort of standard business contracts. So. But but to your point, even editing that CTL settings or something, I mean, even if a human does it, that's still something that's very risky and usually you will not see it in production, right? Like at all.

50:00 >> [laughter] >> I mean, that's why, you know, I'm I'm scared of the SRE I SRE doing a thing I would do, right? And like breaking the computer. I break computers all the time. And so Yeah, no, I mean, I think we're far away from having a an automated AI system. We have automated systems that we've coded up ourselves, sure. But even today, if you're in a big company and you want to do some change to production, as a human, you still probably need approval from another SRE at a minimum.

50:28 It depends on the environment and the setup, but yes, you know, I've seen I've seen everything from SREs have to sit next to each other while they work and read each other's commands before they hit enter. To software systems that enforce that. To companies where the SRE is you know, it's a part-time role that the programmers fill. You know, whoever's awake deals with the problem. You know, it's the world's got the world spans the spectrum. Exactly.

50:57 So there is a spectrum and I was going to say there is also this like human psychology has showed us that people will risk things for convenience. I think the best example is Tesla auto driving. You know, getting a letting a robot drive your car is the most dangerous thing you can do day-to-day, but in practice it works and in practice people trust it enough to do it and maybe they even put their hands off the wheel even though they should they shouldn't.

51:20 So from that perspective, from that context, I think I can imagine a a fair subset of companies even yellowing with some agents in production. Probably. Yeah, I mean, you know, it's yeah. I mean, the You know, to I I don't know how far we can push the the the robo-taxi analogy, but you know, I've been in a few taxis and you know, they haven't had the best human drivers, uh which are a little scary.

51:51 Uh and the Uber taxis, uh in theory at least, all the data is centralized and studied, and you can draw good statistics over how reliable the drivers are. Uh you know, you don't get a Uber taxi that didn't sleep well last night, or maybe spent too long at a party or something like that. Uh you know, long term, uh those sort of well-studied systematic models give you better results. Uh we may not be there yet. You know, I really have no idea what state things are in. Well, that that's a great point with human error. It's an amazing point.

52:22 You're right, the majority well, I won't say majority, but a fair amount of SREs are not to the level you've been used to working with because maybe you you worked at really good companies, you're in the Valley, etc. Like the spectrum of SREs in the whole world, everybody running some sort of production database in every country in the world is is very large. So, now that you say that, I think actually I can probably replace a lot more than we think. Yeah, I mean, me being an SRE at 2:00 a.m. is not what you want. You know, I'm not I'm not at my best.

52:50 >> [laughter] >> It's uh uh yeah, so it's so is there a day when a a machine can do a better job than me at 2:00 a.m. as an SRE? Absolutely. Like I might be I'm very excited to see me get replaced in that role. >> [laughter] [gasps] >> All right. Well, we have we have a few minutes more to go. Um I want to ask you, is there anything you would like to share about the XC, your career, or basically anything about the the topics we've been talking about so far?

53:15 Oh, yeah. I mean, you know, I'd love people to try it and give us feedback. Uh it's a 7-day >> 7-day trial, right? There is. Yeah. Most of the time, you know, depending again, there's a complex spam fraud model in there now. Uh but most of the time, if you show up, you can just try it uh with a 7-day trial. Uh the uh you know, feedback's great. The I think the the thing we're most interested in right now is you know, what's uh what's the next thing we need to build to be more generally useful because we have so many things to build. We have these really long lists and you know, it's a a big challenge for us is just prioritization like you know, do we need you know, more sophisticated DNS control? Do we need static IP addresses that [snorts] you can open arbitrary ports on?

54:03 You know, do we need good you know, we have integrations. Do we need a good slack bot integration so that you can like talk to Shelly in slack? Is what's missing a discord integration? You know, just just trying to answer questions like that. User feedback is great for that to try and get get to like which things should we be prioritizing? And you know, we get we get several pieces of feedback a day and then I have agents help me put it into spreadsheets and try and manage it and it's a again it's a very it's a good task to try and automate because there's there's a lot of value in trying to be rigorous about these things. It's very easy to get you know, the last four people I spoke to the anecdotes they told me have way too much weight in my mind.

54:42 >> Yeah. And you know, I want to solve their problems immediately. And if you make a spreadsheet of the last you know, 40 people you've spoken to you suddenly see the pattern is very different and you're like oh well, it's a it's good to be rigorous about these things. So yeah, we're very much in data collection feature build out phase right now. I mean, how old is the company? How old is this cloud? Oh, I mean, we launched in December and started to work on it So it's 6 months.

55:05 Yeah, that's right. >> That's nothing. That's Yeah, it's there's a long way to go. But we we have a you know, I'm very we have a very very good team who are capable of building all the things. We have a lot of you know, we have agents supporting us building things which helps a lot. And you know, we've got a good foundations to build on which is nice. You know, the uh you know, building building EC2 back when they built it was extraordinarily difficult because the Linux kernel did not you know, help you back then.

55:33 Even though they were giving dedicated slices of a machine to each VM, they still had noisy neighbor problems because Linux was not good at isolation and scheduling. Uh in fact it was a very early our very big customer of Amazon who was uh telling me that they would uh start their EC2 instances and then run a little for loop in bash on a that would just print the date every second. And then they had a outer script that would look at the dates that got printed. Uh and if uh the if uh 10% more than a second was spent between each second uh date printing. So the sleep one actually slept 1.1. Uh they would shut the EC2 instance down and start another one. It meant there was someone else on the machine who was you using a lot of CPU.

56:16 Uh and you know they had a noisy neighbor. So they they had to build this noisy neighbor detector in front of EC2. But you know the Linux kernel is so good at isolation and control now that it's it's so much easier to build high-quality uh cloud-like primitives. Which lets us get into like building more interesting primitives uh precisely because of that. Yes. It's it's a good foundation to work from and we have a lot to do. So.

56:39 That's amazing. Well, I'm really looking forward to see what you guys built. I can't believe it's just been 6 months because the park looks very well polished. Uh but I'm I'm looking forward to see next year, next 2 years, next 3 years. I wish all the best of luck and um thank you for taking your time. Thanks then. This was fun. It's uh you have a good day.

Summary

David and his co-founder built their own cloud infrastructure after realizing existing solutions did not meet their needs, particularly for AI-driven development environments. Their journey began with exploring AI product spaces and led to the creation of a cloud that facilitates better isolation and management of development environments, ultimately resulting in a product that prioritizes developer and agent efficiency.

- The initial motivation for building a cloud was the lack of suitable existing solutions for AI-driven development.
- They started with a product called Sketch, focusing on container isolation, but found containers inadequate for complex development needs.
- The transition to using VMs was driven by the need for better isolation and the ability to run comprehensive test suites.
- The development philosophy emphasizes treating development environments as production, allowing for quicker iterations and testing.
- David highlights the inefficiencies of current cloud offerings, particularly regarding pricing and the complexity of APIs.
- The cloud infrastructure aims to provide a more developer-friendly environment, reducing the cognitive load associated with cloud management.
- The company is in a phase of gathering user feedback to prioritize new features and improvements for their cloud service.
- David envisions a future where AI agents can significantly enhance operational efficiency, particularly in managing complex systems and troubleshooting.
© transcribe · For agents Built with care and craft by Gokul Rajaram