Skip to main content

almost 3 years ago Syntax Podcast

Supper Club × Flightcontrol with Brandon Bayer

Wes Bos

Wes Bos Host

Scott Tolinski

Scott Tolinski Host

Topic 0 03:09

Started pilot training at 15, got license at 17

Guest 3

Wow. Basically, I mean, I I, so I do a little bit of flight planning. I check, like, where's the closest smaller Or to where I wanna go. And then,

Guest 2

fly to a conference. What are the logistics like for

Guest 3

rating yet, so I can't fly in in bad weather.

Guest 3

and then check the weather. And I have to keep an eye on the weather because, by setting up the CloudFront CDN for you. So you get everything StaticAssets and stuff very fast. You get the load balancer. And behind that you get Fargate for building full stack web apps. And like, one of the big parts of that was RPC,

Guest 2

Oh my gosh.

Guest 2

Yeah. That's a good excuse that you're working on a plane.

Guest 3

and basically been flying ever since, although there was an 8 year break in there where I didn't have time or money. Yeah. Yeah. I can imagine that's that's not a cheap hobby to have, but that's so cool to be able to just That is correct. The past couple conferences I've been to, I flew myself.

Guest 2

It's incredible.

Guest 3

Make sure they have fuel, it's a bit more brittle. It's a bit more manual.

Guest 3

But as long as all those things are good, then I just get in and go. Wow.

Guest 2

Flying in for a conference. Like, how do you even do do you have to let them know, here's my flight plan, here's when I'm arriving? Like, what what do you even do for that? I just get in my plane and go.

Guest 3

small planes are are not as good in weather, and I don't have my instrument

Guest 3

Got my license as soon as soon as I turned 17, which is the minimum age, servers, background servers that don't expose the public,

Guest 3

check who are the, what's called the fixed base operators, the FBOs on the field, which is basically like which businesses there And see, like, check, do they have parking, and how much does it cost? or AWS has a native version called code build, of queuing scheduling system,

Topic 1 32:10

Nix Packs optimizes Docker caching

Guest 1

there was

Guest 3

that it just takes longer to get set up. So it it takes up probably about

Guest 1

You can deploy a,

Guest 1

Heroku opened up buildpacks

Guest 3

And, one

Guest 1

it just works. So it's pretty cool of them to do that.

Guest 1

It was was it DigitalOcean?

Guest 3

That might be. Uh-huh.

Guest 3

a traditional platform as a service? and then, like, Send an email or, like, something like this. And so it's it's it's quite powerful. We've we've we've mentioned this on the show Show before. Temporal. I'm just looking at, I mean, that's very complex.

Guest 1

That's awesome.

Guest 3

But since you own the the the your own servers, your own account, Like, you probably don't have a server, just empty server in there running. Right? And so we have to create that, and that takes a little bit of time to provision.

Guest 1

I always love when companies, like, obviously, Railway, which is probably

Guest 3

Roku to digital ocean app platform. Yeah. I I think it's, one thing we get to talk about briefly is like, okay, well, what are the trade offs of something like flight control kind of based around Next. Js.

Guest 1

something to render, What a Nix packs is and ideally a little bit of history on the Heroku build pack to sort of give context? Sure. So,

Guest 1

and,

Guest 1

other like, lots of other services that said, oh, we just support

Guest 3

15 minutes to create the initial infrastructure Mhmm. And so it's easy just to run a run a script from your code base,

Guest 2

Yep. That's what I've learned. Yeah.

Guest 1

hurricane build packs unless there's something we have to I was also doubting you on that, but I didn't You know what?

Guest 3

because, you know, something like Vercel has infrastructure because caching is hard. That's why this this build stuff, right? And the best where where's the fastest build that you ever have? Typically it's locally on your computer and That is a shared infrastructure that all users are going through.

Guest 1

And

Guest 3

already provisioned kind of behind the scenes Or like something like a railway, and they can just, like, put your code on an existing server.

Guest 1

considered one of your competitors, even temporal. Mhmm. How we use temporal, actually implement our entire back end. What's temporal? I don't know. That that's not just the JavaScript API, is it? Yes. Yep. It was their app platform.

Guest 1

I don't think supports

Guest 1

Interesting. I didn't know that. Which is because I remember, like, looking at my build logs or something, and it says it literally says Heroku in my DigitalOcean Logs. I was like, what? What's going on here? You know? And I was like, oh, I Looked into it, I realized, okay. They're they're just using a set of standard build packs to move it from

Guest 1

I like when they open source stack like this because I remember

Topic 2 01:33

Creator of Blitz JS

Guest 3

wasn't really able to pull that off, Mhmm. And so if you if you just have queues and cron jobs And you have complex processes.

Guest 3

which people might have heard about.

Guest 3

Yes.

Guest 3

was working towards So flight control just handles that seamlessly potentially surface more intelligible, like, Hey, this like Help you find exactly what the error is or how you might fix it, and you kinda write there in in your face instead of you having to go Google it yourself or chat GPT yourself.

Guest 3

So, yeah, so, so did that, but, pardon my language, trash.

Guest 3

Which is now being built into seemingly every web framework, which is kind of cool.

Guest 3

Sort of like my idea was to create a Ruby on rails style experience for react It was created at Uber

Guest 3

Yeah.

Guest 3

creating my own company, ended up doing that. We'll talk about that.

Guest 3

Could launch that back in 2020.

Guest 3

in JavaScript, but it's a higher level Abstraction, versus, slash starter kit for Next. Js,

Topic 3 15:53

ECS is AWS Kubernetes

Guest 3

So it, you know, it will spin up containers, make sure they're No. Temporal dot I o, Wes. Temporal is a workflow orchestration engine.

Guest 1

auto scale up and down images for me. Right? Like like, Docker might handle 1 image, but Kubernetes is this monster that's saying, oh,

Topic 4 13:04

Code build with GitHub Actions or CircleCI

Guest 1

in, like, how does

Guest 1

piece all of these things together, you know, because, like, that's what's so nice about it is there's literally

Guest 3

flight control makes us a lot easier.

Guest 3

But it gets the job done now. We're gonna be replacing that later this year with a blazing fast build system,

Guest 1

a 1,000 different services, and I'm able to use A bunch of them to do the the full stack there.

Guest 3

that is gonna be packaged into an image.

Guest 3

So, you know, you might end up uploading that to s three as an intermediate step or to an image registry. Okay. And then what do you do? platforms.

Guest 1

I think I'm a little bit more interested

Guest 3

Sure. So but did kinda create a nice little Sort of toolkit

Guest 3

Just bring us your source code, we'll build it for you. We'll take care of the image creation and everything.

Guest 3

a serverless function or a container.

Topic 5 24:22

Simple cron jobs by running scripts

Guest 3

sort of like cheaper, Like, maybe you can't count on them, But it it's a lot more sophisticated around that because There's things like PNPM cache,

Guest 3

but from our orchestration side, we can basically makes the cost cheaper.

Guest 3

we I think for this implementation, we'll be actually shelling into one of your running applications. Oh, cool. Okay. Another another way to implement it, and maybe we'll do this for con jobs, I'm not sure, And outside of work, I am a airplane and helicopter pilot. So that, that's where the, the flight plan Flight control.

Guest 3

So Spot instances most of the times, but but more more effective and and sort of quickly.

Guest 3

Yeah. So for more Sophisticated crown jobs and background processes, you should run a background worker, And that is like, like people have probably heard of Kubernetes

Guest 3

So we can make sure the job gets done, And this was a way to image processing thing.

Topic 6 11:32

Let AWS handle primitives, tools fill gaps

Guest 1

their library and their whole NPM repo, and it's Massive.

Guest 1

But

Guest 1

I would like to kinda go through the different pieces of building an application, and maybe you can tell us What parts you might choose out of the AWS stack? Because honestly, that's sometimes the most overwhelming part of AWS is just simply being like do you

Guest 1

Awesome. So let's go. We've had this show on

Guest 1

So

Guest 1

They literally offer everything. Like, I was using their transcription service the other day, and I just went into their

Guest 3

And

Guest 1

to deploy a serverless function. It's just like That's, like, the worst first experience I've ever had where you have to upload a zip file with the node modules in the zip file. And I was like, no. I wanna Check my my GitHub account. So, like, how do you get build pipeline, continuous integrate integration? I wanna get Push and have the whole thing build and deploy like it does on Vercel.

Guest 1

It's named something a little different, but I'm not sure I can I can say that on the internal? Yeah.

Guest 1

They're on such a massive scale. So many developers work in there.

Guest 3

Well, and that's what they're good at. And so they keep trying to, you know, create these new abstractions.

Guest 1

which is give me 7 more images of this thing. People are loving it. Yes. So Kubernetes is a sis container orchestration system.

Guest 1

What I want to do when I sign up for AWS, they tell you to upload a zip file

Guest 1

called straight up Raw AWS.

Guest 1

our list of shows to do,

Guest 1

let's start with the first one, which is often

Guest 3

It's exactly, like, why why we built flight control.

Topic 7 00:00

Transcript

Guest 1

Welcome

Announcer

This is

Guest 1

And

Announcer

the Syntax supper club.

Announcer

Wash those hands, pull up a chair, and secure that feed bag, because it's time to listen to Scott Tolinski and Wes Bos attempt to use human language to converse with and pick the brains of other developers. I thought there was gonna be food,

Guest 1

Railway, render, all those things. And we added flight control on there because it was it's relatively new, but I think it's really interesting where It answers one of the questions of, like, why can't you get

Announcer

Hoo. I'm starving.

Guest 1

Vercel,

Guest 1

a lot of the different, like, platform as a service hosting providers,

Guest 1

to Syntax, for you. Maybe just give us a quick rundown of of what Kubernetes does. I I always As someone who's never used it, I assume that is some sort of application that will

Announcer

I sure hope you're hungry.

Guest 1

a Vercel like experience Mhmm. But use your own AWS account?

Guest 1

give us a quick rundown of, who you are, what you do, all that good stuff.

Guest 1

a podcast with the tastiest web development treats out there. Today, we have Brandon Bayer on, and he's gonna talk to us about, his company flight control. We talked about flight control

Announcer

so buckle up and grab that old handle because this was going to get wide eyed as old.

Guest 1

On the episode where we compared

Guest 1

Netlify,

Topic 8 06:15

Flight control brings your own cloud to retain control

Guest 3

And so all these platforms like have been really amazing, providing a really great experience.

Guest 3

But eventually, they reach a point of scale where Heroku is no longer viable because We give you sort of an easy mode and, like, a more advanced mode. The easy mode works exactly like Vercel or Heroku where We automate the build for you. Under the hood, it's currently using AWS code build, which is actually kind of trash also.

Guest 3

Like, not only do you have the underlying AWS thing, but then you have a layer of custom software on top of that that you're dependent on, Like, if anyone's used AWS directly, like, we know how a an instance that like may or may not be there, like there's some more a ephemeral

Guest 3

they don't have the control over the low level infrastructure that they need. They don't have as good security, And then, you know, typically it's it's really good in a Couple of ways. One is that can be like right now, it's a bit it's a bit slower on flight control because of code build.

Guest 3

for example, Instacart started on Heroku,

Guest 3

And you have to kinda build whatever you need from scratch.

Guest 3

Brasil, Rinder, Railway.

Guest 3

how kinda complex it is, how low level it is. It's kinda really what it the big the thing is it's just very low level, Brandon, as you said, I am the creator of Blitz JS, We are very we're much more closer to the traditional platforms these platforms as a service are more prone to have reliability issues are, is to spin up a Spot instance.

Topic 9 19:40

Flight control handles preview environments

Guest 3

not serverless functions.

Guest 1

like, what languages? So is it serverless? Is server full? Just JavaScript, PHP. Can I what can I do there? Yeah. So just kind of level set everyone on what flight control supports today. We support deploying any language, 4 in the morning,

Guest 3

and so we support those as traditional

Guest 3

HTTP port.

Guest 3

relational database service, So we're gonna be adding this soon. And then from there, it's just 1 step away from adding scheduling for sure on the long run.

Guest 3

Database,

Guest 1

Yeah. That the preview deployments is is something that I almost take for granted on a lot of these things. It's just like, Oh, I sent a pull request. I can literally build the entire website in a different URL

Guest 1

Oh, yeah.

Guest 3

any framework, you know, like if this line, if a certain line changes, everything after that will be recomputed, but above it is cashed.

Guest 3

Currently we only support containers,

Guest 1

and have it running and be able to check it out before it goes. Like, That used to not be a thing. You just have to, like, pull it locally or just merge it. Looks good. Hopefully, not directly, but, like, Trying to host an app somewhere, that Railway is certainly an option.

Guest 3

static sites, So some people do use that.

Guest 3

which is RDS,

Guest 1

not there was a problem. The subdomain with Yeah. And so those appointments,

Topic 10 08:21

Future is bring your own cloud platforms

Guest 1

that you sign up for, and you connect your GitHub account to get your Access your source code and you connect your own

Guest 1

developer process and getting keys and whatnot.

Guest 2

They're having to pay for

Guest 2

you know, shoved into the user where the users have having to pay for that platform on top of AWS.

Guest 2

experience to work with. It really seems like this is such a a push in The right direction there in terms of being able to give you the best of both worlds there. Yes. That's that's definitely the what we're trying to go for is the best of both. Nice. So FlightControl is a

Guest 3

is,

Guest 1

So, like, again, it's still running on my Amazon account is using my billings, using my credit card for that type of thing. But flight control itself is something that I pay for That makes that sort of makes all of that easy. Right? Exactly. Because and maybe you can answer this question because we've asked a couple people this. It's like, why doesn't

Guest 1

And then basically, it's just like a remote control

Guest 2

you know, the things that they really wanna use are just the underlying tools. The underlying tools have such

Guest 2

The infrastructure as well as, you know, the development into that that platform when in reality,

Guest 1

make this easier. Like, why doesn't why don't they have that? And everybody's always like, oh, Amplify does that, but, like, why is nobody u using that then? Cause amplify

Guest 2

Providing more or less automation as your needs change. Yeah. And that makes a lot of sense because, I mean, the the cost,

Guest 2

I mean, all of those things in the platform, whether it is, you know, one of these platforms that's built on top of AWS, the cost then gets,

Guest 1

Amazon

Guest 3

and it and then that platform is sort of like a could be more flexible, We're building their their platform and they created this project called Nix Pex, Which is created as That's sweet. Do do you ever just, like, go for dinner In a different city? So I have done that for lunch, in the past. I haven't I've just been too busy.

Guest 1

paid service

Guest 2

a a bad

Guest 1

that makes things a lot easier.

Topic 11 27:48

Change DNS to redirect traffic for no lock-in

Guest 3

whether it's a different platform or something you you know that you've constructed from scratch in AWS.

Guest 3

Even though we do offer a lot more control

Guest 3

your image, whatever, you can easily deploy it to something else, Your your normal production deployments, but also for preview environments.

Guest 3

than than traditional platforms, To run a certain command on a schedule.

Guest 3

eject is not like something you would actually want in that case. You basically wanna kinda create it from scratch.

Guest 3

and and access With the whole idea to make it easier to use because,

Guest 3

And it it's we all know how easy it is to just like change the DNS records and redirect traffic to another server. So there's not really lock in, as far as like the level of, is And so than I think render To get set up. And then secondly is something, So, yeah, there there's stuff that we can do around that also. Nice. Okay. So we have our our container. We have our, that should rival Vercel's build speed. Mhmm. Right now, it's a bit, you know, a bit slower. But So that'll be great. So that's the easy mode.

Guest 3

in that case because you have your code,

Topic 12 15:00

Create infrastructure with CDN, load balancer, Fargate

Guest 3

So that's elastic container registry or sorry, elastic container service.

Guest 3

sort of a different version of Kubernetes.

Guest 3

containers. And then you need to run the container,

Guest 3

Okay.

Guest 3

So that that's the 1st stage is building your code.

Guest 3

Either you do it or we do it for you automatically.

Guest 3

and ECS.

Topic 13 34:00

Takes time to provision infrastructure

Guest 3

But like I said, we're going to be building a custom build service for Heroku users, they have a thing called Task Scheduler, which is an add on that is you know, people will use commonly.

Guest 3

build times, like to, based on like a third party.

Guest 3

And so there is more friction But what every almost every large company has found out that has started on Heroku, and somewhere, and then manage auto scaling and all of that.

Topic 14 10:22

Amplify fully abstracts AWS, losing control

Guest 3

So it's it's sort of like a a whole new thing. It's like a black box that you haven't, like, Sure. So, Yeah.

Guest 3

completely abstracts it away, and you don't retain the underlying control.

Guest 3

if it supports something, you get it. If it doesn't, too bad.

Guest 3

tools and platforms like TerraForm or flight control can fill in the gaps.

Guest 3

I think, you know, it's just really hard for companies to do many things You know, I kinda experienced this. We're using the platforms as a service. Like, we really want that good developer experience,

Guest 3

Like out of luck.

Guest 3

That traditional platforms of the service do. Amplified, now it's people usually are are blaming themselves even if potentially it's our problem.

Guest 3

Arguably better than anyone,

Guest 3

but ultimately they're they they're not worth much at the end because That's not what Amazon is good at.

Topic 15 30:27

Nix Packs improves on buildpacks

Guest 1

requires a

Guest 3

native build because it's built in c plus plus, Something like that. So yeah. So Next Packs will automatically do that, and then it lets you you have full control to add or change those sort of native dependencies.

Guest 3

Next packs is just a just a open standalone thing. And so if you're managing your own Docker stuff And you wanna not manage your own Dockerfile, you can use Nix Packs. Nix Packs will automatically detect Like, I think most people know the core concept of like,

Guest 3

Like if you're using ImageMagick, There's app runner, there's amplify,

Guest 3

re Ruby dependency, it'll automatically detect and add the native dependencies that you need for that. Oh, yeah. Or Node Canvas is another one that is is Yes. It's

Guest 3

some kind of You know, amplify has the same problem

Guest 3

in most cases, the languages that you need, And the native dependencies.

Topic 16 07:37

Reaching scale, companies move from Heroku to own infrastructure

Guest 3

but I don't want like, how do you use them? It's, like, too hard. And I was like, why can't I have this good developer experience which is another platform of service.

Guest 3

you know, my cofounder and I both have, and

Guest 3

On my own AWS account. Like, theoretically, like, this should be possible. Mhmm. And so that's that's really the whole premise here is that I think the future is so you can actually, like, share a PNPM cache Serverless functions should be coming later this year. So we have Amazon's, if I remember correctly, they're basically

Guest 3

like, I really wanna use native AWS services. Like, think about SQS and DynamoDB and some of these things that are, like, Really incredible services, You're sort of like stringing everything together, like jQuery,

Guest 3

bring your own cloud Or some sort because like most of the stuff is cashed. Right. Mhmm. And so we're gonna be building a build service that uses a long running server, And we didn't really, you give us an image that's already built. So more sophisticated teams like to build their own image and upload it to an image registry. And so you can connect that image registry to flight control, and then we'll take it from there.

Guest 3

You get you connect your own AWS or Google Cloud account,

Guest 3

but we just got too frustrated with the limitations.

Topic 17 04:46

Can fly plane to conferences for lunch

Guest 1

Yeah. I met your,

Guest 1

Alright. Well, let's talk about what flight control is.

Guest 1

We should get a helicopter. The the tailwind event was in Cambridge, which is

Guest 1

45 minutes away from me, about an hour, hour and a half away from Toronto. So, like like, it's it's a decent decent place. And I was like, I wonder how much it costs to rent a helicopter. You get couple guys in the helicopter, but You literally you literally probably could have picked us up if you wanted. Yeah.

Guest 3

Give us a rundown of what that is, please. Sure. So, you know, most I think most people Probably listeners are probably familiar with traditional platforms as a service like Heroku, But I just bought this plane 3 months ago.

Guest 1

I met your cofounder

Guest 1

Depending on the helicopter. Yep. Okay. And that's for a 2 seater. Oh, okay. Okay. So you can split that with 9 guys. Like, I we Like a couple of times in my we've rented a limo with a bunch of my friends, and we would take a limo. We'd all have $15, and we take a limo to the city and go clubbing, you know,

Guest 1

it it worked out, but certainly have not done that with the helicopter yet. UberX. Yeah. UberX for helicopters.

Guest 1

a little business expense. Just a a casual plane. That's pretty cool.

Guest 3

Cost $300 to an hour to run a helicopter. 3 to $500 an hour Nice. You know right now it's simplify that like async await did for JavaScript promises.

Guest 1

at a conference a couple weeks ago. I didn't realize he was Canadian as well. What's his name? Mina. Mina Abadeer. You probably met him at, Tailwind? Yeah. Yeah. At the Tailwind, he's he's from the area, which I thought was kinda interesting because I joked that flight control

Guest 1

What a what a write off, man. You can

Topic 18 25:31

Temporal is powerful workflow orchestration

Guest 3

to manage, like, all of their, like, rides and all these things.

Guest 3

and it's very imperative. And like, And then, like, it's it's more tricky to understand the state of the system, to have retries.

Guest 1

And we come back and hit you. I think it was this one. We did a whole show on queuing systems, so we did a bit of a deep dive into all the different services.

Guest 3

kinda brings, And so Heroku build packs, I think was probably the first to do this. And you would have to sort of declare

Guest 3

And so it's it's it's extremely powerful, Created this. I'm assuming they did.

Guest 3

And so temporal But it's you know, really abstractions over AWS or Google Cloud, something like that.

Guest 3

It's sort of like an abstraction

Guest 3

over queues and cron jobs.

Guest 2

You build you build your setup, and you you get all connected with all of your AWS stuff.

Guest 2

But let's say,

Guest 1

I'm not sure if it was this one, but I remember seeing another example where you could literally await

Guest 1

30 days

Topic 19 23:45

Adding one-off commands like Heroku

Guest 3

So one one thing that, Heroku has that, Control and things that we have.

Guest 3

So Heroku really, really well, and the developers will get a good platform and user experience on the other side.

Guest 3

supports this, some platforms do, some don't On on a way to kinda run a run a command in production.

Guest 2

adding for simple cron jobs. What's the AWS service behind the scenes for that? So that is

Guest 3

to run one off commands in production.

Guest 3

is the ability And so you retain all the ownership of it and the control, And so those are like The 5, like, most common services that you're gonna need to really deploy an application, This is like the most complex part because you probably want a CDN in front of it, And then behind the CDN, you're gonna need a load balancer. So this is talking about And and that can be even user configured. You can have turn on like intelligent sleeping,

Topic 20 21:02

Full backend and database for environments

Guest 1

And they had, like, reboot

Guest 1

running 1 server, but still, it was it was kind of expensive. That was the nice thing about Heroku is that it would The word we always use was spin down. You know, like, it would stop if we weren't using it. Does Amazon have anything like that? Amazon does not, but that is something that that we want to add On our side. Oh, yeah. Because you could you could detect that it was not Amazon account. You go through the whole

Guest 1

so they just played these, like, fever dream,

Guest 2

This just seemed normal, and now I, like, can't imagine that ever happening again. You know? I was talking Talking to some friends the other day over beer, we're talking about,

Guest 2

Wow. I'm gonna see if I can find some of those on YouTube this time. Yeah.

Guest 1

or Just randomly, they would play these, like, 3 d generated.

Guest 3

have been running. Send an notification and be like, hey. Do you still want this or not? Like, You know, like Mhmm. Have a warning and be like, after 5 days, is he gonna sleep? Everything under the sun.

Guest 2

Yes.

Guest 1

like, Ontario only TV programming. And we have this channel called YTV,

Guest 1

and a bunch of their own like, it kinda like kids' TV. Right? And Mhmm. I remember if you got up too early

Guest 3

for for the preview environments.

Guest 1

to, like, stream a TV show at at, like,

Guest 1

It just it's like a fever dream to me thinking about it now where it was just like these, like,

Guest 1

We can even have schedules to be, like, you know, sleeping at night. That's actually that's a good idea. Put your website to to sleep at night. Sometimes websites used to have that where, like, this website is not available from 2 AM to 4 AM because they're Doing some sort of migration literally every single night. So it would be nice to put your website to sleep. Open hours for a website. You guys remember when When TV channels used to go offline

Guest 1

renders over and over again.

Guest 3

So instead of just getting your front end As a preview environment, you can also get your entire back end database, background workers, and Redis like,

Guest 2

They would they have, like, a time. It would be, like, 11 o'clock or something, and then it would just Go to Fuzz for the rest of the night. I'm like, okay.

Guest 2

Nice. Let's see. We we've covered a lot of these things, but what about, like, something like,

Guest 1

all deployed as a temporary environment for end to end testing. That's awesome. And here here's a problem I had once. I left the pull request open for 2 months, and I realized I got charged for 2 months' worth of,

Topic 21 26:51

Temporal simplifies complex async processes

Guest 3

You you got a tool.

Guest 2

you've

Guest 2

and I I say this word intentionally eject out of this into just straight up AWS,

Guest 3

But if you do, But why I, I think,

Guest 3

which we we actually have an infrastructure as code feature, And that can build your code.

Guest 3

then something like Terraform. But for do completely doing it from scratch, you would use something like Terraform, and you would want to manage all of your own, And you really kinda only do one thing really well, and Amazon does low level primitives so what a lot of people with AWS do Is they end up using CI somewhere, whether it's GitHub actions or CircleCI

Guest 3

resources whether it be Kubernetes or Fargate or ECS.

Guest 3

That's gonna be much much cheaper,

Guest 3

You're gonna wanna use infrastructure as code,

Guest 3

or are you is there any kind of, like, lock in? So the first thing is you probably shouldn't have hired a A team just to play with AWS?

Guest 2

hired a team of now a ton of engineers who are all AWS experts who just wanna work on the on the bare bare metal. Is it easy enough to,

Topic 22 34:24

Optimizing caching improves build speeds

Guest 3

Yeah. And then, like,

Guest 3

Deploy, in production. So that that's something we're going to be, and robust.

Guest 3

So that that's gonna be really for that. Does turbo repo or NX play into any of that at all? So that is another way to cash, increase more for auto scaling or or or reduce that.

Guest 3

later this year that is going to in that case, everything is sort of cached by default, especially speaking of Docker.

Guest 3

Like, all the Docker cache is just there, and you don't have to waste minutes uploading and downloading Docker cache from a CI.

Guest 3

It's

Guest 3

It's the production uses that. You know?

Guest 3

like, a staging environment to production because they ran the build locally with different environment variables.

Guest 3

it can be a little bit risky. Like there's we've had people,

Guest 3

that can be can be slept and and optimized,

Guest 3

And so

Guest 3

But all your code is gonna stay on the on the on the server.

Topic 23 16:23

Kubernetes handles containers, scaling, health

Guest 2

or maybe perhaps it's like an edge case on on code pipeline or something. Do you do you find people, like,

Guest 2

there can be issues

Guest 3

Or you can have it be manually deployed, so user has to go in and manually trigger it. Or you can use deploy hooks, webhooks that will trigger that. And then we also support preview environments Oh, yeah. Which is a whole another beast if you're doing it from scratch.

Guest 3

Healthy, proprietary Amazon one, is really, really hard

Guest 3

Mhmm. But just as just as effective and just as powerful. So I think, like, for example, Figma. I think if I if I remember correctly Figma runs all of their servers on AWS Spark eight.

Guest 3

Yeah. What else do we need to spin up to get something going? So then you have ongoing deployment. So we had the build, Creating infrastructure and then ongoing deployments. How do you, like, when you commit the code, how does it get in, you know, updated in production? anything,

Guest 2

Yeah. It's interesting because you know you always hear,

Guest 2

people who work in Kubernetes just talking about the type of complexity it can add to your your stack. So it's good to hear that this is more simple. I haven't worked with it myself before, but with with something like CodePipeline, I know with with CI stuff to take a step back, like,

Guest 2

your system maybe possibly would think there might be an issue with your system when really it's it's a code pipeline issue or something like that. Is that is that a common, I've been able to fly.

Guest 3

you know,

Guest 3

then, yeah, We we had this tendency of, like, anything goes wrong, even a runtime, users are blaming us. Like, hey. Something's wrong.

Guest 3

But as as we got to be much more stable, The next stage is Creating the infrastructure.

Guest 2

Yeah. Is that like a user interface kind of thing that you you're able to understand

Guest 3

which is are,

Guest 2

What else we we had our CDN and pipeline. Yep. Build pipeline.

Guest 2

or with AWS or or with any CICD system. Do you find that users using your system sometimes,

Guest 3

set the CPU and memory for them, since,

Guest 2

get confused about like, let's say there's an error in their pipeline somewhere

Guest 3

So we We support get push deployments just like the traditional platforms, where like, you can have a branch that's automatically deployed, that, like, there's there's this long tail that you just you're gonna have to deal with.

Guest 2

Like user error stuff, yeah, I love the little, like, take off the airplane, take off and stuff on scroll. It's all very, very sad.

Guest 3

the CI issues we don't have a concept of eject. So, you know, if you're gonna roll your own AWS infrastructure, And so you can literally just wait in your code for 30 days And so, Railway, So if you're using,

Guest 3

simpler I had I really started my pilot training when I was 15.

Guest 3

But yeah, there's, there's things like we wanna add AI stuff into our build system so that, to have like a a shared cash all the way from your developer locally and in production, Events or like chron. So that is actually, something we're getting ready to work on.

Guest 2

container management. We have our,

Guest 2

how to how to surface those things better to users? Or is it just a a maturity thing? I mean, To some extent, there's always gonna be the

Guest 3

And so it's it's, an open source container orchestration engine where ECS And so, yep, that's just all automated

Guest 2

Using

Guest 3

is a

Topic 24 31:21

Nix Packs detects dependencies automatically

Guest 3

handcrafting a Docker file from scratch. Why why is that? Do you know? Yeah. How come? Because Docker caching You know, but you essentially have these, like, you know, the very first step is build your code.

Guest 3

And a smaller image size Other, So that, for example, DevOps teams That wanna manage their own infrastructure, they can actually do that right through on Terraform and stuff, and then plug that into platform, into flight control. And so the DevOps at that point will have the control that they want, So there's a bit more containers, but sometimes serverless functions. So you're either gonna take the raw files or an image, and then you have to get those files,

Guest 3

to do well.

Guest 3

But what's really great about it is that And so

Guest 3

and setting all those up is quite difficult, and Nixfax just handles that for you.

Guest 3

a faster build And I was But we're moving to open up open up even more and make the system more composable and pluggable.

Guest 3

that's like outside of your normal, like, Dockerfile line by line execution, Okay. And so I I've been busy, like, working on it and flying to conferences. It's been a busy summer, so I haven't got us Done everything I wanted to do yet.

Topic 25 29:22

Heroku buildpacks define app dependencies

Guest 3

the things that your application needed. So you would have to add like,

Guest 3

And then, you know, that would have the native dependencies that you needed to build your

Guest 3

it, though the worker type. And so this is using something like bull. Js the native dependencies that your application needed, Which is typically like a language runtime, like Ruby or Python or JavaScript.

Guest 3

So anyone Really that is working with Dockerfiles can use this.

Guest 3

generates the Dockerfile for you.

Guest 3

a more modern successor to this buildpack concept,

Guest 3

application. You would have to add a Ruby build pack and a Node. Js build pack.

Guest 3

if you let's say you have a Ruby on Rails with JavaScript

Guest 3

define you know, we can

Topic 26 28:36

Make platform composable and pluggable

Guest 1

You know, pay a massive amount for that experience. Nice. Cool. Platform engineering is the is the term for this. Let's talk about, Nix Packs. Are you able to give us an idea of

Guest 2

for that.

Guest 3

Heroku build pack, I don't know if Heroku

Guest 2

Nice. And you won't have to pay

Topic 27 02:34

Flight control aesthetic with airplane animations

Guest 2

A flight control. Yes. Flight control aesthetic. It's,

Guest 1

How long have you been flying planes for?

Guest 1

and you literally flew there. Is that true? I'll let him explain a little bit more, but that's kinda what we're gonna get into today and and and whatever else we pop into. So welcome, Brandon. Thanks for coming on. Thanks for having me. Hey. You're welcome. So,

Guest 1

I don't often show my stuff show my wife stuff that happens on Twitter, but I I went and showed her immediately when I saw that you went to a conference

Guest 1

I I have a story about that, and

Guest 1

Oh, what a baller move. So you a Roku build back. Right? I'm pretty sure render is one of them. Right? robots that would go up the stairs infinitely. And then Oh, wow. Like m I think it's MC Escher where, like, the stairs turn into something else. It's Escher. And I just think about that now, and I was just like that. I was like, what? That was so trippy. And I'm old enough to realize, oh, they didn't have any money to

Topic 28 14:38

Flight control builds code or use pre-built image

Guest 3

The more advanced mode, which traditional platforms don't support is, next packs will produce You know, it's kind of like the Linux philosophy of do one thing and do it well. And so let AWS do the low level primitives and then And all of these platforms occurrence? In in the early days, whenever the system was more buggy, and Redis.

Share

Empowering developers for over 286200334230 milliseconds!