Latest / AI Infrastructure / CDK for Terraform and two pizza teams
Transcript
- 0:00You see the little voodoo mask over
- 0:02there where I pray. I do my silent
- 0:06prayers and curse the forces of the day
- 0:08at Hashi Corp.
- 0:11>> Yeah. So that CDKF thing uh got you
- 0:15activated. So did you what did you do
- 0:18after hearing that news? Cuz I thought
- 0:20that project I I was I I think we
- 0:23discussed this project. No one was using
- 0:25it. I mean, or what was my impression?
- 0:29>> Triggered. Triggered.
- 0:30>> Triggered.
- 0:34>> He's pushing buttons, right? This guy
- 0:35woke up fresh. I don't know what I don't
- 0:38know what you want to, you know, get off
- 0:40before we start.
- 0:43>> Okay. So, anyone who's not aware, um,
- 0:45and this is my version of the story,
- 0:47right? My my my side of the story. Um
- 0:51when I woke up on Thursday last week um
- 0:54IBM
- 0:55has decided to sunset CDKTF
- 0:59even though that the week before that
- 1:01they were all there with and um with all
- 1:03the people from AWS and if you don't if
- 1:05you're not aware CDKTF kind of
- 1:07collaboration between AWS and Hashi Corp
- 1:09because CDK is is um is an AWS uh
- 1:12toolkit cloud development toolkit and
- 1:15only really successful for AWS cloud
- 1:18itself with AWS CDK there is some CDK TF
- 1:22for Azure but you know there's bicep and
- 1:26and Google I think they they try to use
- 1:28config um what's it config manager or
- 1:31config connect it's like crossplane or
- 1:33um based kubernetes based
- 1:38um so yeah it was sunset to be honest I
- 1:42have been trying to fork the repository
- 1:44and nobody did anything the repository
- 1:47had not received any love or any
- 1:49updates. It was still pinned to version
- 1:521.6 of Terraform and I think they
- 1:54released 1.13 lately.
- 1:56>> Uh most of the features that came to
- 1:58Terraform since 1.7 and I think 1.7 is
- 2:02when the whole BSL fork happened uh I
- 2:05think with 1.8.
- 2:06>> So ever since then
- 2:08>> you might as well go open tofu right at
- 2:11this point.
- 2:12>> Absolutely. So, so the the m so after
- 2:15the sunset event um which was posted on
- 2:19Reddit and hacker news and on LinkedIn
- 2:21uh most of the comments on on Reddit
- 2:23terraform obviously was nobody's using
- 2:27it right uh no let it die right hate
- 2:30those people why would people say that
- 2:32right and and then
- 2:35>> several of course Puli jumped on the
- 2:37opportunity it's like yeah CDKF is like
- 2:39two years younger than Pulumi so Pulumi
- 2:42came out first and it was kind of like a
- 2:46halfbaked effort from Hashi Corp to try
- 2:49and emulate what Palumi provides. I
- 2:51don't think that's really the case. I
- 2:53mean maybe it was
- 2:55>> actually I've not used Palumi in anger
- 2:57so I don't know what to say about it.
- 3:00>> Yeah. So I did a very fun talk at DevOps
- 3:03Day Singapore about how Terraform
- 3:06Hashikorp language is a horrible way for
- 3:10developers to manage their
- 3:11infrastructure and goodness that there's
- 3:14only few other options such as Pulumi
- 3:16but nobody used it and somebody in the
- 3:18audience obviously took offense to that
- 3:20and um told me to do a a co-presentation
- 3:23for the AWS uh community day in
- 3:25Singapore in June and um and I got
- 3:29schooled
- 3:31cuz um I was like um this is how I have
- 3:34to do it with CDKTF and he was like oh
- 3:37in Pulumi it's literally like one line.
- 3:40Oh okay. So he kind of showed me the way
- 3:43and I have to say Pulumi is impressive.
- 3:46Um the only problem is and kind of how I
- 3:50changed my presentation because my
- 3:51presentation was all about how so much
- 3:53easier it is to use CDKTF than Terraform
- 3:56modules. And the fact is that he was
- 3:59showing all of my examples with Pulumi
- 4:01and they looked even easier with Pulumi.
- 4:03No, they look the same. Let's be honest,
- 4:05they look the same. Um so then um I
- 4:09changed my pitch mid presentation to
- 4:13basically say so many organizations have
- 4:15like two to three years Terraform
- 4:17footprint with like you know known
- 4:20automation solutions such as Atlantis or
- 4:22GitHub workflows that are all built
- 4:25around Terraform you know security
- 4:27scanners all built around Terraform IC
- 4:30so it's very hard sell as a product
- 4:33engineer who wants to build a product
- 4:35and leverage
- 4:36you know, a queue and a lambda and the
- 4:38tool has to be connected and you don't
- 4:40care how, right? And you do do
- 4:41serverless. You're building this
- 4:43beautiful API gateway with all of its
- 4:45endpoints going through ECS Fargate
- 4:47containers for long running jobs or
- 4:49directly to lambdas for a quick response
- 4:51and you don't care to learn about five
- 4:54different Terraform modules with 40
- 4:55different variable inputs and how do you
- 4:57configure an API gateway, right? So for
- 4:59serverless, you know, AWS CDK is
- 5:02amazing, but you know, try to come to
- 5:05your platform team and say, "Yes, I know
- 5:07you guys have this amazing Terraform uh
- 5:09pull request previews and and and
- 5:11scanning code and and and all this
- 5:13stuff, but I want to use AWS CDK. I want
- 5:16and then they have to start supporting
- 5:17cloud for uh or even you know more go
- 5:20towards them and say I want to adopt
- 5:22pulley and now they have to think about
- 5:23pulley um into this pipeline. Although
- 5:27that pulley's strong point is that they
- 5:28make um trans migration from Terraformed
- 5:32to their cloud very easy. Obviously they
- 5:34are backed by the original Terraform
- 5:36providers. So they have a lot of
- 5:37migration paths.
- 5:39>> Yeah. I'm just looking at Palumi now.
- 5:40They seem to support every language
- 5:42under the sun
- 5:44>> even YAML. Yeah, you can even put YAML
- 5:46as an input and you get uh you get
- 5:48infrastructure as code.
- 5:50>> So do they do they have tools to to
- 5:51convert the Terraform into into
- 5:53>> language? They have a very powerful I
- 5:55think they can even interact with the
- 5:57terraform back end directly right so you
- 5:59can have them side by side you don't
- 6:00need to migrate everything immediately
- 6:02the only problem is you have to now sign
- 6:04a contract with Palumi and then you have
- 6:05to you know
- 6:06>> so you're so the big problem with Palumi
- 6:09is that it's a commercial non-free thing
- 6:12right
- 6:13>> well when when the BSL announcement came
- 6:16basically when Hashi Corp announced that
- 6:18the source code was uh available but not
- 6:22allowed to be used in competing compar
- 6:24commercial platforms,
- 6:25>> the business license that they put on
- 6:27Terraform. Pulumi made a big
- 6:29announcement how they are the real free
- 6:32version, the real open-source
- 6:34infrastructure as code. So, I can't
- 6:37claim um
- 6:38>> Oh, so so they're open. Okay, hold on. I
- 6:40got to check out the GitHub now.
- 6:43They're open source.
- 6:45>> Yeah. And they um they also another
- 6:49famous pro for Palumi is that SST which
- 6:53is a I think originally SST they are the
- 6:56people that build serverless.tf TF uh
- 6:58serverless not serless.com.
- 7:02>> Yeah. SD, right?
- 7:04>> Yeah. Okay. So, so the source code is
- 7:07Apache 2 licensed. Okay. Okay.
- 7:09>> Yeah. So,
- 7:10>> but I'm guessing they have have a model
- 7:12because I see they see looks like they
- 7:14have like a a cloud UI, right?
- 7:16>> Yeah. So, they're they're like Terraform
- 7:18Cloud, right? They they give you the
- 7:20ability to very quickly get started.
- 7:21Just sign up to their cloud and get your
- 7:24Pulumi code ready. And the terraform
- 7:25cloud is is essentially non-free, right?
- 7:28>> Yeah. They both under management pricing
- 7:32models, right? I think we talked about
- 7:34that
- 7:35>> very first time back in September when
- 7:36there was this uh announcement of open.
- 7:39>> Okay. So, Palumi seems to be in a good
- 7:42position to deal with the CDKTF fallout
- 7:44then, right?
- 7:46>> Yeah. And they even have made their AWS
- 7:48CDK adapter generally available. So
- 7:51CDKTF had this in in um technical
- 7:54preview since its inception and for five
- 7:57years it was still in technical preview
- 7:59until it got uh you know shut down
- 8:01together with CDKTF. So the the adapter
- 8:04basically your team can write AWS CDK
- 8:06code and the adapter converts the the
- 8:08generating cloud formation into pulley
- 8:10equivalents allows your teams to quickly
- 8:13convert your AWS CDK to pulley as well.
- 8:16still that doesn't sound quite right to
- 8:19me because even if you convert your
- 8:21cloud information to Palumi, how the
- 8:22hell are you going to, you know?
- 8:24>> Yeah, it's I think this is just a um
- 8:28>> marketing
- 8:29>> just marketing and just to allow people
- 8:31to quickly do a PC on Palumi and then
- 8:34see the benefits of the cloud. I guess
- 8:36there is a benefit compared to cloud
- 8:37formation, right? It's very frustrating
- 8:40cloud formation sometimes when you kick
- 8:41off a roll out and then it gets stuck
- 8:43and it does a roll back and you have to
- 8:44wait an hour and and it's it's this
- 8:47cloud for all or nothing behavior that
- 8:49is sometimes very frustrating the
- 8:51ability for cloud form to you know lose
- 8:54track of resources if the logical ID
- 8:56changes. So that's where like terraform
- 8:58and puli are like advantage have
- 9:01advantages because of the the way they
- 9:03track state. They allow you to more
- 9:06carefully refactor your state, but they
- 9:08don't have this all or nothing guarantee
- 9:10like cloud form, right? Cloud formation
- 9:12is really like a database transaction.
- 9:13You kick off a roll out, it's going to
- 9:15go through. If it doesn't, it's going to
- 9:16try and roll back, which honestly also
- 9:18doesn't always work, right? Sometimes
- 9:20there will be something blocking it.
- 9:22Yeah. And then the roll back fails. So
- 9:24that's where people are like, oh, the
- 9:25AWS CDK is awesome. Cloud formation is
- 9:27horrible. um and then they maybe have a
- 9:30lot of issues with like managing the
- 9:33overall teams
- 9:34>> um interaction with cloud form stack. So
- 9:36pulley is in a really great position.
- 9:38They also have SSD.
- 9:40>> So SSD originally serless were built on
- 9:42cloud form and SAML um SAM sorry not
- 9:45SAML uh SAM the
- 9:47>> yeah I'm I'm an AWS SAM guy kind of guy
- 9:49to be honest.
- 9:50>> Yeah and SST was kind of like
- 9:51replicating SAM on top of AWS CDK. So
- 9:54you don't have to work with the AWS CDK
- 9:56abstractions but for example you can say
- 9:58I want open next deployed as serverless
- 10:00on top of lambdas. So SST gave you that
- 10:03um it take care of everything like I
- 10:05want an application right I don't care
- 10:07about lambdas
- 10:08>> I'm just clicking around Palumi I guess
- 10:11looks like it's done a quite a good job
- 10:13I'd say on the face of it
- 10:15>> it's just it's just the ball breaker is
- 10:18the fact that they will
- 10:21catch you in their in their web of the
- 10:24the
- 10:24>> cloud costs
- 10:25>> the cloud costs
- 10:27>> so there's there's no there's no open
- 10:29source
- 10:30>> there is cloud so
- 10:31There was one of the uh misconceptions I
- 10:34had as well about Pulumi was that I
- 10:36heard that it was expensive and you
- 10:38can't self-host but you can you can move
- 10:40your cloud hosted back end to an S3
- 10:43bucket but the the the counter to that
- 10:46is then but now you have to manage all
- 10:48of this cross team uh rolebased access
- 10:50control you know all the enterprise
- 10:52features that come around
- 10:54>> oh yeah software
- 10:55>> orchestration and all that sort of
- 10:56stuff.
- 10:57>> So so then you need to take that on
- 10:59yourself. Yeah. And and in that aspect
- 11:01in in the Terraform ecosystem, you have
- 11:03a lot of open source projects, right?
- 11:05And you can choose between um Spacelift
- 11:08um you can choose between Terra Team or
- 11:12um you you can choose Terra Mate or
- 11:14Terra Grand or Terra Grand Scale. So
- 11:16there's so many options around Terraform
- 11:18and for Purimi we didn't have that many.
- 11:20However, Spacelift and others say yes,
- 11:22you can also manage pulley with us.
- 11:24We're also hosting an S3 bucket and
- 11:27we're coupling it together with your
- 11:28terraform. So, so yeah, that's that's
- 11:31why most of the reactions Yeah.
- 11:33>> So, the
- 11:35let me I'm I'm just
- 11:38let me just share my screen. I was I
- 11:39just I just want to map out where
- 11:42infrastructure is at then.
- 11:44Sorry.
- 11:50And then we haven't even talked about um
- 11:53system initiative and uh and
- 11:57>> I hope I hope to catch up with um with
- 11:59Adam at the config management camp in
- 12:01Gent.
- 12:03>> Yeah, you give you a beautiful demo.
- 12:06>> Let me just trying to think.
- 12:09I don't know how to do the scale here,
- 12:10but I was I was going to put like maybe
- 12:13this terraform here
- 12:18and then this Palumi here
- 12:21and Palumi has seems to be the last.
- 12:23>> I would put AWS CDK all the way on the
- 12:25right. That is like the benchmark for me
- 12:29>> because it came first.
- 12:31M no I don't think I think Palumi came
- 12:34be around the same time or at the same
- 12:36time or little bit earlier to AWS CDK
- 12:39maybe
- 12:40>> okay that okay so we have to pre prefix
- 12:43this with AWS infrastructure
- 12:46>> and then I mean I was going to put it
- 12:48here but like anyway
- 12:50so most
- 12:51>> yeah for me it goes more to the right to
- 12:54puli because because it it has this
- 12:57little additional library like next to
- 13:00AWS CDK Here you can put SST because
- 13:03that is on top of poly
- 13:06>> SST.
- 13:07>> Yeah.
- 13:09>> Okay. So I was going to maybe put use a
- 13:12scale of like I don't know features
- 13:15because you I mean let's be we've talked
- 13:17about this before but you can't do
- 13:20uh well lambda and serless very easily
- 13:23on the terraform level.
- 13:26So you need something like
- 13:28>> it depends what features you're talking
- 13:29about because features are related to
- 13:32developer experience or operational
- 13:34experience um and and how you like do
- 13:38>> um previews plan previews and things
- 13:41like that.
- 13:41>> Well
- 13:44and rolebased access control.
- 13:47>> Um I'm thinking developer experience. I
- 13:49mean what do you mean operational
- 13:50experience like how easy it is to to
- 13:52manage or
- 13:53>> to refactor? uh for example let's say as
- 13:56a company we start with a single
- 13:58offering and we build a VPC with like
- 14:01some lambdas and so on and then later on
- 14:03we spin off
- 14:05>> I would always feature agility
- 14:08operational then
- 14:09>> yeah agility
- 14:12>> yeah so so
- 14:14>> so you're you're only looking at one
- 14:17dimension operational features
- 14:19>> yeah well I I sent you the link but I
- 14:22mean be good to explore
- 14:24the dimensions.
- 14:25>> I uh yeah, let me try and add the
- 14:28developer experience dimension.
- 14:30>> So, um
- 14:32>> just bossing you around.
- 14:33>> I mean, cloud form is probably at the
- 14:35bloody bottom, isn't it? I mean, it's a
- 14:36nightmare to work with.
- 14:39>> No,
- 14:39>> cloudformation is at the same level as
- 14:41Terraform. Come on, be honest.
- 14:43>> Going to give you that.
- 14:46I've refacted Terraform plenty of time.
- 14:49>> Okay.
- 14:49>> The tooling is good. cloudformation like
- 14:52you it's you.
- 14:53>> So we I'm going to create a separate
- 14:55scale for developer experience.
- 15:00>> Yeah.
- 15:01>> Oh wow. Hyperland does not
- 15:03>> I'm going to I'm going to put AWS SAM in
- 15:05the middle just because
- 15:08>> I'm on Arch by the way. I'm going to say
- 15:11like six times during this call.
- 15:14Do you know I started I started my
- 15:16channel by making Archix installed
- 15:18videos for noobs like you.
- 15:21>> No, I didn't have to install it.
- 15:25>> Oh, yeah. You're using Omar. You're
- 15:27using uh what's it called?
- 15:29>> Omari.
- 15:32>> Yeah, that's that's how way he pronounce
- 15:33it, right?
- 15:34>> Yeah. But you were sending me
- 15:36screenshots of Hyperland crashing or
- 15:38something, right?
- 15:40>> Yeah.
- 15:41>> That's why I'm on Arch.
- 15:44for the uh crash experiences. I think
- 15:48Arch cannot run this website. Uh cannot
- 15:50run um Xcoly draw.
- 15:54>> What?
- 16:00>> Maybe developer experience goes the
- 16:01other way or I think the same direction.
- 16:04>> What's okay define developer experience.
- 16:09>> Yeah, as a DevOps engineer you should
- 16:11know this.
- 16:14>> Well,
- 16:14>> okay.
- 16:16Basically we are not devops engineer we
- 16:18are platform engineers and one of the
- 16:20things that we should focus on is to
- 16:22provide our developers the tools so that
- 16:24they can take ownership on the services
- 16:26that they built and run in production.
- 16:28>> Okay. Okay.
- 16:28>> And the developer experience comes with
- 16:31um you know the the easiness at which
- 16:34they can define their production
- 16:36workloads.
- 16:37>> Yeah. So my my points of what my point
- 16:40of mental reference is like you know net
- 16:43lefi and u up cell and things like that.
- 16:48>> So essentially what what they need to
- 16:51twiddle with is is a config yaml and uh
- 16:54a CLI tool or something like that and
- 16:56that that's it right that that's that's
- 16:59my point of reference. Of course, so
- 17:02many companies just do it so much more
- 17:06convolutely convolut in a awkward way.
- 17:13Fly.io.
- 17:15>> What did you say you you you called
- 17:17>> Netlfi? Netlfi.
- 17:21>> Yeah. So, they all work in a similar
- 17:23way. There's some CLI and there's some
- 17:26config YAML
- 17:28>> or toml.
- 17:31Maybe I should do a scale for cost
- 17:35like or enterprise adoption or something
- 17:37like that
- 17:41because some of these things like Palumi
- 17:43is going to get expensive.
- 17:45Enterprise
- 17:51I don't know. So, anything I select
- 17:53doesn't show up on my on my browser. I
- 17:55think there's a problem with Chromium to
- 17:57be honest. Um, I'm on a Chromium browser
- 18:00>> on a fork
- 18:02>> and uh and doesn't render properly
- 18:04sometimes.
- 18:05>> So, Palumi is going to be expensive. I
- 18:07think cloudformation terraform is a bit
- 18:09tricky cuz
- 18:12No, I mean Terraform is good because you
- 18:14don't need to pay for rum.
- 18:19No rum.
- 18:21I think you cannot put operational
- 18:23features AWS
- 18:25above terraform
- 18:27or maybe
- 18:29>> I I mean I love it. I love it
- 18:31>> because it's backed by CFN. So you must
- 18:33have the same problems like losing
- 18:35logical um logical ID for resources
- 18:39loses the actual resource ownership.
- 18:41Although they have added a lot of new
- 18:43features to cloud form to help you
- 18:45refactor your code. But yeah, the main
- 18:47reason there is that organizations
- 18:49constantly change the names. Oh, we did
- 18:51a we we had um an offsite of the with
- 18:54the sea level team and we decided to
- 18:55merge our AI team with our data team and
- 18:58then all of these resources that were AI
- 19:00team.
- 19:01>> I love what you I love what you said uh
- 19:03a few chats ago with changing of IDs.
- 19:08You were saying that like uh you should
- 19:10just use labels, right, to address
- 19:12resources
- 19:14>> and not and use opaque IDs. I mean I
- 19:17really that stuck with me. I need to do
- 19:19that more.
- 19:21>> Yeah, I think so.
- 19:22>> Oh, and convince people you don't have
- 19:23to name a bloody bucket this certain
- 19:25way.
- 19:26>> And that's something that cloud form
- 19:28kind of forces upon you or AWS CDK,
- 19:30right? By default, it doesn't even allow
- 19:32you to define the physical ID of
- 19:33resources. And it and then I had some
- 19:36some um colleagues and they were like,
- 19:37"No, no, this load balancer has to be
- 19:39named exactly like this because I need
- 19:40to be able to find it in the console."
- 19:42And I'm like, "No,
- 19:43>> no,
- 19:44>> no.
- 19:46then you have to deploy the same stack
- 19:48twice and you you get an error because
- 19:49the load balancer identity like physical
- 19:52ID does already exist like
- 19:55>> you know and then I got this whole
- 19:57discussion with the team manager after
- 20:00the guy that tried to do what I I
- 20:03wouldn't allow him to do raised it up to
- 20:06our our manager and then said yeah come
- 20:08on Vincent we we're not deploying the
- 20:11same application twice in the same AWS
- 20:13account and it's like Well, yes, we are.
- 20:16And we are consolidating more of our
- 20:18infrastructure. So,
- 20:18>> okay. I mean, I think you're being a
- 20:20little bit danty. I mean, to be honest,
- 20:22I make assumptions right now. The thing
- 20:25I'm working with and I need to make it
- 20:27uh talk to each other at some point
- 20:31soon. Okay. So,
- 20:34um yeah. Uh well, I thought I mean I
- 20:39like to fill this void. I do think AWS
- 20:41Okay. AWS is so specific to serless,
- 20:44it's probably not worth beating around
- 20:46about.
- 20:48Uh
- 20:53I'm probably going to copy.
- 20:56This is so difficult because the
- 20:58functionality is not comparable, is it?
- 21:01>> Copy it or just drag it.
- 21:02>> Oh, sorry. I meant to copy it. Hold on.
- 21:04Let me copy my
- 21:07Okay. I don't know. We've just been
- 21:09dragging things around. Maybe we should
- 21:11we got to start somewhere. Let's
- 21:13>> say what we what we mean by this.
- 21:16>> Okay. Your developer experience.
- 21:19Um I'm I'm really surprised you put
- 21:21Terraform right rock bottom. I mean
- 21:22Terraform has an incredible developer
- 21:24experience.
- 21:25>> No,
- 21:27>> it does.
- 21:28>> It's a horrible developer experience.
- 21:31>> It's the worst.
- 21:32>> Okay. So, okay. I I think Okay, you're
- 21:35coming from a developer point of view.
- 21:37Okay. You're like the guy says like I
- 21:39don't understand this. What is this TF
- 21:41file?
- 21:42>> Why do you s make a whiny voice when
- 21:44you're the emulator developer a product
- 21:45engineer?
- 21:47>> What I'm saying is Terraform um is
- 21:51exposing every single API resource of
- 21:54the cloud of the SAS that you're
- 21:57interacting with, right? Either the
- 21:58cloud provider or um you know whatever
- 22:02um is it or whatever you're you're
- 22:04you're talking to. Every single API
- 22:08endpoint must be configured and then
- 22:10must be linked together. So if you're
- 22:12setting up an API gateway and a lambda,
- 22:14you must set up the IM role and the IM
- 22:17policy to you know provide lambda
- 22:19permissions. Then you have to do you
- 22:21know the lambda trust policy. Then you
- 22:22have to set up lambda permissions to
- 22:24allow the gate API gateway service to
- 22:27invoke the lambda that you have to do
- 22:29with terapform.
- 22:30>> Yeah. And then you have to do it for
- 22:32every possible scenario that those
- 22:34things can be combined together, right?
- 22:38>> Yep. Yep. Yep. Yep. I I'm just trying
- 22:40I'm just trying to come up with the
- 22:41right word. You have to basically
- 22:44>> manage everything and it's
- 22:45>> Yeah. As a developer and many people
- 22:47always came to me when I was purely
- 22:49Terraform only guy um and said like look
- 22:52I'm not like you. I cannot read the API
- 22:56docs or the provider docs and figure out
- 22:58how I need to comm connect connect all
- 23:00of these resources. Let me click ops.
- 23:02Let me go into the AWS console, click on
- 23:04this, then click on that and then after
- 23:06that I will try to capture everything.
- 23:09>> On the subject of click ops, is there
- 23:14good support by any of these tools to
- 23:16basically capture the state from from a
- 23:18from AWS? I think I think you should ask
- 23:21uh system initiative to give you that de
- 23:23demo because that's one of the things
- 23:25that he's advertising right like look
- 23:27people have clicked and now you have to
- 23:29you know control it so here you go
- 23:31system initiative doing that for you is
- 23:33there anything that does that really
- 23:34nicely
- 23:35>> I don't think so I don't think any of
- 23:37these tools help you fix whatever
- 23:40somebody clicked in clicks up still in
- 23:43but
- 23:44>> some of these tools allow you to avoid
- 23:46clickups to basically start the correct
- 23:50way um by defining it with SSD because
- 23:53they give you that ability to say like I
- 23:55had a gateway.
- 23:56>> I mean I I got a soft spot for click ops
- 23:58in a way just because I was on a
- 24:01>> I was on a job and it took it took me
- 24:03literally like a week just just to
- 24:05toggle something. Wow. I'm I'm
- 24:07exaggerating, but it took a while.
- 24:11>> And I thought to myself,
- 24:14>> yeah, absolutely. So that's the problem
- 24:16with a lot of these infrastructure as
- 24:18code libraries is that they're built
- 24:19from um a very low-level perspective and
- 24:23you can either and a lot of the tools
- 24:26that are being built right now is to you
- 24:30know reflect the reality of this
- 24:33nature of the cloud changing things
- 24:36under the hood right if you create an
- 24:38RDS instance it's going to auto upgrade
- 24:39to the latest Postgress version and then
- 24:41your Terraform's going to go like nope
- 24:43this is supposed to be Postgress 15.
- 24:45What are you doing running Postgress 18
- 24:47over there? You know, let's delete this
- 24:49database and recreate it.
- 24:51>> Yeah, actually
- 24:53>> dealing with dealing with data and any
- 24:55of these tools makes me a bit sweaty
- 24:59>> like uh
- 25:01what happened.
- 25:03>> That's interesting because that's
- 25:05exactly the argument that somebody made
- 25:07just now on a thread on Reddit because
- 25:09I'm I'm 24 hours on Reddit obviously. um
- 25:12that
- 25:14he just made the argument that the only
- 25:16place you would use something like
- 25:17Terraform is to manage databases.
- 25:19>> What?
- 25:20>> Yeah. Because he says like everything
- 25:22else is so dynamic and most of the stuff
- 25:24you shouldn't be doing with IC. IC
- 25:27should be done for these like um
- 25:30resources that take need additional like
- 25:33operational
- 25:34>> Okay, maybe he's got a point because
- 25:35it's got it's got more
- 25:38>> control
- 25:39>> stability aspects to it. Yeah. Yeah,
- 25:42because you're right. You do a because
- 25:44with IC it's often very close to
- 25:46GitHubs, right? You need to make a
- 25:48source code change,
- 25:50>> bring it to production.
- 25:51>> We're using Terraform to manage some
- 25:52data right now and and uh our basically
- 25:56one of our main guard rails is the plan,
- 26:00but no one reads the plan. No one reads
- 26:03the plan. Like we like we got like a
- 26:06nice GitHub summary to say like, oh, do
- 26:09you know you're recreating resources
- 26:10here?
- 26:13and they just go, "Yeah, whatever.
- 26:15Apply."
- 26:16>> That's weird because like first off, why
- 26:19is it recreating resources? That means
- 26:21that and that's the hard thing about
- 26:22Terraform.
- 26:23>> Well, I I didn't want to mention the I
- 26:25didn't want to mention the provider, but
- 26:27I'm I'm going to mention it. It's not
- 26:29going to incriminate anyone, but this
- 26:31the we've been working with the snow
- 26:33snowflake provider and it just wants to
- 26:36recreate things very easily, but it it's
- 26:38it's it's a complicated environment to
- 26:41be honest.
- 26:42>> Yeah. Some providers have really low
- 26:44quality.
- 26:45>> Yeah. And the snowflake one is in
- 26:50maybe someone has made a video about it,
- 26:52but it's it's it's came out of like I it
- 26:56came out of like the uh the Chan
- 26:58Zuckerberg Foundation or something like
- 27:00this. It's hasn't been maintained very
- 27:02well. Then Snowflake itself eventually
- 27:05adopted it.
- 27:07>> LOL. Oh, that's so funny. I I I used and
- 27:09there's so many experimental features in
- 27:11it, it makes you very nervous. I mean,
- 27:14and then Snowflake is only used by the
- 27:15like the biggest enterprises ever.
- 27:19>> Wow.
- 27:20>> We It's a very It's a very weird setup,
- 27:24but I guess it is it is better than
- 27:26managing it by by hand, I like to think.
- 27:29But still at the end of the day the the
- 27:31provider just seems to do SQL calls or
- 27:33or like it it it lacks so much
- 27:35functionality you're ending up having to
- 27:37write these like what do you call like
- 27:39SQL execute blocks here and there and
- 27:41everywhere which
- 27:43>> yeah so so this is kind of where I feel
- 27:47when I started on my Terraform journey I
- 27:49was like terraform everything right you
- 27:52create an RDS instance you need a
- 27:53database in it well we're going to
- 27:55define the terraform provider for
- 27:58Postgress and we're going to connect it
- 28:00to your RDS instance and we're going to
- 28:02create a database and we're going to
- 28:03create the plug the extensions that need
- 28:05to be active on that database and it's a
- 28:07nightmare because now when you ever you
- 28:09run Terraform you have to have a tunnel
- 28:11to connect to the Postgress instance and
- 28:12you know once you start doing compliance
- 28:14you need you need all types of security
- 28:16around that and and this is the type of
- 28:19stuff that it shouldn't be part of
- 28:21Terraform right like running SQL queries
- 28:24through a provider just to me already
- 28:26after using it for 10 years seems
- 28:28something like done that been there
- 28:30never again you know
- 28:31>> yeah okay I think we all agree I agreed
- 28:36I'm agreed with this whole developer
- 28:38experience at the bottom here um
- 28:40>> convinced you
- 28:41>> but but at the same time the things that
- 28:43we put at the very top don't really I
- 28:46mean that's for very narrow use cases I
- 28:49feel like we need to have maybe two axis
- 28:53at this point because we we need
- 28:56we We need like oh god
- 29:00one access to sort of
- 29:05we need we need the vertical access to
- 29:07talk about um what you can do like you
- 29:10know AWS
- 29:13feature
- 29:15>> but that's what the defex or what
- 29:16>> scope or something like well like the
- 29:19trouble is is that versal is good at
- 29:21setting up a website but you can't like
- 29:25run a database So I mean probably I mean
- 29:28maybe it does support database
- 29:29>> because is this as a higher level
- 29:30abstraction right?
- 29:33>> Yeah. So I understood. So so basically
- 29:36it needs to go down
- 29:38you know it needs to sink down here.
- 29:40Well well with with
- 29:42>> you just moved you just moved my devx uh
- 29:45scale to the right saying feature scope
- 29:48and and you just
- 29:50>> and then here I would say de dev
- 29:52experience because we need to basic okay
- 29:55we can discuss this later. I think your
- 29:56feature scope is the devx and your your
- 29:59x-axis should be the operational
- 30:01features that we we were just talking
- 30:03about
- 30:04>> because because the feature scope here
- 30:05like Versel has um great Devx so it
- 30:09needs to go up there but horrible
- 30:11operational experience such as like I
- 30:13need fine grain control to bootstrap a
- 30:15database I can't do that because first
- 30:17is very high level and under the hood
- 30:19it's going to create some type of data
- 30:21store and they take care of it which is
- 30:23like a trade-off right
- 30:25>> yeah they're going to you like three
- 30:26different types of data store and you
- 30:27don't care how they're
- 30:29>> Yeah, you're right. You're right. The
- 30:30operational stuff comes. Yeah. Yeah.
- 30:32You're right. You're right. You're
- 30:33right. I didn't know what SST v2 is.
- 30:36What the hell is that? That's just
- 30:37serverless, isn't it?
- 30:39>> So, basically the the way I understand
- 30:41it cuz I only came became familiar with
- 30:44SSD when my my friend introduced it to
- 30:46me. Um originally I think the server the
- 30:49people that built serverless.com
- 30:52they created um SSD on top of AWS CDK. I
- 30:56think serverless was using SAM and maybe
- 30:59cloud form directly and then they with
- 31:01some scripting around it and then they
- 31:03created um SST which is just instead of
- 31:07directly writing cloud form they would
- 31:09just leverage all of AWS CDK because AWS
- 31:11CDK is this amazing library that gives
- 31:14you these beautiful integration
- 31:15patterns. If you need to create a lambda
- 31:17and a gateway and you just connect it to
- 31:19it's going to take care of everything,
- 31:20right? So you don't have to generate
- 31:21every single cloud for resource, you
- 31:23just say here.
- 31:23>> So it's like a it's another sort of
- 31:26CDK/palumi
- 31:27type type offering, right?
- 31:30>> No, it's it's on top of so originally it
- 31:32was on top of cloud for then they
- 31:34rewrote it on top of um on on on AWS CDK
- 31:39and then they rewrote it on top of FUMI.
- 31:41So SSD is like the AWS CDKL2s. Um but
- 31:45they're trying to go like like Versel
- 31:48kind of in the middle.
- 31:50>> They are.
- 31:50>> Oh, we don't have Palumi on this top
- 31:52thing. I mean Palumi needs to be up here
- 31:56or something. I don't know.
- 31:57>> You're you're like yeah I was trying to
- 32:00duplicate it but it didn't manage to
- 32:02duplicate it. So yeah, Palumi and SST on
- 32:05operational I think there would be the
- 32:07same.
- 32:10Okay.
- 32:11>> Yeah, SSTV1 was on AWS CDK and SSTV2 is
- 32:15on top of Pulumi. Um, so
- 32:17>> how do you get exposure to all this
- 32:19stuff, man? I feel like I'm doing a lot
- 32:21and I don't get to touch some things.
- 32:24Okay. I guess you attend a lot of talks,
- 32:27don't you?
- 32:29It was my colleague uh sorry my ex-
- 32:31flatmate who um who who pivoted you know
- 32:34originally started with Amplify then
- 32:36with AWS CDK and then he says you know
- 32:37SSD is this amazing thing.
- 32:38>> Oh my god. Amplify. Oh my god. Sweet
- 32:41Jesus.
- 32:41>> Yeah. But Amplify also completely wrote
- 32:44itself on top of AWS CDK. Yeah. And then
- 32:46they just became like uh this portal
- 32:48that you it's kind of like I think AWS
- 32:50answer to Versel. This basically like
- 32:53allows you to create your front end to
- 32:55deploy it.
- 32:56>> Yeah. That's true. That's true. But I I
- 32:58never appreciated the stack.
- 33:01>> Okay.
- 33:01>> Yeah, they completely changed the stack
- 33:03because originally amplify was doing
- 33:04cloud formation and now it's just doing
- 33:07like CDK stacks and then it's just
- 33:10allowing you to manage your front-end
- 33:11deployments, you know, your S3 contents
- 33:13and your CDN configuration from an
- 33:16abstract level. A bit like Versel really
- 33:18like I think amplify is really like
- 33:20Versell.
- 33:21>> No, I think I think Vel is much better
- 33:23than amplify.
- 33:25>> When was the last time you looked at
- 33:26amplify? uh years ago and I I had I
- 33:29think I think I have a GitHub project
- 33:32about it and then it was impossible to
- 33:34like just maintain it. So basically,
- 33:38>> yes, I know that's what amplify used to
- 33:41be. But what I there was this uh lady
- 33:44who posted on LinkedIn access to a Udemi
- 33:46workshop that she had just published
- 33:48which was AWS AWS CDK and Amplify. And I
- 33:52and for free you got access for like two
- 33:54days or something like that. And so I I
- 33:55did a speedrun through it like literally
- 33:57in a day just crushed it. And um I went
- 34:00through the whole AWS CDK thing and the
- 34:02Amplify side of things. And this
- 34:04literally just like a month ago, not two
- 34:06months ago.
- 34:07>> Yeah. And and it's really like amplify
- 34:09when I looked at it and I haven't used
- 34:11forcell but um it really is like oh I
- 34:14want to do blue green experiment. Oh I
- 34:16want to do this. It just takes care of
- 34:17everything under the hood for you and
- 34:19you you just go here's my website source
- 34:21code and it just take care of the whole
- 34:23>> anyway. So we can put bloody amplify
- 34:26here. Gez.
- 34:28>> Yeah. Amplify V2 or whatever. Amplify
- 34:30current
- 34:34whatever
- 34:37new one. Okay.
- 34:39So,
- 34:41okay. So, now now if we
- 34:44and how do we account for the the cost
- 34:46of things? I guess let's let's just
- 34:49focus on operational features and and
- 34:51DevX. Can are you able to copy and paste
- 34:54into this one so that we have a a better
- 34:58graph here? or shall I just do it?
- 35:02>> Uh, yeah. No, my my my Chromium is un
- 35:05unresponsive.
- 35:06>> Okay, so if I maybe I put Terraform on
- 35:08the bottom here.
- 35:11Cloudformation too. God, it's got a
- 35:14terrible experience.
- 35:17Palumi
- 35:19looks like it can do a lot.
- 35:22Wait, it's going to look the same, isn't
- 35:24it?
- 35:25It's going to look the same. There's no
- 35:27there's no DevX and operational features
- 35:32seems to be the same thing, right?
- 35:35>> I mean, Palumi and Palumi cloud I guess
- 35:37and Terraform and Terraform cloud maybe.
- 35:40Uh
- 35:42so Palumi I would I would pose in terms
- 35:45of operational features a bit higher
- 35:48than Terraform and in terms of DevOps
- 35:50kind of in the middle. Um but but
- 35:54ultimately I can't help but think
- 35:56there's no the major differentiator
- 35:59short is going to be is just going to be
- 36:01it's just going to be price isn't it? We
- 36:04you you like if you were like a an enter
- 36:07like a Fortune 500 company,
- 36:11you're not going to use um
- 36:16well, you can't you can't use VEL and
- 36:18and things cuz that's not going to be
- 36:20enough
- 36:23and
- 36:24you're not going to use AW CDK and
- 36:26Terraform is as we know limited.
- 36:32But then you're gonna you're gonna
- 36:33basically pay for Palumi. Okay, this I'm
- 36:35not too sure where I'm going with this.
- 36:37>> Okay, I
- 36:38>> I also wanted to tie this into AI
- 36:40somehow, but it just it look it looks
- 36:42like Palumi is in a very good spot. And
- 36:45we haven't even talk about we haven't
- 36:46even talked about Kubernetes, but I
- 36:48don't want to talk about Kubernetes.
- 36:51Looks like Palumi is is on a I don't
- 36:54know if can can we invest in Palumi?
- 36:55Looks like it's in a really good spot.
- 36:58>> Are you building a tech radar? Maybe I
- 37:00should pull up the some famous tech
- 37:02radar.
- 37:05Um, hold on. Uh, what was I? Ah, AWS
- 37:10CDK.
- 37:13>> Not on the current edition.
- 37:16>> I would give AWS CDK highdevx but very
- 37:20low operational experience. And then SST
- 37:24given it's on on Palumi would be a
- 37:27little bit less on the DevX side because
- 37:29they don't they didn't build all the
- 37:31same like service levels but on the same
- 37:33level as Palumi in terms of operation
- 37:35because it lose uses Palumi under the
- 37:37hood. Yeah.
- 37:40What else is there?
- 37:44Does it make sense?
- 37:51Where are you? I don't see you anymore.
- 37:53>> I'm here. I'm here. I was just looking
- 37:56at um Oh.
- 37:59What the Why does it say data dog?
- 38:03>> What the I
- 38:05>> I was just I was just looking at the uh
- 38:10>> I think you're on this
- 38:11>> the tech radar.
- 38:15The thing the only thing it says on
- 38:17platform to adopt is uh ARM in the
- 38:20cloud. which sounds a bit weird
- 38:26sometimes. I wonder if these people that
- 38:28make those T radars really know what
- 38:30they're talking about.
- 38:34I don't know where which one you're
- 38:35looking at, but like I'm just guessing
- 38:40now.
- 38:43Uh,
- 38:46okay. Let's tie this back to AI. So we
- 38:49we just riffed about how
- 38:53Palumi ST is is in a good spot. We we
- 38:57Oh, we should we should put system
- 38:59initiative somewhere here, right?
- 39:01>> Maybe you can take this this slide back
- 39:04when you talk to Adam from system
- 39:06initiative where you put it.
- 39:08>> I'm not that I'm not that happy here,
- 39:09but like okay, what okay say you're the
- 39:14what do you call it? the chief
- 39:15technology officer of a of a big company
- 39:19that that had a whole bunch of AWS
- 39:22accounts
- 39:24>> only AWS.
- 39:25>> Let's say it's only AWS. Just just to
- 39:27keep the conversation sane.
- 39:30>> Yeah.
- 39:31>> How would you begin to manage it? Like
- 39:33let's even go even more bizarre. Let's
- 39:35say like, oh Vincent, we need to build
- 39:39up to 100 accounts and we need to do
- 39:41this in the space of six months.
- 39:45and or three months and you choose the
- 39:48technology to do it with can I assume
- 39:51that Vincent would choose Palumi
- 39:55and there's no budget I mean
- 39:57>> it would be between Palumi and or
- 39:59between SST and AWS CDK yes if there's
- 40:02no budget limitation
- 40:04maybe more towards SST then
- 40:07>> but SST doesn't have a a cloud and man
- 40:10and governance and or
- 40:12>> I think they may have runners but They
- 40:13they basically
- 40:15originally SSD they had their own like
- 40:18deployment pipelines but since they
- 40:20completely pinned themselves on pulley I
- 40:22would imagine that they are completely
- 40:24powered by Palumi deployments.
- 40:27>> Okay it sounds like Palumi. So okay so
- 40:31you would explain once once more why SST
- 40:34and and and Palumi and AWS CDK and cloud
- 40:37for what the relationship is right you
- 40:39understand AWS CDK. So AWS CDK is to
- 40:42cloud formation what SST is to pull. In
- 40:46other words, Pulumi gives you the
- 40:48low-level concept of an IM role, an IM
- 40:51policy and a bucket and an API gateway
- 40:55and a lambda. And then SST gives you the
- 40:58concept of I have an um an API gateway
- 41:02that's backed by a lambda and write
- 41:06>> higher level patterns, right?
- 41:08>> Yeah. SSD level two level threes and
- 41:11>> yeah and then and then Puni they have
- 41:15two different providers they have the
- 41:16pure terraform provider converted on top
- 41:19of their own engine so they they run the
- 41:21engine the configuration that you
- 41:23provide is in programming language or
- 41:25YAML or whatever they they run that
- 41:27inside a runtime they convert your
- 41:30program into configuration that then
- 41:33gets um executed right so if if you look
- 41:36at it like cdktf I to me pum and CDKTF
- 41:39is very similar um is that you write
- 41:42TypeScript code or Golang code or Python
- 41:44code and it generates configuration for
- 41:47the Terraform provider and PUMI their
- 41:49internal representation of whatever that
- 41:52cloud plug-in is right if they targeting
- 41:54AWS it's a plug-in for AWS this they
- 41:57originally just ported the provider AW
- 42:00for Terraform for AWS right PMI was just
- 42:03porting the Terraform provider and then
- 42:05building a programmatic interface on top
- 42:06of it I think they may like refactored
- 42:09the way that that works because now they
- 42:11have all kinds of hooks system. So while
- 42:14you are your program is executing some
- 42:16of your program execution is happening
- 42:19while it's deploying things inside the
- 42:21cloud. So if you look at Terraform, you
- 42:23you have a configuration and then the
- 42:25provider is executing the configuration
- 42:27and then the provider is you know config
- 42:29like sending the request to the API do
- 42:31this then send the request to the API do
- 42:33this right and Terraform
- 42:36does not really have a lot of features
- 42:38that allows you to mit deployment
- 42:40execute this function and then based on
- 42:42the output do something else right by
- 42:45design because originally Terraform was
- 42:47meant to be very deterministic very
- 42:49predict predictable so that you are able
- 42:52to to know this is the exact
- 42:53configuration what I want all of these
- 42:55resources to look right right but with
- 42:57pulley you have like this on on event
- 42:59type of things um you can you can hook
- 43:02into the process and if you're deploying
- 43:04to a region that only has two
- 43:05availability zones you automatically
- 43:07like um adjust the configuration towards
- 43:10it right so yeah so pulley has these
- 43:13like events um and I think AWS CDK has
- 43:17similar things because while you are you
- 43:19know as as a as a product engineer
- 43:22defining this is what I need to deploy.
- 43:24It will also hook into the target
- 43:26environment depending on how you are um
- 43:29calling the the constructs. They can
- 43:31basically decide that okay I I just I
- 43:34just downloaded the whole VPC setup. I
- 43:36know there's two subnetss and they are
- 43:38into the these these availability zones.
- 43:40I know all of this information which is
- 43:42called the context of the environment
- 43:44that you're deploying into and they can
- 43:46reconfigure or generate cloud form
- 43:47stacks accordingly.
- 43:48>> I didn't even I've never written a CDK
- 43:50like that. Um
- 43:51>> yeah that's that's what context
- 43:52providers do and and then to make sure
- 43:55that still deterministic that context
- 43:57that was used to basically determine how
- 44:00the uh cloudformation stack is generated
- 44:02is also stored on disk. So you can then
- 44:04put that into your GitHub um into your
- 44:07version control sorry git and then you
- 44:10can um you know rerun the context lookup
- 44:12to update your context. So then if you
- 44:14want to change things for example maybe
- 44:16maybe one day you are targeting
- 44:18Singapore region and it only has two
- 44:19availability zones uh but the next time
- 44:22Singapore introduced the third
- 44:23availability zone and you don't want all
- 44:25of your cloudformation
- 44:26>> you're blowing my mind here CDK you
- 44:29would check in something into your in
- 44:31>> the context yes so so
- 44:33>> I've never seen that done I mean the CDK
- 44:36is all managed in cloudformation
- 44:38is how I understood it
- 44:40>> CD no CDK generates cloudformation but
- 44:43in the process of generating cloud form.
- 44:45It can do some callouts to your
- 44:47environment to determine how to best
- 44:49generate the cloudformation.
- 44:50>> Do you have an example of a context
- 44:52checked into Git? I guess it's all going
- 44:54to be
- 44:54>> Yeah, the one that I I was just talking
- 44:56about and the example that they give why
- 44:58you should checking your context is
- 45:00exactly what I just said like let's say
- 45:02that the new availability zone is
- 45:03introduced and that kind of like deter
- 45:08subnetting logic that you have a whole
- 45:10like subnet for this particular tier of
- 45:13of of your
- 45:14>> blowing my mind. I didn't really know
- 45:15about this context. I have I have to
- 45:17look it up. And then and then and then
- 45:19when you do CDK bootstrap it it creates
- 45:21like three different bloody places for
- 45:24things or something if I remember
- 45:25correctly.
- 45:25>> Yes. because CDK is very enterprise
- 45:27focused allowing you to exactly control
- 45:30how to um you know how the the the
- 45:34bootstrap happens right like what are
- 45:36the basically CDK has this asset
- 45:39bundling pipeline and that's why it
- 45:41bootstraps so many things because if you
- 45:43do terraform you just need to find a way
- 45:45for example to put an object into a S3
- 45:47bucket so that your lambda can point to
- 45:49it and then deploy the source code from
- 45:51the S3 object or maybe your lambda wants
- 45:52to be deployed from a docker image so
- 45:54you need to use ECR So these asset
- 45:56repositories uh the ECR and the S3
- 45:59bucket are very important in the way
- 46:00that you deploy your code and this is
- 46:03more important if you do serverless
- 46:04because you know you have all of these
- 46:06snippets of of of code that that need to
- 46:08be coordinated together with your Lambda
- 46:10um configuration and the environment
- 46:11variables and everything right so AWS
- 46:13CDK has a built-in asset pipeline and
- 46:16and and part of the things that it
- 46:17bootstrap is all of the necessary
- 46:19supporting um architecture for that
- 46:21asset pipeline it will create an ECR
- 46:23repository so that it you know, so that
- 46:25they can build a Docker image part of
- 46:27the, you know, bundling aspect of your
- 46:29of your application and then deploy that
- 46:32that Docker image in or push that Docker
- 46:34image into the um into ECR the asset
- 46:38registry for Docker images or you know
- 46:41push the bucket maybe which is an ES ES
- 46:45build bundled NodeJS with all of its
- 46:47dependencies and whatever AWS SDK is
- 46:49external needs to be external because
- 46:51that's provided within the runtime. So
- 46:53all of that is taken care of by AWS CDK
- 46:55because it has this beautiful asset
- 46:56pipeline, right?
- 46:57>> Well, I noticed it in one in my
- 47:00workplace that when AWCDK deploys this
- 47:02Fargate pattern or whatever, it's
- 47:05building the Docker image in the same
- 47:07pipeline. And I thought to myself,
- 47:10>> yeah,
- 47:10>> that's not cool.
- 47:12>> It depends. So as soon as the Docker
- 47:16file build fails with some rate limit,
- 47:19then then the whole deployment fails.
- 47:21That's a joke in my opinion.
- 47:23>> Uh to be honest,
- 47:26if you are coming from a developer
- 47:28experience perspective, not being
- 47:30bothered by how exactly your code gets
- 47:33bundled up and and made available to be
- 47:36deployed is kind of a feature that you
- 47:39want and that's why they have it, right?
- 47:40This asset pipeline thing. From looking
- 47:43back when I started with AWS and
- 47:45Terraform, I very strictly said, okay,
- 47:47your code, for example, your website and
- 47:49your bundle, the way that like assets
- 47:51are getting deployed is very
- 47:52disconnected from your infrastructure,
- 47:54right? Classically,
- 47:55>> I'm not so sure I'm a big believer that
- 47:57because because these things,
- 47:58>> it's wrong. What I just said is wrong.
- 48:00When you start out, you think like I
- 48:03have a very very strict separation
- 48:05between infrastructure and the code
- 48:07because my infrastructure is, for
- 48:09example, my Kubernetes cluster. It's my
- 48:11S3 bucket and my cloud cloudfront uh CDN
- 48:14setup, but the actual website that's
- 48:16managed by the product team that need to
- 48:18be deployed and rebuilt is decoupled
- 48:20from it. Right.
- 48:21>> Exactly. Exactly.
- 48:22>> Exactly. And that's wrong.
- 48:24>> What? absolutely wrong because if you're
- 48:28doing um actual DevOps culture two pizza
- 48:32team where you have site reliability
- 48:33engineer as part of the product team the
- 48:35whole deployment process belongs to the
- 48:38product team not to the infrastructure
- 48:40team.
- 48:41>> Yeah. Okay. Okay. But there's more to it
- 48:46because you don't want a product team to
- 48:49manage Kubernetes. But okay.
- 48:52>> Why? I mean like sure you don't want
- 48:54them to damage to manage Kubernetes.
- 48:55That's where you as a platform team are
- 48:57provisioning the the the Kubernetes and
- 48:59the integration points like the
- 49:00Kubernetes endpoint where they need to
- 49:02target their deployments towards, right?
- 49:04>> But we're not talking about Kubernetes
- 49:06here, right? We were talking about an S3
- 49:07bucket and the contents of that S3
- 49:09bucket or a lambda and the contents of
- 49:12that lambda together with like let's
- 49:14imagine that you're you're deploying
- 49:15this API gateway like this magic. I feel
- 49:18like we need another scale about how the
- 49:20how the organ how the organization is
- 49:22done like if it's if it's like team team
- 49:26topology or whatever.
- 49:28>> Yes. Because that's what a lot Ben
- 49:30Israeli figured out after he left AWS
- 49:33and why AWS CDK works so well in in AWS
- 49:35but doesn't work in other organizations
- 49:39>> because
- 49:40>> because in AWS they have a two pizza
- 49:42team they have an S sur uh as part of
- 49:44the team. The team is responsible for
- 49:46all of the observability for every
- 49:48paging alert that happens. It goes to
- 49:50the product team. They are deploying 100
- 49:52times a days. They get the alerts. They
- 49:54have their their product uh you know
- 49:57reliability and their runbooks.
- 49:58Everything is managed by the team. But
- 50:00in a lot of organizations there's still
- 50:02a very strict separation where you have
- 50:04a security team responsible for the IM
- 50:06roles and other team responsible for
- 50:07other things and that's where team
- 50:09topologies are are are then making it
- 50:12obvious.
- 50:13>> Yeah. I mean, to be honest, I'm I'm been
- 50:15working with strict separation, you
- 50:18know, separation of duty type outfits
- 50:22for like a decade now. So, I'm pretty
- 50:24I'm pretty like
- 50:27I don't know how to describe I I I don't
- 50:30even know what it's like to be in an
- 50:32autonomous team anymore.
- 50:35>> Yeah. So, so
- 50:37>> it's it's crazy that AWS can do that in
- 50:40a way considering you know
- 50:42>> you know where I like
- 50:44>> very nicely and a public artifact of
- 50:47this as an example as part of AWS CDK
- 50:51and the the whole CDK ecosystem they
- 50:53built this thing called the construct
- 50:55hub. So the construct helper if you go
- 50:57to constructs.dev
- 50:59I think it is is a place that you can
- 51:02find every single construct that was
- 51:04built and remember constructs are
- 51:06usually you know L2s or L3s built by the
- 51:10community. Yeah. Constructs.dev. So
- 51:12these are amazing. Um
- 51:16they are they're like the terapform
- 51:18module registry but instead they it
- 51:20doesn't cover a niche technology by one
- 51:22company IBM. um and then pedled by other
- 51:26companies like Spacelift. Instead, this
- 51:28is using registry of .NET, Golang, Java,
- 51:32Python, TypeScript and its best-in-class
- 51:35um you know artifacts or yeah artifactor
- 51:38um artifact registries. So across all of
- 51:41these so so this construct hub is a
- 51:44complete public GitHub repository and if
- 51:47you go to that public repository of the
- 51:49source code of the construct hub you see
- 51:50that it's a massive serverless
- 51:52application um basically there's um
- 51:56there's
- 51:58what is it it's it's a kinesis stream
- 52:01subscription or it's a stream
- 52:02subscription
- 52:03>> to npmgs
- 52:05uh publish published packages right so
- 52:08so if you go to the source
- 52:11um you can find and the reason this is
- 52:13public is because you can deploy this
- 52:14within your organization. So it tells
- 52:16you exactly how you can operate this
- 52:18within your organization. For example,
- 52:19you have your own private registry of
- 52:21npm your own net registry that you don't
- 52:23want to be public and you want to make
- 52:25it this construct hub available within
- 52:27your enterprise you can do that and and
- 52:30it has documentation with guide books
- 52:33exactly what is the alert that's set up
- 52:35like there's a backup bucket uh in in a
- 52:38separate region. So if a region is down,
- 52:40all of your registry downloads are still
- 52:42available in a separate region and this
- 52:43is how you do a failover and this is how
- 52:45you do that. These docs are amazing. So
- 52:47when I saw this, I was like now I
- 52:50understand how a product team can build
- 52:53something and has like very detailed
- 52:55runtime guidelines on on how to observe
- 52:57and react to alerts and why that alert
- 52:59exists because it creates all of the
- 53:00Cloudatch alerts. It tells you exactly
- 53:02why the alert is triggering and how to
- 53:04handle that that instance. So that's on
- 53:05one side like a two pizza team. You want
- 53:07to see a beautiful implementation or a
- 53:09product delivered by a two pizza team,
- 53:11you look at the construct hub. It's I
- 53:14looked at it, it was amazing.
- 53:15>> So I mean these the these people the two
- 53:19pizza team has to be like super mature
- 53:22to take take on all these
- 53:25this uh this responsibility I suppose.
- 53:29But mean but meanwhile most most
- 53:31companies are designed to to silo
- 53:35responsibility for for lots of good
- 53:38reason
- 53:38>> because once you start talking about
- 53:40compliance and and those initiatives
- 53:42then now you need to align and you need
- 53:45to like do across all of your your teams
- 53:48you need to make sure that the the
- 53:49technology they are using are are are
- 53:51similar so that you can push through
- 53:53huge initiatives. you know, you have
- 53:54have one team doing it like this and
- 53:56another team doing it all on on Google
- 53:58Cloud, you know, it's it's extremely
- 54:01difficult difficult to get like um
- 54:03compliant and I guess like AWS is really
- 54:06good at that as well. Um but most
- 54:08enterprise main main you know business
- 54:13is not about doing all of that, right? I
- 54:15mean AWS is a company providing cloud
- 54:18services and they they are building
- 54:19cloud services and they have a great
- 54:21team to build cloud services. So that
- 54:24makes sense.
- 54:26Most companies the DevOps um you know
- 54:29type of of of initiatives are
- 54:33part of an operational team that is
- 54:36short staffed and that needs uh
- 54:38alignment across the teams and centrally
- 54:41controlled and um and that's where team
- 54:44topologies come in right. So, so which
- 54:47so which tooling by that explanation
- 54:50would they gravitate to in your opinion?
- 54:58I believe with with things like AWS CDK
- 55:01and Construct Hub, you can have a
- 55:03platform team that builds really
- 55:04powerful constructs for the rest of the
- 55:06organization. constructs that make sure
- 55:09that the the patterns used by the
- 55:11product teams are supported and can be
- 55:13easily integrated within compliance
- 55:14initiatives and and zero trust and all
- 55:16those you know crossorganizational
- 55:19um effort that you don't want to go
- 55:20through every team and try to fix them
- 55:22up. You want to give them an approved
- 55:25and and rubber stamped.
- 55:26>> Yeah, that's exactly what happens in my
- 55:28current gig right now. We create
- 55:30constructs for for other teams to use.
- 55:34>> Yes. And and that requires your platform
- 55:37team not to come from pure operational
- 55:39background, right? requires your con
- 55:41your platform team to understand how to
- 55:42do object-oriented programming, how to
- 55:44define an interface, how to integrate
- 55:46that like iterate on that interface, how
- 55:48to do you know contracts across teams,
- 55:50how to test against those contract
- 55:52contracts and then you come to an
- 55:54organization that's using Terraform
- 55:56because the old system administrators
- 55:58that like config files never wrote uh
- 56:01actual object oriented interface or
- 56:03whatever and then they cannot deal with
- 56:07CDK. they cannot deal with like all of
- 56:10these like program.
- 56:12>> Yeah. Well, we we tr we uh
- 56:16>> I I sound because I'm I'm a bit
- 56:18frustrated because I was in a lot of
- 56:20those things where I try to to introduce
- 56:22this and and I always get like the
- 56:24feedback like you know Terraform is
- 56:26simple why do you make it so complicated
- 56:28but in reality Terraform is not simple
- 56:30and one year down the line two years
- 56:32down the line you have Terraform modules
- 56:34that have such a complex interface
- 56:36there's no testing because you have
- 56:38never thought about like actual software
- 56:39testing on your infrastructure as code
- 56:41Okay, cool. But you're actually doing
- 56:43infrastructure as
- 56:44>> comp. We need and we need to wrap up in
- 56:46five minutes. I need to run out and drop
- 56:48my kids off to school. But like
- 56:52>> but just on this point
- 56:55uh you you develop constructs for for
- 56:58for um for other people in your
- 57:01organization to use, right?
- 57:05But but the trouble is the trouble is is
- 57:07that
- 57:09um
- 57:11let me just get this clear. Do you
- 57:12expect people to use your constructs via
- 57:15a config.yaml or do you expect them to
- 57:18use like a a like a Python uh library or
- 57:22something?
- 57:24>> Yeah. So I think there's very different
- 57:27personas. Um, and I think as a platform
- 57:31team, what you should be building
- 57:35maybe exposes a flat interface like a
- 57:37YAML, but I don't like YAML. At least it
- 57:39should be JSON schema type YL so that
- 57:42they get an error if they use a field
- 57:44that is not there, right? You can do
- 57:46YAML uh
- 57:48>> with JSON schema or use most companies
- 57:51use pedantic. Pedantic
- 57:54>> pedantic on YAML. I never tried that.
- 57:56>> Yeah. Yeah.
- 57:57>> But how does pedantic work? It must must
- 57:59have some type of schema for the data
- 58:01structure behind it.
- 58:02>> Yeah. So so basically pedantic if I
- 58:04understand correctly
- 58:06it uh it has its own model. So so the
- 58:12the you the way they use pedantic is
- 58:13that you you read in that YAML and then
- 58:15you compare it against the model and the
- 58:17model is very powerful. You know you can
- 58:19you can express anything in that model.
- 58:22>> Okay. And then the model basically tells
- 58:24you if if it's um yeah how what what all
- 58:27the configs going to be and and if the
- 58:29config yl is valid and
- 58:32>> s so forth and it's used a lot.
- 58:35>> Yeah. So what the way I handled like the
- 58:37problem with YAML with it being so
- 58:40unstructured is that we use YAML often
- 58:43as an input for generating
- 58:46um well if you put it on top of
- 58:48Terraform you can do the Terraform plan
- 58:50preview to see how how messed up you did
- 58:53when you agreed to it.
- 58:55>> But it it sounds like such a this whole
- 58:58this whole area with the governor. Okay,
- 59:01I do want to bring this back to we I
- 59:04guess we can continue but like what what
- 59:07what of all these technologies that we
- 59:09sort of try to map out here badly what
- 59:13do you think AI is going to help any of
- 59:16these problems that we have at the
- 59:18moment like the teams
- 59:21the devx
- 59:25did
- 59:25>> so I did a podcast about a year ago
- 59:27about the AI and the infrastructure and
- 59:29They compared it as a new way of doing
- 59:31click ops. Basically, you just have
- 59:33these rampant LLMs just going around
- 59:35creating things across different areas
- 59:37where you have no idea. So the main
- 59:39point of bringing AI to an organization,
- 59:41I think we might have talked about this
- 59:43already was that we need to guide the AI
- 59:46with rules and sandboxes and there's
- 59:48several organization like several um
- 59:51tool tooling suppliers like stackpack
- 59:53that are focused on.
- 59:54>> So basically basically we're going to be
- 59:56in this area in AI
- 1:00:00We're we're we're headed to the
- 1:00:02governance
- 1:00:04side of things.
- 1:00:06>> Uh yeah, I mean in a way it's like you
- 1:00:11see what Cloud Skills is doing and and
- 1:00:13now Kira superpowers. It's all about
- 1:00:16giving the LLM directions, right? And
- 1:00:19and and right now they're generic, but
- 1:00:21I'm sure a lot of organizations adopting
- 1:00:22AI are are creating internal rules,
- 1:00:26right? They're saying okay uh if you're
- 1:00:28using cloud use our rules use our skills
- 1:00:31directory internally within our
- 1:00:32organization. What kind of rules would
- 1:00:34there be? Like use
- 1:00:35>> if you want to deploy the integration
- 1:00:37points for a VPC are in this repository.
- 1:00:40Don't create a VPC for scratch. There's
- 1:00:42an existing one and this is how you find
- 1:00:43the information about it. Right? Our
- 1:00:47ingress is handled through our CDN layer
- 1:00:50and uh we must follow these rules so on
- 1:00:54right like the platform team uh are
- 1:00:56here. This is the registry where you can
- 1:00:58find information about the different
- 1:01:00integration points. as a product team,
- 1:01:02you're going to have to integrate into
- 1:01:03the platform team or the cloud.
- 1:01:05>> Yeah. Yeah. I mean, that that makes
- 1:01:07sense, but I'm just thinking aloud that
- 1:01:10um
- 1:01:12how is this actually governed? So,
- 1:01:16so you have the rules and and you and
- 1:01:18like say say u a product team. Oh
- 1:01:21I need to go. But okay, we need to pick
- 1:01:25up here. We need to pick up here about
- 1:01:26how AI is going to work in a typical
- 1:01:29organization. Why did we end up talking
- 1:01:31about this? Because you asked me about
- 1:01:33CDKTF and I just went on my classic
- 1:01:37rant.
- 1:01:38>> Yeah, we can we can reflect. Okay, I
- 1:01:41I'll catch up with you in a bit. Uh
- 1:01:43probably tomorrow, right?
- 1:01:44>> Yeah, tomorrow because I in a bit I'll
- 1:01:47also be on the road.
- 1:01:48>> Okay. So,
- 1:01:49>> okay. Good one. Thanks, Vincent.