Latest / Ship It Weekly - DevOps, SRE, Platform and Cloud Engineering News / Ship It Conversations: Erik Osterman of Cloud Posse on Terraform Modules, IaC Frameworks, Atmos, Internal Developer Platforms, AI Agents, and Why Conventions Matter More Than Ever
Transcript
- 0:00AI can write a lot of infrastructure code now.
- 0:03But if every team organizes Terraform differently,
- 0:06names resources differently, handles authentication
- 0:10differently, and reinvents the same deployment
- 0:13patterns, faster code generation does not necessarily
- 0:17mean better infrastructure. That is where conventions
- 0:21start to matter. Because the real leverage is
- 0:24not just getting AI to write HCL faster. It is
- 0:28giving it a framework, a golden path, and enough
- 0:32context to know how your organization actually
- 0:35works. I'm Brian Teller from Teller's Tech, and
- 0:38this is Ship It Weekly.
- 0:56Welcome back to Ship
- 0:57It Weekly, where I filter the noise and focus
- 1:00on what matters when you are the one running
- 1:03infrastructure and owning reliability. Most weeks,
- 1:06it's a quick DevOps, SRE, platform, cloud, and
- 1:11security news recap. In between those, I do conversation
- 1:15episodes with people building and operating these
- 1:18systems. Today, I'm joined by Erik Osterman,
- 1:21founder and CEO of Cloud Posse. Cloud Posse has
- 1:26published more than 180 public Terraform modules.
- 1:31And Erik also hosts their weekly DevOps office
- 1:35hours. We talk about what makes a good Terraform
- 1:38module, why infrastructure as code needs stronger
- 1:42conventions and frameworks. And where tools like
- 1:46Terragrunt, Crossplane, Backstage, and Cloud
- 1:49Posse's Atmos fit. We also get into internal
- 1:53developer platforms. Why self-service does not
- 1:57have to mean another no-code abstraction. And
- 2:00how AI changes the equation when your infrastructure
- 2:04already has consistent patterns, agent skills,
- 2:08and clear deployment workflows. All right, let's
- 2:12jump in.
- 2:17Erik, thank you for joining me. Awesome.
- 2:18Thanks, Brian. Happy to be here. I love to talk
- 2:21shop about all these topics. So let's just dive
- 2:23right in. Yeah. So before we started recording,
- 2:26we were talking a little bit about Cloud Posse
- 2:28Terraform modules that you all have. And we were
- 2:31talking a little bit about the industry changes
- 2:33towards AI development and bug bounty programs
- 2:36and that sort of thing. I'm curious to hear your
- 2:40perspective on that. And if you've been affected
- 2:43at all by... by the AI slop that has been hounding
- 2:47open source initiatives. We've been following
- 2:50it pretty closely. I mean, seeing what has happened
- 2:53with curl and it went from hate to love, kind
- 2:56of. There's been a lot more, I would say, security
- 3:00researchers coming around and poking and prodding
- 3:05at things with different levels of experience.
- 3:07I would say the one bad run-in we had, and I'm
- 3:10not going to name any names partially because
- 3:12I can't remember. But there was some security
- 3:15young startup out there that came out and tried
- 3:18to say that one of our modules was insecure and
- 3:22therefore used by hundreds of other modules that
- 3:25were therefore also insecure because one of the
- 3:28Go tests was using a package with a CVE. But
- 3:34Terraform doesn't even run Go tests. So it was
- 3:38just brain dead stupid. That was the worst run-in,
- 3:41I would say. Other than that, I would say we
- 3:44are pretty AI-friendly, accepting lots of pull
- 3:46requests that have co-committers from Claude
- 3:49and Cursor and other. And if anything, it just
- 3:52makes things easier to review. Have you seen
- 3:55an influx over the last year? It's hard to say
- 4:00exactly. What we've seen is a steady stream of
- 4:04pull requests still coming through to all of
- 4:06our repositories over the past year. But I would
- 4:11say it's fairly down from, let's say, the heydays
- 4:15of 2021 when there wasn't any other really mature
- 4:20alternative to using open source. We're not delusional
- 4:25in the sense that companies these days aren't
- 4:28using AI to write infrastructure as code, as
- 4:31they should be, as we are using it to write our
- 4:33own modules. I think that doesn't invalidate
- 4:36open source. If anything, it just shows the resiliency
- 4:38of open source that it takes on different value
- 4:41at different phases. So when you're creating
- 4:45these modules, how do you decide what becomes
- 4:47a module versus what stays a pattern or example?
- 4:52Yeah, it's a good question. And an interesting
- 4:55thing about that is we, you know, so we started
- 5:00the company in 2015. And from 2015 to 2021, I
- 5:06would say we were adding like dozens of modules
- 5:09every single month. But the rate at which you
- 5:13can develop modules is faster than the rate of
- 5:16new services being developed. So at this point,
- 5:21you know, it's pretty stable. We aren't releasing,
- 5:24you know, 50 new modules a year or anything like
- 5:28that. So we have a pretty opinionated approach
- 5:31to Terraform, take it or leave it. But the idea
- 5:35is that all the modules should work well together.
- 5:37And the first thing there is that there needs
- 5:41to be a consistent naming convention, consistent
- 5:43interface to how they work. So interoperability.
- 5:47And then they shouldn't be so small that they
- 5:50wrap a single resource because then it's just
- 5:52unnecessary abstraction. Shouldn't be so large
- 5:56that you have a hundred inputs because you can't
- 5:59test that many permutations. So there's a happy
- 6:02medium or happy balance between that and that's
- 6:06what you'll see in a lot of our modules. We like
- 6:09to think that they turn a concept that is pretty
- 6:12relatable, like what is a VPC, into a declarative
- 6:17module resource that you can provision easily.
- 6:20But one of the opinionated things that we've
- 6:22done differently at Cloud Posse, for example,
- 6:24is keep the subnet architecture separate from
- 6:27the VPC because there are lots of different strategies
- 6:30for how you construct your subnets. Just one
- 6:33example of how we've thought about it. One of
- 6:36the biggest confusions that we get from our community
- 6:39is what is the difference between a root module
- 6:40and child module? A good interview question also.
- 6:45So yeah, what is the difference? So in Terraform,
- 6:49a child module never has state. And that's the
- 6:52simplest way. So you have a root module. That
- 6:54root module can invoke any number of child modules,
- 6:58but you don't embed one root module inside of
- 7:01another. So the root is kind of where you run
- 7:03Terraform. But it's amazing how often these concepts
- 7:07are conflated and not clear, even by practitioners
- 7:11who've been using Terraform for a while. If they're
- 7:13operating in a mature environment, they maybe
- 7:15never started from scratch. Let's say you were
- 7:18to start it all over again today. Is there any
- 7:20different framing or philosophy that you'd have
- 7:23around that? You know, I go back and forth. I
- 7:27have a constant inner dialogue about some of
- 7:32these things. And, you know, there's a love-hate
- 7:35relationship with Terraform. And there's a
- 7:37love-hate relationship with IaC. And some of these
- 7:40things, I just wish they could be simpler. And
- 7:44then when you go look at the alternatives, you
- 7:45realize that it... It's hard. And here's what
- 7:48I mean. I think what are the main contenders
- 7:53today for infrastructure as code, IaC? So you
- 7:57have CloudFormation. Honestly, my understanding
- 8:00is CloudFormation dwarfs everything else in terms
- 8:03of adoption within the side of AWS. Even though
- 8:06in my echo chamber, nobody uses CloudFormation.
- 8:08They wouldn't be caught dead with it. Then you
- 8:11have Terraform, of course, and you have Pulumi.
- 8:15Pulumi is interesting because they've had staying
- 8:18power. They've survived. There have been a few
- 8:20other upstarts that have come around. And we
- 8:22also know like CDKTF, that failed as a project.
- 8:25I think it's now spun up as a fork. And there
- 8:28was another project that came up, Winglang, that
- 8:31tried to create a whole language based around
- 8:33being interoperable with cloud and local development
- 8:36and so forth. Didn't work. So we have these three
- 8:38staying powers. Then the FOMO I have is... Should
- 8:42we be instead moving over to something more like
- 8:45Pulumi and TypeScript or picking the language
- 8:47du jour of our choice? And I keep coming back
- 8:51to, I think it makes a lot of sense maybe inside
- 8:55of a enterprise where they might have more standardization
- 9:00on one or so languages. But even then, I don't
- 9:03know if the value is there. Let me explain. So
- 9:06the problem is with a formal IaC language like
- 9:09Pulumi, through TypeScript is that you have unlimited
- 9:13possibility and that creates so much variation
- 9:16in how the infrastructure is provisioned and
- 9:20managed and so forth. And sometimes constraints
- 9:23are healthy. you converge on a few necessary
- 9:27patterns. And I think that's what's led to HCL's
- 9:31dominance in IaC. Because it's limiting, it's
- 9:35led to greater interoperability because of the
- 9:38module ecosystem. You see so many, there are
- 9:41tens of thousands of modules out there, conservatively
- 9:44speaking. And it's because of that that it works.
- 9:47But you don't really find CloudFormation libraries
- 9:50or architectures out there in the same capacity.
- 9:54Or if they are, they were meant to be forked.
- 9:57They weren't meant to be embedded and reused.
- 9:59And I can't speak to Pulumi what the health of
- 10:03the ecosystem is of supporting kind of architectures
- 10:06around Pulumi. Maybe practitioners would say,
- 10:09well, you don't need it. Yeah, I would say the
- 10:12majority of use cases I've seen for CloudFormation
- 10:16is for vendor-specific setup for IAM or a vendor
- 10:20control that needs setup. And I mean, that is
- 10:24one of the beautiful things about CloudFormation,
- 10:27let's be honest, is that you can represent an
- 10:29architecture in a single document, lob it over
- 10:31to the API, and it materializes those resources
- 10:35and reconciles it, which is nice. I've often
- 10:38thought about this, like, what I would love to
- 10:40see is an endpoint that speaks like the Kubernetes
- 10:45protocol. But the fact that it's Kubernetes or
- 10:48anything else, I don't even need to know that.
- 10:50It's an implementation detail. I want something
- 10:53where we can declaratively describe what our
- 10:57architecture is in resources that is as convenient
- 11:00as Kubernetes without... Any of the overhead.
- 11:04I never want to have to think about updating
- 11:07a controller or deploying a new version of an
- 11:09operator, spending, you know, one week, a quarter,
- 11:12updating 16 clusters a month, a year, basically,
- 11:16just upgrading clusters. I don't want that. So
- 11:18I want the convenience of CloudFormation with
- 11:21the power of a Kubernetes manifest to manifest
- 11:26infrastructure. So do you use Crossplane? Well,
- 11:30no. So this is an interesting one. For a long
- 11:35time, I had FOMO on Crossplane as well. And
- 11:39speaking to its strengths, from my perspective,
- 11:42where the FOMO is, I mean, it's pretty elegant
- 11:44when you have. If you can assume that you have
- 11:47a cluster that is managed by other people, so
- 11:51other people's problems, OPP, and all I have
- 11:53to worry about is I have a Crossplane endpoint
- 11:56and then I can manage everything else that way,
- 11:58then it sounds kind of nice. I still have concerns
- 12:03about understanding what infrastructure is changing
- 12:06and what I would manage under a Crossplane.
- 12:09And let me explain. This gets down to the internal
- 12:12developer platforms topic that we want to talk
- 12:14more about. I think one thing that's so glossed
- 12:17over is that you have basically layers of infrastructure.
- 12:21Crossplane solves, and it's very important.
- 12:25but a very small sliver from our perspective
- 12:28of what it takes to operate at scale on AWS.
- 12:31And what does at scale mean? It's thrown around.
- 12:33Let's talk, you know, enterprises that operate
- 12:36with hundreds of accounts or at a minimum dozens
- 12:39of accounts. You have a complex network architecture.
- 12:42You have an IAM architecture. You have a DNS architecture.
- 12:45Managing TLS certificates is even just a challenge,
- 12:49right? So at the point you have the privilege
- 12:52of only worrying, about how you deploy these
- 12:55cute little things on top of Crossplane. Yeah,
- 12:57that sounds pretty good. How are you solving
- 12:59everything else? And you're not doing that with
- 13:01Crossplane. No, that's a fair point. Every implementation
- 13:04of Crossplane I've seen typically has Terraform
- 13:08as the setup of the actual cluster and everything
- 13:11beyond that, like at the application level is
- 13:13maybe Crossplane. But yeah, it's a chicken egg
- 13:16problem. You still have to start somewhere. Yeah.
- 13:18Yeah. But before you have the cluster, Well,
- 13:21before you have Crossplane, you need the cluster.
- 13:23Before you have the cluster, you need a network.
- 13:25Before you have the network, you need the account
- 13:27and you need the IAM. And then you need, well,
- 13:30if you're having networks, you need a network
- 13:32architecture. And in order to be able to do anything
- 13:34with the cluster to access it, you need a DNS
- 13:37architecture. And then how are you delegating
- 13:39the zones and where is that zone going to reside?
- 13:42And then it just, it spirals so quickly. And
- 13:46it's so convenient when somebody else has to
- 13:48worry about all of that. I've spent, it's pretty
- 13:51nuts in this era of specialization, right? I've
- 13:54spent the last 11 years of my life at Cloud Posse
- 13:59focused on zero to one. Just how do you go from
- 14:03having no AWS infrastructure to getting ready
- 14:07to deploy all your stuff on top of Kubernetes?
- 14:10And that has brought an interesting perspective
- 14:13to things that you can spend a whole life, virtually
- 14:16a career on just cold starts on AWS. Yeah. I
- 14:21say that with humility. So you had mentioned
- 14:23IDPs. Are you using IDPs? Do you find those useful?
- 14:27And do you have a platform team that manages
- 14:29that? Yeah. And what that means, I think, will
- 14:32mean different things to different people. So
- 14:35let's qualify this. We're not talking identity
- 14:38platforms, but internal developer platforms here.
- 14:42And there's been, you know, the OG on the block,
- 14:46let's say, would be maybe Backstage. If we're
- 14:50talking about internal developer platforms, there's
- 14:53some commercial offerings. There's a company
- 14:55that spun off doing Backstage service and others
- 14:58as well. But this is an area, like if we're talking
- 15:02zero to one, this happens after one. And so we've
- 15:07been a little bit less focused on like helping
- 15:09companies adopt something like a Backstage. But
- 15:12here's what I think is often misunderstood.
- 15:17It is easy enough to ClickOps up that Kubernetes
- 15:20cluster and then, you know, deploy the Helm chart
- 15:23and you are up and running. You got Backstage
- 15:25and now let's get to business. But I mean, if
- 15:29we're building something that's going to have
- 15:30lasting value for the company, it is, I don't
- 15:35know how to say it. It's like getting the, what
- 15:39do you call it? The outside of a car without
- 15:41any of the machinery, without the frame and starting
- 15:44there and then saying, we will add in. the frame,
- 15:49the motors, the wheels later, rather than starting
- 15:51from the foundation and building up on top of
- 15:54the pan and putting things on. So that's, yeah,
- 15:58that's the most important thing, I think, is
- 16:00you got to get the framework in place that enables
- 16:04you to deploy software of which Backstage is
- 16:09just one and an enabler for other things or other
- 16:12capabilities that you choose to have. The teams
- 16:15that I see that do that, though, Like effectively,
- 16:18like they often have teams whose problem is Kubernetes
- 16:22and that's what they're managing or their problem
- 16:25is managing that IDP because it ends up being
- 16:29a big investment. So where it works is in enterprise.
- 16:33Yeah, Spotify also says like six to eight developers
- 16:36full time. I mean, realistically, you're not,
- 16:40yeah, you're not, you don't have the manpower
- 16:41to run that. And yeah, we... I mean, we see this
- 16:46all the time, right? Like, look, I love Kubernetes
- 16:49as much as the next person who loves Kubernetes.
- 16:52But I've always taken this standpoint. We never
- 16:54recommend Kubernetes to a company that doesn't
- 16:57first come to us saying they want Kubernetes
- 17:00because you have to kind of opt into the pain
- 17:02and understand the trade-offs. So when it comes
- 17:06to that, why I bring that up is kind of like,
- 17:08well, you got to know what you're signing up
- 17:11for when you're trading. You're enabling a lot
- 17:14of team members by committing to maintaining
- 17:16this one centralized platform. And centralization,
- 17:19well, we've learned what that does. So are a
- 17:23lot of your customers, do they have like a monolithic
- 17:26application? Or do they already have that microservice
- 17:30architecture set up? Or is it a split? It is.
- 17:36We've seen everything. We've seen everything
- 17:38from people running a large monolith on a Kubernetes
- 17:42cluster. It's like, and why? To, you know, overly
- 17:46architected microservices architectures, which
- 17:49is kind of like just asking for pain because
- 17:52they're not at the scale where that makes sense.
- 17:55And I remember what I was getting to is like,
- 17:57we take a lot of our guidance. I mean, us as
- 18:00an industry, as practitioners, we look at the
- 18:03giants and what they do, right? And that's where.
- 18:06Kubernetes came from and that's where network
- 18:09defined architectures and that's where Backstage
- 18:12and all these things came from. And they made
- 18:14a lot of sense when you are at that scale, but
- 18:17they don't necessarily make sense at the starting
- 18:19point. So we see, I would say the biggest pattern
- 18:24that I've seen lately is teams adopting a
- 18:29poly-mono repo approach where they having a strict
- 18:34poly repo approach where you have one service
- 18:36per repo has has its challenges when you start
- 18:40having hundreds of repositories and managing
- 18:43that at any scale in organization to the extreme
- 18:47opposite, the Google-style monorepo where you
- 18:50have a thousand services inside of one repo and
- 18:53the cognitive load that comes along with that
- 18:55I can acknowledge the beautiful things that can
- 18:58also happen with a monorepo. But a lot of teams
- 19:01also don't have the sophistication to operate
- 19:03things like Bazel the way that Google does. Therefore,
- 19:07where I'm seeing is a really nice hybrid model
- 19:10where you have a number of repositories in an
- 19:13organization with a collection of services that
- 19:16are loosely related to each other and don't have
- 19:19tight couplings across. Because you never want
- 19:21to have two services tightly coupled across two
- 19:24different repositories or you're in deployment
- 19:26hell. Good point. Okay, let's shift gears. So
- 19:30one of the things that you had mentioned to me,
- 19:32I think, before we scheduled this was you said
- 19:34that the majority of work is now generated with
- 19:36AI. And it works because you have strong IaC
- 19:40frameworks, conventions, and golden paths. What
- 19:43changes made it real? Yeah, this is a sore point
- 19:52for me. I spent a lot of time thinking about
- 19:54it, a lot of time lamenting about it. How teams
- 20:02manage infrastructure as code today? It's not
- 20:06new. I mean, I've been at this for 11 years and
- 20:08even then it wasn't new. 11 years is a long time
- 20:13for a language to exist. And let's look at every
- 20:15other mainstream language today being used for
- 20:19software development that is being vibe-coded
- 20:22at what I like to say in vibe years, like moving
- 20:25really fast. And they have frameworks. Nobody
- 20:29starts a modern project in JavaScript unless
- 20:33for like some weird fundamental like philosophical
- 20:37reasons, and that project probably isn't going
- 20:41to see the light of day. They start with React,
- 20:44they start with Next.js, they start with Rails
- 20:47or Django, or, you know, the list just goes on and
- 20:51on and on, because frameworks give a convention
- 20:54to the team to operate. And that includes
- 20:57documentation. It includes nomenclature, how you
- 21:01refer to things, concepts, strategies, best practices,
- 21:06design patterns, and the list goes on and on
- 21:09and on. Yet our community within IaC has a purity
- 21:14test when it comes to Terraform that we don't
- 21:19use wrappers or no, we just got to write vanilla
- 21:22Terraform. But it's a lie to themselves and it's
- 21:25a lie to the organization because nobody ever
- 21:27does. When you only think of Terraform, it doesn't
- 21:32actually do anything. It provisions a resource,
- 21:35but it doesn't handle how you are going to promote
- 21:37that resource, how you're going to reconcile
- 21:40it that it was actually deployed, how you are
- 21:42going to scale it up across multiple team members,
- 21:45how you're going to lay things out on the file
- 21:47system, how you're going to manage the state,
- 21:49are you going to have lots of different state
- 21:51files, how you're going to... And then once you
- 21:54realize that you're going to need to solve some
- 21:56of these problems, and if you've already committed
- 21:58to a path, well, you got to go back to basics
- 22:01and re-engineer it. So what we have is all these
- 22:04teams working concurrently on the table stakes
- 22:08of what it is to do infrastructure and reinventing
- 22:10the wheel over and over and over and over and
- 22:12over and over and over again, and just writing
- 22:14HCL because you don't get anywhere. So where
- 22:16I'm going with this is we as a community need
- 22:20to gravitate towards frameworks, just like
- 22:23you have in real languages. And to say that Terraform
- 22:27or HCL is just a configuration language is, I
- 22:30think, insincere these days. You have loops and
- 22:33iterators and modules and call modules and interpolations,
- 22:37and it gets complicated real quick. So we need
- 22:40conventions and we need frameworks. And this
- 22:43is where we've kind of... gravitated towards
- 22:46at Cloud Posse, we started back in 2019-ish working
- 22:49on a project called Atmos. Atmos is... an IaC
- 22:53framework. It's based on open source. It's what
- 22:55we invest in. And it brings those conventions,
- 22:59you know, project layout structures, handling
- 23:04how you do authentication, handling how you install
- 23:07your toolchains, handling how you do versioning,
- 23:09handling how you do software promotion, all these
- 23:12things that everybody has to figure out. We've
- 23:14published and well documented exactly how to
- 23:17do that. So this is what I think we as a community
- 23:20need to do. Not necessarily our project. Look,
- 23:22there needs to be competition. Somebody else,
- 23:25please start a competitor. But if you're not
- 23:28in the business doing competition, just use Atmos.
- 23:30Well, that was kind of the idea with Terragrunt
- 23:34to a degree. I mean, right, they were trying
- 23:36to solve some of the fracturing of state files
- 23:38and being able to automate some of that, keep
- 23:41things DRY. But it didn't solve every problem
- 23:44either, though. It is. So Terragrunt is an excellent,
- 23:47they were the OG way. Once you started doing
- 23:50any sort of serious Terraform, you quickly reached
- 23:54for Medium and said, somebody must have solved
- 23:57this. And then you came across Terragrunt and
- 23:59you found that. And I think they've offered a
- 24:01tremendous amount of value for a long time and
- 24:03provided the community ways to do some of these
- 24:08things. What I still challenge is that they
- 24:12don't provide idiomatic ways of organizing and
- 24:16architecting infrastructure, at least to the
- 24:19degree that I think is required. So how do you
- 24:23solve, how do you architect? This is why like
- 24:25every week, there are like 10 posts on Reddit.
- 24:28How do I organize my infrastructure for
- 24:31multi-account? Over and over and over and over and
- 24:33over and over and over again. And the answers
- 24:36are the same. And from our perspective, always,
- 24:38always incredibly inadequate. As a company who
- 24:41spent 11 years only focused on cold starts. So
- 24:45this is what we call design patterns and how
- 24:48you organize your projects for AWS is slightly
- 24:50different from GCP, is slightly different from
- 24:54Azure and so forth. But there are really nice
- 24:58golden paths that eliminate the thought process.
- 25:02And this is the other thing that I love about
- 25:03frameworks, and we'll tie this back to AI here
- 25:06in a second, is that when you have a proper framework,
- 25:09it reduces decision fatigue because you just
- 25:12follow the conventions that are in place. This
- 25:15comes down to how you name your resources. Highly
- 25:18recommend you have a naming module or a naming
- 25:21provider that gives you programmatically consistent
- 25:24names. You just got to plug in the fields and
- 25:26your resource names are always the same. It's
- 25:28not like, is it prod cluster region service or
- 25:35service cluster region prod? It just normalizes
- 25:38and standardizes that. And then, well, which
- 25:41folder do I put this in or where do I put? All
- 25:44of that is handled by the framework. Here's the
- 25:48beautiful thing. When you adopt a framework,
- 25:51especially one like Atmos that has an insane
- 25:53amount of documentation and conventions, and
- 25:56every AI model now has been trained on it, it's
- 26:00pretty amazing because you can literally ask
- 26:02it just to build you out an architecture in a
- 26:06conventional framework-esque manner. So how
- 26:10do you organize your components and folders?
- 26:12How do you organize your configurations for those
- 26:15components? How do you install your tools? How
- 26:18do you handle authentication? And this has been
- 26:21one of the realizations we had over the past
- 26:23year is that every team needs to solve how you
- 26:26even get your tools installed. And that's different
- 26:28whether you're running in GitHub Actions, whether
- 26:30you're running on Linux, whether you're running
- 26:31on Mac or Windows. How do you get Terraform,
- 26:34OpenTofu, AWS CLI, all those things? There's
- 26:37a different way to do it. And that leads to inconsistency
- 26:41and a lack of reproducibility. Frameworks give
- 26:43you reproducibility. You'll know you'll have
- 26:45that when your pipelines become boring because
- 26:50they run one command and everything is handled
- 26:52by your framework. Authentication is another.
- 26:55Before you can even run Terraform, you need to
- 26:58be authenticated. And Terraform, yeah, it can
- 27:01do some role assumption based on your ambient
- 27:03credentials, but that's pretty weak. As a human,
- 27:06I need to integrate with single sign-on and
- 27:08log in that way. Maybe I need to break glass
- 27:10with an IAM user. In GitHub Actions, I need to
- 27:13exchange an OIDC token for my AWS credentials.
- 27:17And then I need to rinse and repeat that for
- 27:19Windows, Mac, and Linux. And then if we're
- 27:21multi-cloud, oh my God, let's start this project all
- 27:24over again and do that for Azure and do that
- 27:26for GCP. And these are just the table stakes
- 27:29to get started with running Terraform. So a framework
- 27:33should handle that. And that's what Atmos does
- 27:35too. So Atmos normalizes authentication, works
- 27:38with all of these things and gives you just the
- 27:41credentials you need to run Terraform. So now
- 27:44you can have your local skill files in your repos.
- 27:48You can use a framework like Atmos in each one
- 27:50of your application repos. And when your team
- 27:52goes to do anything, they can just talk with
- 27:56their, I heard a great term, their ADE. There's
- 27:59no longer IDEs, right? It's ADEs, Agent Developer
- 28:02Environment. So these days, you know, you have
- 28:05your vertical tabs on the left with all your
- 28:07sessions and different worktrees, but you're
- 28:10just conversing with, you know, Claude Code or
- 28:12Codex, et cetera, and manifesting the infrastructure
- 28:16you want. This is what's so cool. Now you have
- 28:19a framework, you have your skills, all of these
- 28:21things you can, and this is what we're doing
- 28:23at Cloud Posse every day now, is we're just conversing.
- 28:26and having the infrastructure built, running
- 28:29it through the pipelines that are in place, and
- 28:31it works. It's awesome. So I've attended a couple
- 28:36of DevOps office hours and heard the project
- 28:40growing over time. It sounds interesting. I haven't
- 28:45had a chance to actually use it in production
- 28:47because every company I've worked at is kind
- 28:50of locked into what they've already implemented.
- 28:52Yeah, that is true. Is there a good migration
- 28:56path? Yeah, that's a great question. So historically,
- 29:00we've had a really bad story on that. And if
- 29:03anybody listening has tried Atmos in the past,
- 29:05they might have realized that it was hard to
- 29:08do in a brownfield environment. One of the things
- 29:11that we've really invested in in the early days
- 29:14of Atmos was programmatic consistency. And that
- 29:18is a double-edged sword. If you are in an environment
- 29:21that is not programmatically consistent, from
- 29:24naming conventions to tag conventions to how
- 29:27things are organized, it used to be incredibly
- 29:30painful to use Atmos because it tried to enforce
- 29:34conventions where there were none. Well, over
- 29:38the past year, and I have a graph somewhere,
- 29:40it's just insane. If you look at, you can barely
- 29:43see the activity on Atmos compared to the activity
- 29:46we've had in the last year. because of the influence
- 29:49of AI. And with that has come a tremendous investment
- 29:53in developer experience. So now it works really
- 29:56well in brownfield environments. We've helped
- 29:58companies have existing Terragrunt architectures
- 30:01adopted into the Atmos framework. We've had companies
- 30:04who had just their hodgepodge scripts and things
- 30:07like that, want to bring it into Atmos. Now you
- 30:10can do that and benefit from, here's the thing,
- 30:14adopting a framework won't magically turn, is
- 30:19not a silver bullet. If you have an inefficient
- 30:22application and you just load it into Next.js,
- 30:26it isn't going to be magically scalable, right?
- 30:28You have to build it that way from the scratch.
- 30:31However, you can bring it in and build everything
- 30:35new that way. So now you have the benefit of
- 30:38a consistent way of developing what you had.
- 30:41But without rocking the boat too much and doing
- 30:44that. And then building out new things in a way
- 30:47that makes service-oriented architectures a little
- 30:51bit easier. Now, we haven't talked about that,
- 30:53but this is really what we're doing when we're
- 30:56doing Terraform these days. A lot of companies,
- 30:58when they get started, when they do Terraform,
- 30:59they have a monolithic infrastructure code base
- 31:02with Terraform. One root module with dozens and
- 31:06dozens of child modules maybe and instances of
- 31:08those and factories of child modules inside of
- 31:11a root module. But this is the equivalent in
- 31:14application development of having a monolith
- 31:16because every change, that whole thing is deployed
- 31:21as a unit in a container and shipped out. But
- 31:24in service-oriented architectures, notice I'm
- 31:26not saying microservices. Microservices is an
- 31:29implementation of services-oriented architectures.
- 31:31You break that in, break that apart. How you
- 31:34break it apart, that depends on the company.
- 31:37We like to say the things that typically change
- 31:40by themselves are good candidates to break out
- 31:43into their own services. And then now if you
- 31:46use a framework like Atmos, you have this option
- 31:48of starting to peel things out of this monolithic
- 31:51Terraform root module that you have into individual
- 31:54services that have their own lifecycle. And then
- 31:58they can start to share states between the monolithic
- 32:01core where you started. We like to call it your
- 32:04heritage environment. And then into your individual
- 32:07services. Very cool. Okay, so wrapping up, one
- 32:10thing you had also mentioned was self-service,
- 32:12enabling self-service without adding layers
- 32:14of abstraction and no-code platforms. What does
- 32:18that look like at a real org? Yeah, yeah. I guess
- 32:22there are three things that I really love about
- 32:25AI as an engineer. One is I never need to worry
- 32:29about merge conflicts anymore. Those are handled
- 32:32for me. So in terms of a team environment and
- 32:34collaboration, you can move a lot faster, step
- 32:36on toes, and just have the AI resolve those merge
- 32:39conflicts. Refactoring became a lot easier. So
- 32:43the cost of making certain mistakes is less.
- 32:46Not zero, but is less. And team enablement. So
- 32:50if I had to solve it once... We have as a practice
- 32:54internally, every new service that we develop,
- 32:57every new application we develop, it comes with
- 33:01its own skills. And if someone's not as familiar
- 33:05with this, there's an open standard. Go to
- 33:08agentskills.sh or .io. I forget which one it is. And this
- 33:12is basically what Claude pioneered, but has been
- 33:15embraced by every major ADE out there. The ability
- 33:19to have these markdown files, basically. And
- 33:22it used to be that WikiOps was pejorative, but
- 33:24now it is a sign of a healthy project because
- 33:29the agent can follow those things. So getting
- 33:32back to your point here, how this enables platform
- 33:34teams. Now, make sure you have a step one, pick
- 33:38a framework. Ours or someone else's. Step two,
- 33:41codify your agent skills. Step three, solve how
- 33:45you are going to do your. Code reviews, because
- 33:49as you open this up for more developers to contribute,
- 33:52you're going to be buried under code reviews
- 33:55and PR reviews. So you have to solve that and
- 33:59then solve your deployment process so those are
- 34:02painless and they just go up. And that is the
- 34:05replacement for these no-code platforms. I
- 34:08think that was the other point I was going to
- 34:09say. The saving grace of AI is that I don't need
- 34:14to rely on a no-code platform. I want code as
- 34:17an artifact. I want it to meet me where I am
- 34:20in my agentic editor, and I want the power of
- 34:24the MC... Oh, dude, that's the other thing we
- 34:26haven't even talked about, but MCPs. I know there's
- 34:29some FUD out there that MCPs are dead and that
- 34:31you just need CLIs. They are not. They serve
- 34:35a specific purpose that will make a lot of sense
- 34:37once you start using them and save on your context
- 34:40and your tokens. But like MCPs for AWS, MCPs
- 34:44for your telemetry, MCPs for your exception tracking
- 34:48and your logs, MCPs for any of your internal
- 34:51services. And you put those things together with
- 34:54agent skills in a service repo that you deliver
- 34:57to your users, and they are up and running in
- 34:59no time. It is just magical to see these things
- 35:02come together. Yeah, no, for sure. I have developed
- 35:06a lot of MCPs, as many as I can, just because
- 35:10the more context you can give and the more authentication
- 35:13paths that you can give to your AI, the better
- 35:16information you'll get back. So yeah, totally
- 35:18agree. And the enablement it offers, right? It's
- 35:20enabling the developers because I mean, most
- 35:23developers I know, the reason why they write
- 35:24something from scratch is they just didn't want
- 35:26to have to ask for help. So if you meet them
- 35:30where they are in their editor before they start
- 35:32writing from scratch and they give them the skills,
- 35:34give them the MCPs, my gosh, they're going to
- 35:38move really fast and blow through your token
- 35:41budgets. For sure. So where can people find out
- 35:44more about you, more about your projects? Yeah,
- 35:47we are very visible, very out in the open. Of
- 35:50course, there's cloudposse.com, which is our
- 35:52commercial site. It talks about some of our commercial
- 35:54reference architectures that we do using our
- 35:56framework. There is our project called
- 35:59atmos.tools, which is where we talk, where we have
- 36:03all the thorough documentation on our framework
- 36:05for IaC. I didn't mention, but like we handle
- 36:08Ansible, Packer, Terraform, Helmfile, and more
- 36:12types of components are supporting, are coming
- 36:16out for that as well. And on LinkedIn, of course,
- 36:19we'd love to connect with anybody on LinkedIn,
- 36:21linkedin.com slash in slash Osterman. And you'll
- 36:25find me there. Awesome. I'll leave links for
- 36:27all those in the show notes as well. Erik, thank
- 36:29you so much for coming on. Really appreciate
- 36:30it. Thanks, Brian. I had a great time. That was
- 36:32my conversation with Erik Osterman, founder and
- 36:36CEO of Cloud Posse. The biggest takeaway for
- 36:39me is that AI makes conventions more valuable,
- 36:43not less. If every team has a different Terraform
- 36:46layout, naming scheme, authentication flow, state
- 36:51strategy, and deployment process, AI can absolutely
- 36:55generate code faster, but it is still generating
- 36:58into chaos. Where things get interesting is when
- 37:02those decisions have already been made. There
- 37:06is a framework. There are known patterns. Authentication
- 37:09works the same way locally and in CI. Resource
- 37:13naming is predictable. Teams know where components
- 37:17belong and how changes move through the pipeline.
- 37:20Now, AI has something consistent to work with.
- 37:24I also liked Erik's point that Terraform itself
- 37:27does not solve all of infrastructure as code.
- 37:31It provisions resources, but teams still have
- 37:34to figure out everything around it. State, promotion,
- 37:38authentication, repository structure, tooling,
- 37:42and how different environments fit together.
- 37:44Every organization ends up solving those problems
- 37:47somehow. The question is, whether you intentionally
- 37:51adapt conventions or slowly build your own undocumented
- 37:55framework without calling it one. And that connects
- 37:59directly to self-service. Maybe the future is
- 38:03not another portal hiding infrastructure behind
- 38:06more buttons. Maybe self-service is giving engineers
- 38:09a well-defined framework, good documentation,
- 38:13agent skills, MCPs, and the ability to work through
- 38:18the tools they already use. The code still exists.
- 38:22The architecture is still reviewable. But the
- 38:26amount of context that somebody needs before
- 38:29they can contribute gets much smaller. So my
- 38:33takeaway is to use AI to eliminate the repetitive
- 38:36parts, but give it structure. Standardize the
- 38:40decisions that do not need to be made over and
- 38:44over again. Build conventions that both humans
- 38:48and agents can understand, and make the paved
- 38:52road good enough that people actually want to
- 38:55use it. You can find Cloud Posse, Atmos, Erik's
- 38:59work, and DevOps Office Hours through the links
- 39:03in the show notes. Follow or subscribe to Ship
- 39:05It Weekly wherever you listen, and find previous
- 39:09episodes at shipitweekly.fm. Thanks for listening,
- 39:13and I'll see you later this week.