WEBVTT

00:00:00.320 --> 00:00:01.680
Why did you move to Vietnam? Just

00:00:01.680 --> 00:00:03.120
because you bought a place, I suppose,

00:00:03.120 --> 00:00:04.720
just like I moved to

00:00:04.720 --> 00:00:08.160
>> No, no. I I I came to Vietnam in 2006

00:00:08.160 --> 00:00:11.679
and um I worked 10 years as a

00:00:11.679 --> 00:00:13.840
professional services

00:00:13.840 --> 00:00:17.039
um consultant implementing ERP systems

00:00:17.039 --> 00:00:20.320
like financial management system called

00:00:20.320 --> 00:00:23.840
infor systems. And so that was mostly

00:00:23.840 --> 00:00:25.680
with international clients. So I was

00:00:25.680 --> 00:00:27.119
based out of Vietnam but I would be

00:00:27.119 --> 00:00:29.519
traveling all the time. And my

00:00:29.519 --> 00:00:32.160
background is software engineering, but

00:00:32.160 --> 00:00:36.719
um I spent 10 years training people on

00:00:36.719 --> 00:00:39.680
how to enter invoices into an accounting

00:00:39.680 --> 00:00:41.680
system without knowing anything about

00:00:41.680 --> 00:00:44.239
accounting initially. Um, so that was

00:00:44.239 --> 00:00:46.000
like and that's kind of where I learned

00:00:46.000 --> 00:00:49.600
that you really only understand

00:00:49.600 --> 00:00:51.760
something if you

00:00:51.760 --> 00:00:54.320
um if you can explain it to someone else

00:00:54.320 --> 00:00:56.000
but also you get a very different

00:00:56.000 --> 00:00:58.320
perspective from other people cuz they

00:00:58.320 --> 00:01:00.480
put me in front of like manuals of this

00:01:00.480 --> 00:01:02.480
accounting system and they said okay in

00:01:02.480 --> 00:01:04.320
one month you're going to the customer

00:01:04.320 --> 00:01:05.840
you're going to shadow a senior first

00:01:05.840 --> 00:01:07.040
and then later you're going to have to

00:01:07.040 --> 00:01:08.960
do the trainings on your own.

00:01:08.960 --> 00:01:11.520
>> So you're training like Vietnamese?

00:01:11.520 --> 00:01:12.960
>> No, no, no. International. So I was

00:01:12.960 --> 00:01:15.920
based out of Vietnam, but um the company

00:01:15.920 --> 00:01:17.520
I worked for had a very big contract

00:01:17.520 --> 00:01:20.720
with Hilton Hotels Worldwide. So I went

00:01:20.720 --> 00:01:23.280
mostly to Hilton hotels like Gardening

00:01:23.280 --> 00:01:24.400
or

00:01:24.400 --> 00:01:26.159
>> Are you allowed to say these people's

00:01:26.159 --> 00:01:27.840
names

00:01:27.840 --> 00:01:30.159
or do I have to retract?

00:01:30.159 --> 00:01:32.240
>> No, it's fine. [laughter] I worked 10

00:01:32.240 --> 00:01:35.040
years um for

00:01:35.040 --> 00:01:37.600
pretty much mainly on Hilton and some

00:01:37.600 --> 00:01:39.280
other hospitality clients.

00:01:39.280 --> 00:01:42.560
>> All right. But yeah, I mean it's it's

00:01:42.560 --> 00:01:44.400
not a secret.

00:01:44.400 --> 00:01:44.960
>> Yeah.

00:01:44.960 --> 00:01:46.479
>> Then how did you get into infrastructure

00:01:46.479 --> 00:01:49.280
then? How did you become a Kubern I mean

00:01:49.280 --> 00:01:51.520
I think I knew you back in Singapore as

00:01:51.520 --> 00:01:54.880
a Kubernetes um zealot,

00:01:54.880 --> 00:01:55.360
>> right?

00:01:55.360 --> 00:01:57.439
>> Made me absolutely made which made me

00:01:57.439 --> 00:02:00.560
want to push you away because I I I I

00:02:00.560 --> 00:02:02.079
just had bad experience after bad

00:02:02.079 --> 00:02:04.399
experience with with Kubernetes. I mean

00:02:04.399 --> 00:02:07.600
I use community don't get me wrong and

00:02:07.600 --> 00:02:09.599
when it when it's appropriate but uh it

00:02:09.599 --> 00:02:11.920
it does frustrate me.

00:02:11.920 --> 00:02:15.840
>> Yeah. So after about you know 7 years of

00:02:15.840 --> 00:02:18.080
going to customers. So from 2006 until

00:02:18.080 --> 00:02:21.680
2013 about um most of the time I would

00:02:21.680 --> 00:02:25.120
you know we would we would be there to a

00:02:25.120 --> 00:02:27.040
whole day to install a Windows systems

00:02:27.040 --> 00:02:28.560
you know we would be having a word

00:02:28.560 --> 00:02:30.480
document and we would have our

00:02:30.480 --> 00:02:32.080
installation you know with the

00:02:32.080 --> 00:02:34.160
requirements for the client because

00:02:34.160 --> 00:02:35.920
every

00:02:35.920 --> 00:02:37.200
customer we work with they have

00:02:37.200 --> 00:02:38.640
different requirements. if they are a

00:02:38.640 --> 00:02:40.560
real estate investment fund in

00:02:40.560 --> 00:02:42.480
Luxembourg, they have different security

00:02:42.480 --> 00:02:44.480
requirements than the hospitality like

00:02:44.480 --> 00:02:45.840
the way that they manage the servers,

00:02:45.840 --> 00:02:47.920
the way that you get access to a server.

00:02:47.920 --> 00:02:49.920
And I also worked for Gadak Cement which

00:02:49.920 --> 00:02:51.680
is a whole wholesim subsidiary in

00:02:51.680 --> 00:02:55.440
Azarban and I worked and always had to

00:02:55.440 --> 00:02:57.519
like follow these manual like

00:02:57.519 --> 00:03:00.160
installation steps from a word document

00:03:00.160 --> 00:03:02.080
and I wrote a lot of PowerShell scripts

00:03:02.080 --> 00:03:04.400
to kind of like automate that process,

00:03:04.400 --> 00:03:06.000
you know. I had a lot of fun with with

00:03:06.000 --> 00:03:11.440
like um active is it ADO active objects

00:03:11.440 --> 00:03:14.959
from Microsoft uh inn net. So so with

00:03:14.959 --> 00:03:16.239
PowerShell you actually have like the

00:03:16.239 --> 00:03:18.560
whole net. So you could create any

00:03:18.560 --> 00:03:20.879
object that the Windows system had and I

00:03:20.879 --> 00:03:23.680
could load like uh access database

00:03:23.680 --> 00:03:25.599
files. So some of this software that I

00:03:25.599 --> 00:03:28.400
worked with used access databases. So I

00:03:28.400 --> 00:03:30.640
could use PowerShell to load the access

00:03:30.640 --> 00:03:32.879
database, read some of the data, modify

00:03:32.879 --> 00:03:34.640
it. So I started making

00:03:34.640 --> 00:03:36.400
>> back now. Gosh, you you must be as old

00:03:36.400 --> 00:03:37.920
as I am.

00:03:37.920 --> 00:03:40.080
>> Yeah. So, so that was a lot of fun like

00:03:40.080 --> 00:03:42.400
because we had a lot of bash scripts and

00:03:42.400 --> 00:03:45.280
stuff that other consultants had built.

00:03:45.280 --> 00:03:48.400
Um but yeah, I mean we as we do the same

00:03:48.400 --> 00:03:50.159
thing a lot. So we try to optimize our

00:03:50.159 --> 00:03:51.840
work, right? So, so we have some

00:03:51.840 --> 00:03:55.200
internal scripts that we have and um

00:03:55.200 --> 00:03:57.280
that's part of our professional services

00:03:57.280 --> 00:03:59.439
our our um you know expertise that we

00:03:59.439 --> 00:04:02.239
bring to to to okay supply the system

00:04:02.239 --> 00:04:04.319
right so I I actually spent a lot of

00:04:04.319 --> 00:04:07.200
time building unattended install scripts

00:04:07.200 --> 00:04:08.640
with powershell

00:04:08.640 --> 00:04:11.920
>> uh and it wasn't once I saw one customer

00:04:11.920 --> 00:04:14.319
which was kadak cementin they had the

00:04:14.319 --> 00:04:17.199
whole VMware that was back in 201 I

00:04:17.199 --> 00:04:20.320
don't know 2011 maybe before that VMware

00:04:20.320 --> 00:04:22.880
was already spread quite in a lot of

00:04:22.880 --> 00:04:24.000
places, but

00:04:24.000 --> 00:04:25.680
>> I was working on like preparing a

00:04:25.680 --> 00:04:27.600
training session and I had everything

00:04:27.600 --> 00:04:29.360
set up on my virtual machine, but then I

00:04:29.360 --> 00:04:31.280
had to copy over the settings to the the

00:04:31.280 --> 00:04:33.759
actual client server for um for an a

00:04:33.759 --> 00:04:36.400
training session and I said, "Oh no, um

00:04:36.400 --> 00:04:38.880
I ran out of time and one of the IT

00:04:38.880 --> 00:04:40.479
administrators says, "You have you're

00:04:40.479 --> 00:04:42.479
running VMware.

00:04:42.479 --> 00:04:46.080
Um what's your IP address? let me clone

00:04:46.080 --> 00:04:48.639
the VM machine from your laptop and I'll

00:04:48.639 --> 00:04:51.040
create four copies for every attendee.

00:04:51.040 --> 00:04:54.098
Yeah. And I was like what the hell?

00:04:54.098 --> 00:04:54.639
[laughter]

00:04:54.639 --> 00:04:56.960
So, so you know after you know spending

00:04:56.960 --> 00:04:59.520
all this time you know creating

00:04:59.520 --> 00:05:01.680
screenshots so we have a document we we

00:05:01.680 --> 00:05:03.360
we take screenshots of what we have

00:05:03.360 --> 00:05:05.600
actually done on their machine and then

00:05:05.600 --> 00:05:06.880
you know hand over to the IT

00:05:06.880 --> 00:05:09.199
administrator. um you know after doing

00:05:09.199 --> 00:05:11.759
that flow in many um you know for many

00:05:11.759 --> 00:05:13.360
customers I come to this place and

00:05:13.360 --> 00:05:14.720
they're like let me you know let me

00:05:14.720 --> 00:05:16.639
connect to your laptop to the VMware

00:05:16.639 --> 00:05:18.960
port and copy the VM. I was like, uh,

00:05:18.960 --> 00:05:20.880
okay, what the hell? At that point, I

00:05:20.880 --> 00:05:22.720
kind of realized that all of this

00:05:22.720 --> 00:05:25.680
Windows manual process is kind of

00:05:25.680 --> 00:05:28.560
nonsense. And I started looking also I

00:05:28.560 --> 00:05:30.320
wanted to run game servers. And I

00:05:30.320 --> 00:05:32.800
learned I I had like we we bought like a

00:05:32.800 --> 00:05:34.800
Power Edge Dell server that we wanted to

00:05:34.800 --> 00:05:37.120
put in a data center like a colo in in

00:05:37.120 --> 00:05:39.520
Vietnam with a friend to run games on

00:05:39.520 --> 00:05:41.840
it. And he needed Windows.

00:05:41.840 --> 00:05:44.000
>> Yeah. I wanted Counter Strike uh you

00:05:44.000 --> 00:05:45.440
CS:GO at the time,

00:05:45.440 --> 00:05:50.720
>> right around 2013. And um at the time he

00:05:50.720 --> 00:05:53.280
needed Windows for he he ran a big

00:05:53.280 --> 00:05:56.479
gaming uh news website iame.vietnam in

00:05:56.479 --> 00:05:59.039
Vietnam and um he needed he wanted to

00:05:59.039 --> 00:06:01.520
host an up andcoming game but it was

00:06:01.520 --> 00:06:04.240
Windows only. So I ran my my we needed

00:06:04.240 --> 00:06:07.280
to run VMs right Windows and um and

00:06:07.280 --> 00:06:09.680
Linux and so then I also wanted to have

00:06:09.680 --> 00:06:11.360
better performance because as soon as

00:06:11.360 --> 00:06:13.120
you run Counter Strike in the VM you

00:06:13.120 --> 00:06:15.759
start having performance problems. So I

00:06:15.759 --> 00:06:17.199
started to play with like Linux

00:06:17.199 --> 00:06:20.479
containers uh and Docker at the time and

00:06:20.479 --> 00:06:22.160
that's how I got into Docker originally

00:06:22.160 --> 00:06:25.120
and I started going to to uh meetups in

00:06:25.120 --> 00:06:27.840
in Vietnam to learn about like I want to

00:06:27.840 --> 00:06:29.520
ingest because I wanted to get create a

00:06:29.520 --> 00:06:31.440
gaming platform for Counterstrike that

00:06:31.440 --> 00:06:34.639
was like ESL existed, HLTV existed.

00:06:34.639 --> 00:06:36.720
Those are very big like Counterstrike

00:06:36.720 --> 00:06:40.400
related related services and I felt that

00:06:40.400 --> 00:06:42.000
they did not give a lot of like

00:06:42.000 --> 00:06:45.360
statistics. There was um fragbite sorry

00:06:45.360 --> 00:06:48.400
not fragbite got frag in America they

00:06:48.400 --> 00:06:51.360
gave oh and esa they had very detailed

00:06:51.360 --> 00:06:53.360
statistics uh like about your

00:06:53.360 --> 00:06:55.360
contribution to a round they calculated

00:06:55.360 --> 00:06:57.840
so they could assign skill points to a

00:06:57.840 --> 00:06:59.520
player much better than most of the

00:06:59.520 --> 00:07:02.000
other platforms. Yeah. So I was like I

00:07:02.000 --> 00:07:04.240
had built gaming I had run gaming

00:07:04.240 --> 00:07:06.479
tournaments in in Belgium. So I knew how

00:07:06.479 --> 00:07:08.160
to get all of the logs so you could get

00:07:08.160 --> 00:07:10.479
every single event from the locks. So

00:07:10.479 --> 00:07:12.000
you could tell the the Counter-Strike

00:07:12.000 --> 00:07:14.080
server to send all the locks to you. And

00:07:14.080 --> 00:07:16.000
I was used to like

00:07:16.000 --> 00:07:16.639
>> Yeah.

00:07:16.639 --> 00:07:18.560
>> Yeah. I was used basically at the time

00:07:18.560 --> 00:07:21.520
you used like like IRC bots, you know,

00:07:21.520 --> 00:07:23.759
you say a certain keyword and that

00:07:23.759 --> 00:07:25.360
message was received and the bot would

00:07:25.360 --> 00:07:27.120
would um identify with a regular

00:07:27.120 --> 00:07:28.720
expression or whatever or just look if

00:07:28.720 --> 00:07:31.039
the if the text starts with a certain

00:07:31.039 --> 00:07:32.560
keyword and then it would execute

00:07:32.560 --> 00:07:35.280
commands. So people would say things and

00:07:35.280 --> 00:07:37.440
if it had that command then the bot

00:07:37.440 --> 00:07:39.039
would respond. So, we had like a bot

00:07:39.039 --> 00:07:41.039
that would read the Counter Strike logs

00:07:41.039 --> 00:07:43.199
and then would keep track of the score

00:07:43.199 --> 00:07:44.960
uh and then keep track of like when it

00:07:44.960 --> 00:07:47.360
needs to restart or switch the teams so

00:07:47.360 --> 00:07:48.960
they could, you know, manage a

00:07:48.960 --> 00:07:50.560
tournament. So, I was like, cool, I just

00:07:50.560 --> 00:07:52.639
need to ingest all of the the statistics

00:07:52.639 --> 00:07:54.400
about the players. So, I wanted to build

00:07:54.400 --> 00:07:56.800
like a platform and I I learned Angular

00:07:56.800 --> 00:07:59.280
and NodeJS and Python and try to build

00:07:59.280 --> 00:08:00.879
this on my own at the same time, you

00:08:00.879 --> 00:08:03.280
know, as a side project. And I I then

00:08:03.280 --> 00:08:06.240
really got into Docker and and and go to

00:08:06.240 --> 00:08:07.919
meetup. So I I got into the Docker

00:08:07.919 --> 00:08:11.120
meetups and and then

00:08:11.120 --> 00:08:13.840
>> Yeah, that's cool. Like a lot I mean I I

00:08:13.840 --> 00:08:15.840
basically got into this into this game

00:08:15.840 --> 00:08:18.400
through gaming and I think that's a very

00:08:18.400 --> 00:08:19.520
common uh

00:08:19.520 --> 00:08:21.360
>> what do you call it? Origin story for a

00:08:21.360 --> 00:08:22.479
lot of people in this business.

00:08:22.479 --> 00:08:24.639
>> Yeah.

00:08:24.639 --> 00:08:27.360
>> Servers to infrastructure engineers.

00:08:27.360 --> 00:08:31.199
>> Yes. And also um going to the meetups

00:08:31.199 --> 00:08:35.039
gave you a lot of like insights um into

00:08:35.039 --> 00:08:36.880
what other people were doing and allowed

00:08:36.880 --> 00:08:39.599
you to talk to people and figure out

00:08:39.599 --> 00:08:41.760
like even though I was at my day job I

00:08:41.760 --> 00:08:44.959
was working for 10 years with like these

00:08:44.959 --> 00:08:46.640
just financial accounting systems and

00:08:46.640 --> 00:08:48.800
building you know nets power and

00:08:48.800 --> 00:08:50.640
powershell scripts and and things like

00:08:50.640 --> 00:08:52.720
that and then now I was like learning

00:08:52.720 --> 00:08:55.360
bash python docker like immutable

00:08:55.360 --> 00:08:57.920
servers and and and So that was like

00:08:57.920 --> 00:09:00.560
really exciting and interesting you know

00:09:00.560 --> 00:09:02.480
um but

00:09:02.480 --> 00:09:03.839
>> but then you then you got into

00:09:03.839 --> 00:09:06.160
Kubernetes hard.

00:09:06.160 --> 00:09:08.080
>> Yeah. So one of the meetups that was

00:09:08.080 --> 00:09:12.720
around 2014 after the Google people had

00:09:12.720 --> 00:09:15.600
announced Kubernetes as a project uh at

00:09:15.600 --> 00:09:18.959
the Docker Con. Um it looked way

00:09:18.959 --> 00:09:21.200
overkill like initially when I looked at

00:09:21.200 --> 00:09:22.640
what they talked about the cublet that

00:09:22.640 --> 00:09:24.000
was interesting. Yeah. you could run

00:09:24.000 --> 00:09:26.080
that separately to get like information

00:09:26.080 --> 00:09:28.000
about your docker demon and the

00:09:28.000 --> 00:09:29.600
containers on your host. So that was

00:09:29.600 --> 00:09:31.279
like yeah maybe I like the cublet but I

00:09:31.279 --> 00:09:33.680
don't like this everything else right

00:09:33.680 --> 00:09:34.080
and then

00:09:34.080 --> 00:09:36.399
>> the control plane is quite good isn't it

00:09:36.399 --> 00:09:36.800
like

00:09:36.800 --> 00:09:38.800
>> it was absolutely crazy in the beta. So

00:09:38.800 --> 00:09:42.640
back in 2014 uh I think around September

00:09:42.640 --> 00:09:45.760
they they went from beta to like sta

00:09:45.760 --> 00:09:49.040
stable v1 um around September. So they

00:09:49.040 --> 00:09:51.279
had announced it in July and it looked

00:09:51.279 --> 00:09:53.200
really complicated and at the time I was

00:09:53.200 --> 00:09:55.200
using digital ocean because I didn't

00:09:55.200 --> 00:09:58.959
know AWS and I wanted like simple VPS,

00:09:58.959 --> 00:10:01.760
right? A a droplet cost like $5 a month

00:10:01.760 --> 00:10:03.760
>> and it was great for a hobby, right?

00:10:03.760 --> 00:10:05.360
>> Ocean was great, wasn't it? It was so

00:10:05.360 --> 00:10:06.800
easy.

00:10:06.800 --> 00:10:10.399
>> Yeah. And and but they had also um an a

00:10:10.399 --> 00:10:12.720
bounty like if you if you propose an

00:10:12.720 --> 00:10:14.640
article and they approved it, then they

00:10:14.640 --> 00:10:17.760
would give you like $30 credit to run.

00:10:17.760 --> 00:10:20.160
>> Oh. and and write the article for them

00:10:20.160 --> 00:10:21.839
and their ex

00:10:21.839 --> 00:10:22.480
>> sorry

00:10:22.480 --> 00:10:24.320
>> that was a brilliant idea to get people

00:10:24.320 --> 00:10:25.279
engaged. Yeah.

00:10:25.279 --> 00:10:26.880
>> Yeah. So to to basically create a huge

00:10:26.880 --> 00:10:28.240
knowledge base and to have the community

00:10:28.240 --> 00:10:30.320
build a lot of interesting use cases on

00:10:30.320 --> 00:10:32.160
top of digital ocean and there was an

00:10:32.160 --> 00:10:34.880
article from a guy who worked at digital

00:10:34.880 --> 00:10:36.320
ocean I think about setting up

00:10:36.320 --> 00:10:38.800
Kubernetes on digital ocean droplets but

00:10:38.800 --> 00:10:40.880
it was like you originally kubernetes

00:10:40.880 --> 00:10:42.959
was all bash shell scripts like you had

00:10:42.959 --> 00:10:45.760
to run this script to to build this and

00:10:45.760 --> 00:10:47.279
that. I mean it was horrible

00:10:47.279 --> 00:10:49.680
installation mechanism and then Kelsey

00:10:49.680 --> 00:10:52.000
High Tower had written this um guide for

00:10:52.000 --> 00:10:54.240
core OS. So I was using coros a lot

00:10:54.240 --> 00:10:55.200
which is like

00:10:55.200 --> 00:10:56.959
>> yeah o really good

00:10:56.959 --> 00:10:59.200
>> everything is is through systemd unit.

00:10:59.200 --> 00:11:01.600
So it was all systemd and then they

00:11:01.600 --> 00:11:03.600
built their their fleet

00:11:03.600 --> 00:11:04.240
>> on top of system.

00:11:04.240 --> 00:11:06.240
>> I love the upgrade mechanism where where

00:11:06.240 --> 00:11:08.560
>> yeah so they have dual boot and they had

00:11:08.560 --> 00:11:11.839
like a locksmith um to basic and was was

00:11:11.839 --> 00:11:15.519
from coros right they used to to track

00:11:15.519 --> 00:11:18.079
um the whole fleet when one acquired the

00:11:18.079 --> 00:11:19.839
lock to reboot into the second

00:11:19.839 --> 00:11:21.519
partition. They also used the idea of

00:11:21.519 --> 00:11:23.760
channels. So if you are running on a

00:11:23.760 --> 00:11:25.279
certain version of chores and you're

00:11:25.279 --> 00:11:26.959
subscribed to like the stable channel

00:11:26.959 --> 00:11:28.720
and a new version is available, it would

00:11:28.720 --> 00:11:30.320
you know behind the scenes download the

00:11:30.320 --> 00:11:32.640
second uh the new version on a second

00:11:32.640 --> 00:11:34.000
partition and then it would

00:11:34.000 --> 00:11:36.079
>> I think that came

00:11:36.079 --> 00:11:37.760
OS

00:11:37.760 --> 00:11:40.240
>> slight slight little ch tangent before

00:11:40.240 --> 00:11:42.640
Chrome OS I had my startup web converger

00:11:42.640 --> 00:11:44.480
which had an update mechanism which I

00:11:44.480 --> 00:11:45.760
thought was quite novel I still think

00:11:45.760 --> 00:11:48.480
it's novel and that was based on git. So

00:11:48.480 --> 00:11:52.079
basically the whole root of the the OS

00:11:52.079 --> 00:11:54.880
is checked into git and then the idea is

00:11:54.880 --> 00:11:57.040
that it once it's running you do a git

00:11:57.040 --> 00:11:59.680
pull and that's how it gets the sort of

00:11:59.680 --> 00:12:02.640
like deltas and then on reboot it checks

00:12:02.640 --> 00:12:06.480
out the new um updates. Um, so I was

00:12:06.480 --> 00:12:12.000
quite and I'm still am quite uh well uh

00:12:12.000 --> 00:12:14.000
boasting well boasting or promoting my

00:12:14.000 --> 00:12:15.920
method over the Chrome OS one because I

00:12:15.920 --> 00:12:17.200
still think the Chrome OS one is a

00:12:17.200 --> 00:12:19.040
little bit overkill but anyway,

00:12:19.040 --> 00:12:21.839
>> right? Um so so the cool thing was I

00:12:21.839 --> 00:12:23.680
really loved Coros and Kelsey was

00:12:23.680 --> 00:12:25.839
working at Coros and had this very nice

00:12:25.839 --> 00:12:27.600
guide on how to set up a Kubernetes

00:12:27.600 --> 00:12:30.560
fleet using Coros. Um but he had only

00:12:30.560 --> 00:12:32.560
examples for AWS and at the time maybe

00:12:32.560 --> 00:12:34.480
even Google Cloud. was before he he

00:12:34.480 --> 00:12:37.519
joined Google and those guides were like

00:12:37.519 --> 00:12:40.240
first you have to create your your uh

00:12:40.240 --> 00:12:44.240
your private key infrastructure your PKI

00:12:44.240 --> 00:12:45.839
>> Kubernetes is the hard way that's how it

00:12:45.839 --> 00:12:47.120
starts I believe

00:12:47.120 --> 00:12:48.959
>> well it was the hard way before the hard

00:12:48.959 --> 00:12:51.519
way was a thing [laughter] so I I wrote

00:12:51.519 --> 00:12:54.480
this this guide for for digital ocean

00:12:54.480 --> 00:12:57.360
which was massive you know it started by

00:12:57.360 --> 00:13:00.079
you know bootstrapping your PII with

00:13:00.079 --> 00:13:02.079
selfert like self-signed certificate

00:13:02.079 --> 00:13:04.720
authority generating different client

00:13:04.720 --> 00:13:07.200
keys for the SC CD client setting up

00:13:07.200 --> 00:13:10.079
flannel you know and I I did a full deep

00:13:10.079 --> 00:13:12.160
dive into like how does

00:13:12.160 --> 00:13:13.040
>> I've forgotten it sounds

00:13:13.040 --> 00:13:15.839
>> flannel was a core o um pxlan packet

00:13:15.839 --> 00:13:17.920
encapsulation system so it's basically

00:13:17.920 --> 00:13:19.839
to create the overlay network right um

00:13:19.839 --> 00:13:21.839
when kubernetes that's one of the great

00:13:21.839 --> 00:13:23.519
things about kubernetes right every

00:13:23.519 --> 00:13:25.760
container within the fleet must talk to

00:13:25.760 --> 00:13:27.839
must be able to talk to other containers

00:13:27.839 --> 00:13:29.120
that may be running on different

00:13:29.120 --> 00:13:32.560
machines so they create this overlay

00:13:32.560 --> 00:13:35.440
network on top of the underlaying cloud

00:13:35.440 --> 00:13:36.880
network. So you create like maybe three

00:13:36.880 --> 00:13:39.920
core o droplets and then you create a

00:13:39.920 --> 00:13:43.920
bunch of flannel um demons that keep

00:13:43.920 --> 00:13:46.079
track of the range of IP addresses

00:13:46.079 --> 00:13:48.720
containers within their host can have

00:13:48.720 --> 00:13:50.480
and then flannel whenever a network

00:13:50.480 --> 00:13:52.720
packet comes in encapsulates it that

00:13:52.720 --> 00:13:55.360
network packet on the overlay network

00:13:55.360 --> 00:13:57.120
encapsulate it in the underlay network

00:13:57.120 --> 00:13:59.279
to then send it to the right node and

00:13:59.279 --> 00:14:01.519
then that decapsulated and then send it

00:14:01.519 --> 00:14:03.600
okay the source is this container. So,

00:14:03.600 --> 00:14:05.680
so Flannel was a very basic one you

00:14:05.680 --> 00:14:09.120
backed by CD and then um kind of merged

00:14:09.120 --> 00:14:11.040
with Calico because Kalico added

00:14:11.040 --> 00:14:13.920
additional ways of encapsulation that um

00:14:13.920 --> 00:14:17.440
were less like latency in introduced

00:14:17.440 --> 00:14:20.079
less latency. So, so it was super

00:14:20.079 --> 00:14:21.519
interesting. I mean all of these tools

00:14:21.519 --> 00:14:24.560
came out of Coros um and actually this

00:14:24.560 --> 00:14:26.320
was after somebody within the Docker

00:14:26.320 --> 00:14:28.000
meetup had asked like hey you know this

00:14:28.000 --> 00:14:29.760
Kubernetes thing does somebody want to

00:14:29.760 --> 00:14:31.600
look at it and I had and and it was

00:14:31.600 --> 00:14:34.399
around the V1 release. So a lot of these

00:14:34.399 --> 00:14:36.079
stuff was um you know getting

00:14:36.079 --> 00:14:38.560
stabilized. Uh so there were less bash

00:14:38.560 --> 00:14:40.160
scripts to download all the all the

00:14:40.160 --> 00:14:41.839
binaries. You actually had proper Golang

00:14:41.839 --> 00:14:43.199
binaries that you could download from

00:14:43.199 --> 00:14:47.120
the releases. And so I was able to to

00:14:47.120 --> 00:14:49.040
talk about it like watching Brandon

00:14:49.040 --> 00:14:50.959
Burns and Kelsey High Tower talk about

00:14:50.959 --> 00:14:53.360
Kubernetes and seeing the live demo of

00:14:53.360 --> 00:14:55.199
Kelsey High Tower where he just you know

00:14:55.199 --> 00:14:58.560
triggers uh a replica set. I think it

00:14:58.560 --> 00:15:00.000
was later that they introduced

00:15:00.000 --> 00:15:01.680
deployments. Originally it was um

00:15:01.680 --> 00:15:03.760
replication

00:15:03.760 --> 00:15:05.680
uh it was not replica set it was like

00:15:05.680 --> 00:15:07.920
replica controller

00:15:07.920 --> 00:15:10.560
um but it was very confusing because the

00:15:10.560 --> 00:15:13.360
name of the object was called like a

00:15:13.360 --> 00:15:15.120
replication controller where you give it

00:15:15.120 --> 00:15:17.279
the number of pots you want to run uh

00:15:17.279 --> 00:15:19.839
but then in real in reality the

00:15:19.839 --> 00:15:21.360
controller is something that runs inside

00:15:21.360 --> 00:15:23.839
the AP inside the control plane that

00:15:23.839 --> 00:15:26.079
that looks at the request and the actual

00:15:26.079 --> 00:15:28.000
object is the replica set is how many

00:15:28.000 --> 00:15:29.600
you want to run of them right so then

00:15:29.600 --> 00:15:33.120
they renamed it on v 1.1 or 1.2 and they

00:15:33.120 --> 00:15:35.040
introduced a thing called the deployment

00:15:35.040 --> 00:15:36.959
to basically control the rollover

00:15:36.959 --> 00:15:38.480
mechanism like how do you want to roll

00:15:38.480 --> 00:15:40.800
out between different replica sets. Uh

00:15:40.800 --> 00:15:43.519
so that was all introduced around the

00:15:43.519 --> 00:15:45.600
time that I went to for Asia in in

00:15:45.600 --> 00:15:47.920
Singapore uh and do a presentation about

00:15:47.920 --> 00:15:50.560
Kubernetes there. So I was talking about

00:15:50.560 --> 00:15:52.480
this amazing, you know, mechanism of

00:15:52.480 --> 00:15:55.279
replication controllers and then they

00:15:55.279 --> 00:15:57.040
changed it all to replica sets and I was

00:15:57.040 --> 00:15:58.720
like I'm very confused about this new

00:15:58.720 --> 00:15:59.040
stuff.

00:15:59.040 --> 00:16:00.639
>> I was a little bit puzzled about replica

00:16:00.639 --> 00:16:04.000
sets myself because because ultimately

00:16:04.000 --> 00:16:07.279
>> it seemed attached to to how you would

00:16:07.279 --> 00:16:09.600
want to scale your app because because

00:16:09.600 --> 00:16:11.360
if you have too many replicas then you

00:16:11.360 --> 00:16:14.560
you're going to maybe take too many too

00:16:14.560 --> 00:16:18.320
many uh CPU or whatever RAM resources.

00:16:18.320 --> 00:16:19.040
And I thought

00:16:19.040 --> 00:16:20.959
>> everything it changed so much

00:16:20.959 --> 00:16:23.199
>> like how like if I'm running my app how

00:16:23.199 --> 00:16:24.800
many replicas do I need? Do I need two

00:16:24.800 --> 00:16:27.839
three four five 10? Do I do I do it to

00:16:27.839 --> 00:16:30.399
to maximize the resour so

00:16:30.399 --> 00:16:31.199
>> like I I never

00:16:31.199 --> 00:16:33.759
>> when I'm talking about 2014 15 all of

00:16:33.759 --> 00:16:36.639
that was like very basic. Um today you

00:16:36.639 --> 00:16:38.480
would obviously use like autoscaling you

00:16:38.480 --> 00:16:40.399
would um even you have vertical

00:16:40.399 --> 00:16:42.880
autoscaling now you can resize pods

00:16:42.880 --> 00:16:44.240
without restarting them. Those are all

00:16:44.240 --> 00:16:46.000
things that you can do stable because

00:16:46.000 --> 00:16:48.800
like I just

00:16:48.800 --> 00:16:50.079
it is

00:16:50.079 --> 00:16:51.839
>> because because a few years ago I just

00:16:51.839 --> 00:16:53.199
thought I I just don't trust this

00:16:53.199 --> 00:16:58.079
autoscaler but um but yeah may maybe I'm

00:16:58.079 --> 00:16:59.839
>> so so that that's how I got into it

00:16:59.839 --> 00:17:02.079
right I mean initially I was doing coros

00:17:02.079 --> 00:17:05.839
for my friend startup um and every time

00:17:05.839 --> 00:17:07.919
the droplet every time cor updated

00:17:07.919 --> 00:17:09.671
nobody has access anymore because

00:17:09.671 --> 00:17:11.839
[laughter] I was maintaining their SSH

00:17:11.839 --> 00:17:12.799
keys separately

00:17:12.799 --> 00:17:14.799
>> what was relation ship between core o

00:17:14.799 --> 00:17:18.160
and kubernetes because coros came out of

00:17:18.160 --> 00:17:19.520
docker didn't it? No what did it

00:17:19.520 --> 00:17:22.959
>> no coros is a was a company um that was

00:17:22.959 --> 00:17:25.520
also called coros and they had an um

00:17:25.520 --> 00:17:27.600
they had an operating system called

00:17:27.600 --> 00:17:30.400
coros which was a container centric

00:17:30.400 --> 00:17:32.559
operating system. So you would run even

00:17:32.559 --> 00:17:34.080
your debug tools you would run

00:17:34.080 --> 00:17:36.160
everything through contra containers and

00:17:36.160 --> 00:17:37.679
the actual it was kind of like a

00:17:37.679 --> 00:17:40.720
precursor to Talos uh today I think

00:17:40.720 --> 00:17:43.840
>> um that idea of like using docker images

00:17:43.840 --> 00:17:47.120
to like I don't know um get your basic

00:17:47.120 --> 00:17:49.039
bash or something well I mean bash is

00:17:49.039 --> 00:17:51.039
not a good example but like your tooling

00:17:51.039 --> 00:17:51.840
yeah

00:17:51.840 --> 00:17:53.840
>> yeah and and chores originally they they

00:17:53.840 --> 00:17:56.640
had their own scheduler right um that

00:17:56.640 --> 00:17:58.960
they built separate from kubernetes

00:17:58.960 --> 00:18:01.520
which was fleet and fleet

00:18:01.520 --> 00:18:04.080
They basically extended the idea of a

00:18:04.080 --> 00:18:07.360
systemd unit to um to something that you

00:18:07.360 --> 00:18:09.280
could run across multiple nodes and you

00:18:09.280 --> 00:18:11.360
had some scheduling constraints on the

00:18:11.360 --> 00:18:13.440
systemd unit. I forgot the name of it

00:18:13.440 --> 00:18:15.919
that uh it was a set of units or

00:18:15.919 --> 00:18:17.440
something like that. Uh but as

00:18:17.440 --> 00:18:20.080
Kubernetes became more popular they

00:18:20.080 --> 00:18:22.320
deprecated their own fleet and they

00:18:22.320 --> 00:18:24.640
started they adopted um Kubernetes and

00:18:24.640 --> 00:18:26.559
then they built their own flavor of it

00:18:26.559 --> 00:18:27.200
called tectonic.

00:18:27.200 --> 00:18:30.559
>> The Kubernetes is system D3. Um, so it

00:18:30.559 --> 00:18:32.799
feels like systemd went head-to-head

00:18:32.799 --> 00:18:34.559
with Kubernetes and Kubernetes one,

00:18:34.559 --> 00:18:35.360
right?

00:18:35.360 --> 00:18:38.960
>> M, not really. I mean, systemd was the

00:18:38.960 --> 00:18:41.280
way to run like was replacing your

00:18:41.280 --> 00:18:43.280
upstart and your init systems on the

00:18:43.280 --> 00:18:44.720
operating system, right? And Redhead

00:18:44.720 --> 00:18:46.320
made it the default and a lot of uh

00:18:46.320 --> 00:18:48.720
distributions like rejected it, but then

00:18:48.720 --> 00:18:50.480
Ubuntu adopted it and then everyone

00:18:50.480 --> 00:18:51.200
followed.

00:18:51.200 --> 00:18:53.520
>> Uses a different well c what what's the

00:18:53.520 --> 00:18:55.120
name of the control plan? cublet or

00:18:55.120 --> 00:18:56.640
whatever to

00:18:56.640 --> 00:18:58.880
>> uh no kubernetes completely decoupled

00:18:58.880 --> 00:19:00.880
from it like systemd was purely your

00:19:00.880 --> 00:19:03.360
init system on your operating on your

00:19:03.360 --> 00:19:06.160
>> how does kubernetes managed the pods and

00:19:06.160 --> 00:19:09.120
>> well that's the container runtime

00:19:09.120 --> 00:19:10.000
>> right

00:19:10.000 --> 00:19:12.160
>> so the container runtime interface so

00:19:12.160 --> 00:19:15.360
originally a lot of them use docker to

00:19:15.360 --> 00:19:18.480
to use to basically like pull the

00:19:18.480 --> 00:19:20.400
container image set up the file system

00:19:20.400 --> 00:19:22.160
launch the process within the cont like

00:19:22.160 --> 00:19:24.160
the name spaces and the control groups

00:19:24.160 --> 00:19:26.480
set everything up for you, right? Um,

00:19:26.480 --> 00:19:29.120
and then over time there was this uh

00:19:29.120 --> 00:19:32.160
split between Docker and Coros because

00:19:32.160 --> 00:19:34.320
um Docker was moving fast and breaking

00:19:34.320 --> 00:19:36.960
things and so Red Hat froze the Docker

00:19:36.960 --> 00:19:39.840
versions and then Coros created a new

00:19:39.840 --> 00:19:41.600
project called Rocket which is using

00:19:41.600 --> 00:19:43.520
systemdspawn.

00:19:43.520 --> 00:19:46.320
>> Yeah, systemdspawn. Yes.

00:19:46.320 --> 00:19:49.679
>> And that was like Leonard uh was it name

00:19:49.679 --> 00:19:52.480
Leonard like pit one

00:19:52.480 --> 00:19:55.039
>> butering. Yeah, he he he basically said

00:19:55.039 --> 00:19:57.120
he came to Singapore as well talked

00:19:57.120 --> 00:19:59.679
about like systemd and spawn is how I

00:19:59.679 --> 00:20:03.600
debug. Yeah, systemdspawn is how I debug

00:20:03.600 --> 00:20:07.200
um kernels. So I use systemdnspawn all

00:20:07.200 --> 00:20:09.120
time. It's a very solid product and then

00:20:09.120 --> 00:20:12.000
Cororo built rocket on top of it and

00:20:12.000 --> 00:20:15.360
they added um the good thing about this

00:20:15.360 --> 00:20:17.679
competition was that they said like okay

00:20:17.679 --> 00:20:20.480
Docker is using very insecure uh like

00:20:20.480 --> 00:20:22.240
they didn't have proper verification of

00:20:22.240 --> 00:20:26.080
the images and and so Koro said we need

00:20:26.080 --> 00:20:27.440
to focus on that and Docker was like

00:20:27.440 --> 00:20:28.960
that's not our priority our priority is

00:20:28.960 --> 00:20:31.120
developer experience and Coro says okay

00:20:31.120 --> 00:20:33.679
we're building systemdspawn and we're

00:20:33.679 --> 00:20:36.400
adding this GPG based signing of images

00:20:36.400 --> 00:20:38.320
and and layer like image layer

00:20:38.320 --> 00:20:39.600
verification like basically what

00:20:39.600 --> 00:20:41.919
enterprises need for security and the

00:20:41.919 --> 00:20:44.159
response of docker was there well you're

00:20:44.159 --> 00:20:46.640
using gpg is so old we use tuf like the

00:20:46.640 --> 00:20:49.120
update framework and we are using like a

00:20:49.120 --> 00:20:51.280
notary for signing layers and and they

00:20:51.280 --> 00:20:52.960
they came up with like a new completely

00:20:52.960 --> 00:20:54.400
new tool set I think docker at the time

00:20:54.400 --> 00:20:56.480
had a lot of money as well a lot of VC

00:20:56.480 --> 00:20:58.960
investments and so they docker was like

00:20:58.960 --> 00:21:00.960
this one company and and Solomon hike

00:21:00.960 --> 00:21:02.880
was like fighting super hard against

00:21:02.880 --> 00:21:05.039
these giants Google redhead and and

00:21:05.039 --> 00:21:07.520
others and And um

00:21:07.520 --> 00:21:10.159
>> yeah, they had their own and whatever.

00:21:10.159 --> 00:21:12.159
>> Yeah. So when when they did a Docker con

00:21:12.159 --> 00:21:15.200
that year that um Cor and Stroet, they

00:21:15.200 --> 00:21:19.120
made an exposition about like um the the

00:21:19.120 --> 00:21:21.360
whale at the start of the conference.

00:21:21.360 --> 00:21:22.799
They did something. I only watched

00:21:22.799 --> 00:21:24.400
everything on Twitter. I I never went to

00:21:24.400 --> 00:21:25.679
any of these events, but I saw on

00:21:25.679 --> 00:21:27.679
Twitter that they had like this this

00:21:27.679 --> 00:21:29.360
opening of the conference and the rocket

00:21:29.360 --> 00:21:32.000
launch failed. And hint hint, rocket

00:21:32.000 --> 00:21:33.919
failed. Like [laughter] they would do

00:21:33.919 --> 00:21:35.679
these things all the time. Oh man, we

00:21:35.679 --> 00:21:37.760
can I'm just conscious we this is

00:21:37.760 --> 00:21:39.919
supposed to be the intro for your grid

00:21:39.919 --> 00:21:42.000
um app.

00:21:42.000 --> 00:21:43.520
>> Oh my god. This is going to be a video

00:21:43.520 --> 00:21:44.880
onto itself almost

00:21:44.880 --> 00:21:45.440
>> but like

00:21:45.440 --> 00:21:47.440
>> No, no, no. Yeah, just a background.

00:21:47.440 --> 00:21:50.080
>> Why did core OS fail actually?

00:21:50.080 --> 00:21:51.840
>> It didn't fail. It was acquired by

00:21:51.840 --> 00:21:54.159
Redhead.

00:21:54.159 --> 00:21:55.840
>> Okay. Well, they did I mean it did fail

00:21:55.840 --> 00:21:58.799
in my book because it did seem to go out

00:21:58.799 --> 00:22:01.760
of the view that it seems to have lost

00:22:01.760 --> 00:22:03.679
minds. I think the biggest problem was

00:22:03.679 --> 00:22:05.679
they had built tectonic which was like a

00:22:05.679 --> 00:22:08.159
terraform based kubernetes flavor. So

00:22:08.159 --> 00:22:11.919
they had their own um boot system. So

00:22:11.919 --> 00:22:14.000
they had like this um cloud init

00:22:14.000 --> 00:22:16.480
extension called I forgot ignition. They

00:22:16.480 --> 00:22:19.360
had this ignition u it's like user data

00:22:19.360 --> 00:22:21.919
on steroids uh for pixie booting on on

00:22:21.919 --> 00:22:24.320
on networks like your coros and so on.

00:22:24.320 --> 00:22:26.720
It was amazing like I never ran cor OS

00:22:26.720 --> 00:22:29.280
on on LAN but they they were focused on

00:22:29.280 --> 00:22:30.799
like enterprise customers not

00:22:30.799 --> 00:22:32.559
necessarily running in the cloud and

00:22:32.559 --> 00:22:34.720
Tectonic was all Terraform with like

00:22:34.720 --> 00:22:38.080
ignition provider and the problem was

00:22:38.080 --> 00:22:40.640
Tectonic was really expensive like the

00:22:40.640 --> 00:22:43.840
license to run Tectonic like you could

00:22:43.840 --> 00:22:45.280
run it for free but you wouldn't get

00:22:45.280 --> 00:22:47.039
some of the like SSO and other

00:22:47.039 --> 00:22:49.600
enterprise features so originally

00:22:49.600 --> 00:22:50.720
Tectonic

00:22:50.720 --> 00:22:54.080
>> was their their commercial offering What

00:22:54.080 --> 00:22:56.080
is the link with Terraform? You you you

00:22:56.080 --> 00:22:58.000
would use Terraform to provision it or

00:22:58.000 --> 00:22:58.720
something or

00:22:58.720 --> 00:23:00.640
>> Yeah. So they they had the like Tectonic

00:23:00.640 --> 00:23:02.640
was basically a whole bunch of Terraform

00:23:02.640 --> 00:23:04.320
packaged up with Kubernetes bootstrap

00:23:04.320 --> 00:23:06.400
with ignition with on top of core OS. So

00:23:06.400 --> 00:23:08.720
it would give you a fleet of coros um

00:23:08.720 --> 00:23:11.760
nodes and it would bootstrap CD and the

00:23:11.760 --> 00:23:13.440
control plane for Kubernetes and it

00:23:13.440 --> 00:23:15.760
would bootstrap every node to join the

00:23:15.760 --> 00:23:17.120
cluster properly and all that. So

00:23:17.120 --> 00:23:19.039
tectonic on top of that it was a bit

00:23:19.039 --> 00:23:21.679
like open shift right. So, so at the

00:23:21.679 --> 00:23:23.360
time a lot of these kubernetes

00:23:23.360 --> 00:23:25.760
distributions came out like open shift

00:23:25.760 --> 00:23:28.000
um from ranch like there was wrencher

00:23:28.000 --> 00:23:30.559
and there was also from fedora or susi

00:23:30.559 --> 00:23:32.640
linux they had also their own flavor and

00:23:32.640 --> 00:23:34.240
pretty much everyone was launching their

00:23:34.240 --> 00:23:36.159
kubernetes flavor

00:23:36.159 --> 00:23:38.320
>> um and before the clouds launched them

00:23:38.320 --> 00:23:39.919
like Google had

00:23:39.919 --> 00:23:43.600
>> I think had nothing

00:23:43.600 --> 00:23:46.000
>> yeah I did not like it

00:23:46.000 --> 00:23:47.919
>> it was I mean it's the same thing with

00:23:47.919 --> 00:23:51.039
like I I So my background's always been

00:23:51.039 --> 00:23:52.640
very operational.

00:23:52.640 --> 00:23:53.360
>> Sorry,

00:23:53.360 --> 00:23:54.720
>> it was the most minimal one. I think

00:23:54.720 --> 00:23:55.840
that's why I was attracted to

00:23:55.840 --> 00:23:58.799
>> it was the most like easy one like

00:23:58.799 --> 00:24:00.880
docker compos like the reason developers

00:24:00.880 --> 00:24:02.640
like to run docker compose is because

00:24:02.640 --> 00:24:06.000
it's easy almost no dials and knobs same

00:24:06.000 --> 00:24:07.520
like wrencher you would just run it it

00:24:07.520 --> 00:24:08.720
would just run it would spin up

00:24:08.720 --> 00:24:10.640
everything and it would just run and I

00:24:10.640 --> 00:24:12.640
hated that because I I was deep into

00:24:12.640 --> 00:24:14.320
like spinning up my CD my own

00:24:14.320 --> 00:24:16.799
certificates my own you know user data

00:24:16.799 --> 00:24:19.200
at that time. So, so, so the thing is I,

00:24:19.200 --> 00:24:22.159
you know, you start digging in really

00:24:22.159 --> 00:24:25.200
deep and then as you are, you know, I

00:24:25.200 --> 00:24:27.200
wasn't working at a company that was

00:24:27.200 --> 00:24:29.760
like having real needs. I I wasn't

00:24:29.760 --> 00:24:31.760
working at any company using Kubernetes,

00:24:31.760 --> 00:24:33.760
right? So, for I was doing this all for

00:24:33.760 --> 00:24:35.279
fun. So, all of this stuff that took

00:24:35.279 --> 00:24:37.039
away my fun like rancher that was no

00:24:37.039 --> 00:24:40.880
good. I wanted to do it myself. So I

00:24:40.880 --> 00:24:42.480
remember very early somebody asked like

00:24:42.480 --> 00:24:44.240
I was talking about running a mail

00:24:44.240 --> 00:24:46.240
server on the on on on digital ocean

00:24:46.240 --> 00:24:47.520
lotion and somebody said why wouldn't

00:24:47.520 --> 00:24:49.760
you just use AWS and I was like oh you

00:24:49.760 --> 00:24:51.200
know why would I pay all of this extra

00:24:51.200 --> 00:24:53.679
money [laughter] I can do it myself and

00:24:53.679 --> 00:24:56.240
then of course you you get called

00:24:56.240 --> 00:24:57.679
>> Yeah. No and then you get called in

00:24:57.679 --> 00:24:59.600
these problems um because my friend

00:24:59.600 --> 00:25:01.200
startup he's trying to send emails and

00:25:01.200 --> 00:25:04.559
then they go into like the they go into

00:25:04.559 --> 00:25:06.080
>> Yeah. they go in quarantine and then

00:25:06.080 --> 00:25:07.679
he's like, "Oh, Vincent, what is this?

00:25:07.679 --> 00:25:11.279
Like our our spam house uh reputation is

00:25:11.279 --> 00:25:12.960
bad and and then it's because you're

00:25:12.960 --> 00:25:15.039
using digital ocean IPs and they are

00:25:15.039 --> 00:25:17.840
obviously like blacklisted in spam house

00:25:17.840 --> 00:25:19.440
and so then you start to get all of

00:25:19.440 --> 00:25:23.679
these issues and also you know once I

00:25:23.679 --> 00:25:25.679
got all of the Kubernetes figured out

00:25:25.679 --> 00:25:26.799
and I could [clears throat] do cluster

00:25:26.799 --> 00:25:28.799
upgrades easily and all of that and then

00:25:28.799 --> 00:25:30.159
you don't want to bother with it anymore

00:25:30.159 --> 00:25:32.000
after a while like that's done. you've

00:25:32.000 --> 00:25:33.440
you've played enough with it and now you

00:25:33.440 --> 00:25:35.279
want to just focus on deploying things

00:25:35.279 --> 00:25:38.000
on top of it. So it took a while to get

00:25:38.000 --> 00:25:39.360
to that stage and also when you're in a

00:25:39.360 --> 00:25:40.720
company and you have to deliver a

00:25:40.720 --> 00:25:42.559
business value and not just spin up

00:25:42.559 --> 00:25:43.919
clusters

00:25:43.919 --> 00:25:45.440
>> then you start to say actually you know

00:25:45.440 --> 00:25:46.400
I can use

00:25:46.400 --> 00:25:48.159
>> in your current role are you still a

00:25:48.159 --> 00:25:51.360
Kubernetes u uh monkey or whatever the

00:25:51.360 --> 00:25:53.679
term is for

00:25:53.679 --> 00:25:56.799
>> uh so my last role that I use Kubernetes

00:25:56.799 --> 00:25:58.080
was like two years ago.

00:25:58.080 --> 00:25:59.919
>> Okay. So now you've like gone

00:25:59.919 --> 00:26:02.960
terraformish. Well, you got CDK or

00:26:02.960 --> 00:26:05.120
>> Yeah. Um

00:26:05.120 --> 00:26:07.600
I I really was interested about CDK. I

00:26:07.600 --> 00:26:08.880
just never had the opportunity to play

00:26:08.880 --> 00:26:09.760
with it, right?

00:26:09.760 --> 00:26:12.720
>> Um so so I got into

00:26:12.720 --> 00:26:15.360
>> an organization that used CDK and then

00:26:15.360 --> 00:26:18.240
um I saw the benefits of it and and then

00:26:18.240 --> 00:26:20.320
also I worked with I worked plenty of

00:26:20.320 --> 00:26:21.760
times that I trained people how to use

00:26:21.760 --> 00:26:24.400
Kubernetes. And when you use something

00:26:24.400 --> 00:26:26.480
like ECS and you have something like CDK

00:26:26.480 --> 00:26:28.880
that can create container definitions or

00:26:28.880 --> 00:26:31.279
Fargate backed uh you know just define

00:26:31.279 --> 00:26:33.760
my workload it's so much easier to to

00:26:33.760 --> 00:26:36.080
work with than if you have to like you

00:26:36.080 --> 00:26:38.000
know define everything with Argo CD and

00:26:38.000 --> 00:26:40.480
GitHubs and and endless lines of YAML

00:26:40.480 --> 00:26:42.559
and and so again it's one of those

00:26:42.559 --> 00:26:44.240
things that's very interesting for a

00:26:44.240 --> 00:26:46.320
while and then once you've done it you

00:26:46.320 --> 00:26:48.000
get really bored of it [laughter]

00:26:48.000 --> 00:26:49.600
you know initially.

00:26:49.600 --> 00:26:54.159
>> Well I mean yeah like I think I

00:26:54.159 --> 00:26:57.440
empathize with you. I I we we we're all

00:26:57.440 --> 00:27:02.480
exposed to these these technologies. Um

00:27:02.480 --> 00:27:04.799
and and we as you should and like Yeah.

00:27:04.799 --> 00:27:06.320
I know about Kubernetes, I know about

00:27:06.320 --> 00:27:08.240
Terraform, I know about CDK. The more we

00:27:08.240 --> 00:27:10.720
know the better we are really. It's not

00:27:10.720 --> 00:27:12.480
like I do find it weird when

00:27:12.480 --> 00:27:14.000
>> the more we understand the trade-offs as

00:27:14.000 --> 00:27:14.320
well.

00:27:14.320 --> 00:27:14.799
>> Yeah.

00:27:14.799 --> 00:27:16.159
>> Because that's a problem. Like we don't

00:27:16.159 --> 00:27:17.840
really know the trade-offs. If we only

00:27:17.840 --> 00:27:19.760
know one tool, we think this is the best

00:27:19.760 --> 00:27:21.600
tool ever until we start using other

00:27:21.600 --> 00:27:23.120
>> tools. When people try to sell

00:27:23.120 --> 00:27:25.039
themselves as as a Kubernetes

00:27:25.039 --> 00:27:26.640
infrastructure engineer, like why don't

00:27:26.640 --> 00:27:29.200
you learn learn other things, a dude?

00:27:29.200 --> 00:27:31.360
>> But the good thing is though, like I use

00:27:31.360 --> 00:27:33.200
Fargate a lot at work now. And there's

00:27:33.200 --> 00:27:35.440
several cases where we're like, oh, we

00:27:35.440 --> 00:27:36.880
need to do this thing or that thing. And

00:27:36.880 --> 00:27:38.640
I'm like, well, that that would just be

00:27:38.640 --> 00:27:40.559
an ingress manifest on Kubernetes and

00:27:40.559 --> 00:27:42.240
that would just be like something like a

00:27:42.240 --> 00:27:43.440
service mesh or like an

00:27:43.440 --> 00:27:45.760
>> trade-offs, the comparisons. That's very

00:27:45.760 --> 00:27:47.200
>> you very quickly like find the

00:27:47.200 --> 00:27:49.120
limitations where you're like well in

00:27:49.120 --> 00:27:50.960
Kubernetes I would have I would control

00:27:50.960 --> 00:27:53.440
my my service mesh or my uh overlay

00:27:53.440 --> 00:27:55.919
network. Uh for example one issue that

00:27:55.919 --> 00:27:59.360
we had is we wanted to save cost and use

00:27:59.360 --> 00:28:02.880
like memory swappiness and like be able

00:28:02.880 --> 00:28:04.960
to because we have very bury workloads

00:28:04.960 --> 00:28:08.640
of different um services. So one service

00:28:08.640 --> 00:28:10.799
we don't need very big machines but when

00:28:10.799 --> 00:28:12.559
they do need the resources when certain

00:28:12.559 --> 00:28:14.320
request comes in they they need to be

00:28:14.320 --> 00:28:16.320
able to to to take up a lot of memory

00:28:16.320 --> 00:28:18.559
and CPU and not necessarily fight each

00:28:18.559 --> 00:28:21.039
other. So the idea was to basically

00:28:21.039 --> 00:28:23.279
overs subscribe nodes. Uh which you can

00:28:23.279 --> 00:28:24.880
do easily with Kubernetes, right? You

00:28:24.880 --> 00:28:26.960
can you can have only two nodes and and

00:28:26.960 --> 00:28:28.720
give them give your pods a lot of memory

00:28:28.720 --> 00:28:30.240
even though you don't have the memory

00:28:30.240 --> 00:28:33.520
available. Um Kubernetes will be able to

00:28:33.520 --> 00:28:35.760
run them and you can't do that with

00:28:35.760 --> 00:28:37.440
Fargate obviously because Fargate you

00:28:37.440 --> 00:28:38.960
have to give it exactly what you want

00:28:38.960 --> 00:28:40.480
and it's going to run exactly that. You

00:28:40.480 --> 00:28:42.880
can't really burst. Um so so then we

00:28:42.880 --> 00:28:46.720
needed to run our own ECS nodes and um

00:28:46.720 --> 00:28:48.960
that was before AWS announced managed

00:28:48.960 --> 00:28:50.799
nodes by the way that they also just

00:28:50.799 --> 00:28:52.799
announced like a month ago. Um but

00:28:52.799 --> 00:28:54.080
anyway

00:28:54.080 --> 00:28:56.320
>> wait a minute AWS has had managed ECS

00:28:56.320 --> 00:28:58.080
for a while. I mean Fargate is managed.

00:28:58.080 --> 00:28:58.480
What do you mean?

00:28:58.480 --> 00:29:00.960
>> No no managed managed autoscaling groups

00:29:00.960 --> 00:29:03.679
like um you didn't have that until like

00:29:03.679 --> 00:29:04.559
a month ago.

00:29:04.559 --> 00:29:06.905
>> Okay, I'll take it away.

00:29:06.905 --> 00:29:07.360
[laughter] Okay.

00:29:07.360 --> 00:29:09.200
>> Yeah, they they just announced it like

00:29:09.200 --> 00:29:11.919
you could spin up right your capacity

00:29:11.919 --> 00:29:14.240
providers in ECS can be either Fargate

00:29:14.240 --> 00:29:15.919
capacity provider where they take care

00:29:15.919 --> 00:29:17.440
of everything and you just say the

00:29:17.440 --> 00:29:18.799
dimensions of what you want and they

00:29:18.799 --> 00:29:20.880
will just you know make it available but

00:29:20.880 --> 00:29:23.600
you can't oversubscribe really much.

00:29:23.600 --> 00:29:26.720
>> Okay. I see. Okay. So we I think we need

00:29:26.720 --> 00:29:29.840
to to to to what do you call it uh

00:29:29.840 --> 00:29:33.120
connect to your your grid project. So,

00:29:33.120 --> 00:29:35.919
how would you introduce your grid

00:29:35.919 --> 00:29:38.480
project? So, that makes the next video

00:29:38.480 --> 00:29:39.279
kind of

00:29:39.279 --> 00:29:40.559
>> makes sense.

00:29:40.559 --> 00:29:42.640
>> Um,

00:29:42.640 --> 00:29:45.600
how do I

00:29:45.600 --> 00:29:47.039
>> Well, let me let me see if I can jog

00:29:47.039 --> 00:29:48.000
your memory. Like, I think you

00:29:48.000 --> 00:29:49.520
introduced grid to me because you said

00:29:49.520 --> 00:29:52.080
that, you know, the the whole open tacos

00:29:52.080 --> 00:29:54.880
things was interesting, but it it didn't

00:29:54.880 --> 00:29:57.440
support strongly typed

00:29:57.440 --> 00:29:58.399
>> right

00:29:58.399 --> 00:30:01.440
>> stacks. So the grid API is sort of

00:30:01.440 --> 00:30:04.559
demonstrating that you can you can

00:30:04.559 --> 00:30:07.120
properly track your your infrastructure

00:30:07.120 --> 00:30:08.880
state

00:30:08.880 --> 00:30:12.159
uh yeah in a compelling way using yeah

00:30:12.159 --> 00:30:16.399
the the strongly typed CDK stacks.

00:30:16.399 --> 00:30:18.960
>> Yes. So, so a lot of these projects that

00:30:18.960 --> 00:30:23.120
were introduced like from Terram team

00:30:23.120 --> 00:30:25.840
which is the state graph and from digger

00:30:25.840 --> 00:30:29.360
which is the open tackle um they're just

00:30:29.360 --> 00:30:32.480
focused on classic terapform which

00:30:32.480 --> 00:30:35.279
doesn't expose a lot of the type system

00:30:35.279 --> 00:30:38.960
of the resources right so

00:30:38.960 --> 00:30:40.799
state graph does promise that every

00:30:40.799 --> 00:30:43.919
resource has a type so it should be able

00:30:43.919 --> 00:30:46.159
to give you more information it get it

00:30:46.159 --> 00:30:48.159
it gets rid of all of the states. So

00:30:48.159 --> 00:30:50.159
instead of having like many many small

00:30:50.159 --> 00:30:52.240
states, you have one big state graph.

00:30:52.240 --> 00:30:53.600
Every resource is in there. Every

00:30:53.600 --> 00:30:56.159
resource has like attributes that are

00:30:56.159 --> 00:30:58.080
strongly typed. So you don't need to go

00:30:58.080 --> 00:31:00.480
through the state as a boundary or as an

00:31:00.480 --> 00:31:03.679
encapsulation mechanism. Um because

00:31:03.679 --> 00:31:05.200
everything lives next to each other,

00:31:05.200 --> 00:31:08.480
right? Um with with Digger they are

00:31:08.480 --> 00:31:10.159
still allowing you to create multiple

00:31:10.159 --> 00:31:12.159
states and you are able to define the

00:31:12.159 --> 00:31:14.559
dependencies between the states and

00:31:14.559 --> 00:31:16.640
you're able to define arbback on top of

00:31:16.640 --> 00:31:19.279
that and now they're integrating with

00:31:19.279 --> 00:31:21.440
work OS for like you know your

00:31:21.440 --> 00:31:23.279
deployment mechanisms. I haven't looked

00:31:23.279 --> 00:31:26.159
at open taco recently. Um but the both

00:31:26.159 --> 00:31:28.320
of them I mean I I I kind of like the

00:31:28.320 --> 00:31:30.240
open taco approach because I still

00:31:30.240 --> 00:31:33.360
believe that you want to encapsulate

00:31:33.360 --> 00:31:35.760
a little bit like the the the for

00:31:35.760 --> 00:31:37.279
example the platform team may want to

00:31:37.279 --> 00:31:38.799
encapsulate the landing zone that they

00:31:38.799 --> 00:31:42.399
provide right um what we as a service

00:31:42.399 --> 00:31:44.640
provide to other teams we maybe only

00:31:44.640 --> 00:31:46.640
want to expose the subnet ids and the

00:31:46.640 --> 00:31:49.039
VPC ID and we don't want to like have

00:31:49.039 --> 00:31:51.760
all of the VPC information network

00:31:51.760 --> 00:31:54.880
gateways everything uh All these

00:31:54.880 --> 00:31:56.799
resources don't mean much for other

00:31:56.799 --> 00:31:58.640
teams. We just say this is the landing

00:31:58.640 --> 00:32:00.320
zone and we have a couple of outputs for

00:32:00.320 --> 00:32:02.480
you, a network ID and a subnet ID and

00:32:02.480 --> 00:32:04.880
you can launch in there. Right? So to me

00:32:04.880 --> 00:32:06.480
a terapform state as an encapsulation

00:32:06.480 --> 00:32:08.159
mechanism still makes sense. I don't

00:32:08.159 --> 00:32:09.600
know how state graph is going to solve

00:32:09.600 --> 00:32:12.559
that problem. Um and I talked to them

00:32:12.559 --> 00:32:14.240
and they were like we want type

00:32:14.240 --> 00:32:17.840
information just like you. Um but

00:32:17.840 --> 00:32:19.279
they're building it there on their own.

00:32:19.279 --> 00:32:21.039
They're doing it in Okamel and I haven't

00:32:21.039 --> 00:32:22.799
been really been like able to

00:32:22.799 --> 00:32:24.240
communicate with them much

00:32:24.240 --> 00:32:25.600
>> in Okamel. Oh man.

00:32:25.600 --> 00:32:29.200
>> Yeah. So, so then open taco they're

00:32:29.200 --> 00:32:32.080
building this in Golang which is much

00:32:32.080 --> 00:32:33.679
more approachable in in a DevOps

00:32:33.679 --> 00:32:35.600
ecosystem because you know Terraform

00:32:35.600 --> 00:32:37.360
Kubernetes everything is Golang. So,

00:32:37.360 --> 00:32:41.679
Golang tooling uh is is available and I

00:32:41.679 --> 00:32:43.360
try to talk to them but they don't

00:32:43.360 --> 00:32:46.480
really respond at all and also because

00:32:46.480 --> 00:32:48.240
of the reaction of the community towards

00:32:48.240 --> 00:32:50.880
open taco it feels a little bit like

00:32:50.880 --> 00:32:56.880
persona non grata. So, um I feel like I

00:32:56.880 --> 00:33:00.159
want something similar that allows me to

00:33:00.159 --> 00:33:04.080
expose the deeply typed information that

00:33:04.080 --> 00:33:06.960
I have from my library. So I have a

00:33:06.960 --> 00:33:09.360
library that gives you these higher

00:33:09.360 --> 00:33:11.600
level constructs. We talked about it. We

00:33:11.600 --> 00:33:13.120
showed like this the way that you can

00:33:13.120 --> 00:33:15.760
visualize it. You can define like hey by

00:33:15.760 --> 00:33:17.679
the way my constructs imple can be

00:33:17.679 --> 00:33:19.679
displayed on on a diagram and this is

00:33:19.679 --> 00:33:21.679
how it displays itself. So you can add

00:33:21.679 --> 00:33:23.919
these interfaces on top of it. Right.

00:33:23.919 --> 00:33:26.159
>> That demo that we recorded just for

00:33:26.159 --> 00:33:28.240
people's context was recorded like two

00:33:28.240 --> 00:33:29.440
weeks ago.

00:33:29.440 --> 00:33:31.200
>> You said that you were going to you were

00:33:31.200 --> 00:33:34.159
going to specitate the uh the or

00:33:34.159 --> 00:33:35.460
>> authentication. Yeah. I think I said

00:33:35.460 --> 00:33:36.720
[clears throat] in the video back then

00:33:36.720 --> 00:33:38.240
that I don't think it's going to be

00:33:38.240 --> 00:33:38.880
painful.

00:33:38.880 --> 00:33:40.480
>> It's going to be painful. [snorts]

00:33:40.480 --> 00:33:43.440
>> Yeah. So, so the Was I right, Vincent?

00:33:43.440 --> 00:33:44.080
For once.

00:33:44.080 --> 00:33:46.960
>> Yes, you were right, Kai. [laughter]

00:33:46.960 --> 00:33:48.799
You want

00:33:48.799 --> 00:33:52.799
Okay. So, so the speckit experiment was

00:33:52.799 --> 00:33:54.880
two, three weeks. I think by the time

00:33:54.880 --> 00:33:56.559
that we recorded demo, I had spent two

00:33:56.559 --> 00:33:58.720
weeks on it and I had it had raced

00:33:58.720 --> 00:34:00.799
through all of my questions and it had

00:34:00.799 --> 00:34:02.720
built a monor repo with Golang. It had

00:34:02.720 --> 00:34:06.000
built a CLI and SDK. has built a UI,

00:34:06.000 --> 00:34:07.519
hooked everything up and you was and

00:34:07.519 --> 00:34:09.839
that will be shown in the demo. Uh the

00:34:09.839 --> 00:34:11.599
one thing missing for me to deploy this

00:34:11.599 --> 00:34:13.599
into my organization is to have a strong

00:34:13.599 --> 00:34:16.960
authentication and because you know you

00:34:16.960 --> 00:34:19.280
want to be able to integrate with SSO uh

00:34:19.280 --> 00:34:21.119
and things like that. So I thought you

00:34:21.119 --> 00:34:22.720
know I'm just going to ask packet to do

00:34:22.720 --> 00:34:24.320
that. And I think my biggest mistake was

00:34:24.320 --> 00:34:26.560
to to assume that this could all be done

00:34:26.560 --> 00:34:28.879
in like one feature.

00:34:28.879 --> 00:34:30.960
>> Uh I didn't break it down. I said like

00:34:30.960 --> 00:34:33.280
this is authentication, authorization

00:34:33.280 --> 00:34:36.960
and um you know no web login and

00:34:36.960 --> 00:34:37.679
everything

00:34:37.679 --> 00:34:39.359
>> SL

00:34:39.359 --> 00:34:44.560
no SL just OIDC uh and and so specit did

00:34:44.560 --> 00:34:47.200
a great job three days planning it um

00:34:47.200 --> 00:34:49.280
like I said I spent 70% time planning

00:34:49.280 --> 00:34:51.520
and then 40% time implementing for some

00:34:51.520 --> 00:34:53.599
other features so I was like I was very

00:34:53.599 --> 00:34:54.960
confident I was done with the planning

00:34:54.960 --> 00:34:57.760
phase um however it kind of

00:34:57.760 --> 00:34:59.280
>> when when you say planning phase were

00:34:59.280 --> 00:35:01.200
you using like the plan mode of claude

00:35:01.200 --> 00:35:04.480
or would you use plan mode of spot?

00:35:04.480 --> 00:35:06.240
>> Yes, because the plan mode of cloud

00:35:06.240 --> 00:35:07.920
works within a context window, right?

00:35:07.920 --> 00:35:10.320
And then as soon as a context window is

00:35:10.320 --> 00:35:12.079
done, maybe you can carry over like with

00:35:12.079 --> 00:35:13.760
a compact, you can carry over some to-do

00:35:13.760 --> 00:35:15.839
items, but it's very limited and a lot

00:35:15.839 --> 00:35:18.079
of context gets lost. So the spec kits

00:35:18.079 --> 00:35:19.680
planning phase is really focused on

00:35:19.680 --> 00:35:21.119
capturing all of the functional

00:35:21.119 --> 00:35:23.040
requirements and like gap analysis and

00:35:23.040 --> 00:35:24.560
edge cases and writing that down into

00:35:24.560 --> 00:35:25.119
markdown.

00:35:25.119 --> 00:35:27.040
>> Did you ever play with beads in the end,

00:35:27.040 --> 00:35:28.240
Steve?

00:35:28.240 --> 00:35:31.440
Did you find Yay or nay?

00:35:31.440 --> 00:35:35.520
>> What's your So, so full honesty, I been

00:35:35.520 --> 00:35:40.640
playing with it only today and so far um

00:35:40.640 --> 00:35:43.680
it does some interesting things. I think

00:35:43.680 --> 00:35:46.960
Beats prompts the agent to spend a

00:35:46.960 --> 00:35:49.359
little extra time to to do its own

00:35:49.359 --> 00:35:51.839
planning phase on each individual issue.

00:35:51.839 --> 00:35:53.920
So my my biggest problem with speckit as

00:35:53.920 --> 00:35:56.400
doing this oidc which supposedly I said

00:35:56.400 --> 00:35:57.920
was going to take me three days and it's

00:35:57.920 --> 00:36:01.839
been almost four weeks. Um, my biggest

00:36:01.839 --> 00:36:04.640
issue is that the resulting task lists

00:36:04.640 --> 00:36:07.760
became a 2,000line markdown file and

00:36:07.760 --> 00:36:11.119
even you know even when I start on one

00:36:11.119 --> 00:36:13.760
phase maybe six tasks within that

00:36:13.760 --> 00:36:17.359
massive list of like 80 tasks um it kind

00:36:17.359 --> 00:36:19.680
of like blows the context pretty fast

00:36:19.680 --> 00:36:22.400
like hey uh cloud we're going to we've

00:36:22.400 --> 00:36:24.480
got this beautiful plan and research and

00:36:24.480 --> 00:36:24.800
everything.

00:36:24.800 --> 00:36:26.320
>> How do you track the context? is like I

00:36:26.320 --> 00:36:27.520
think in Claude you have to go

00:36:27.520 --> 00:36:29.680
slashcontext every time and that's

00:36:29.680 --> 00:36:31.599
annoying as hell.

00:36:31.599 --> 00:36:36.240
>> Yeah. So I there's this status bar thing

00:36:36.240 --> 00:36:40.160
now that you can do but I've got only my

00:36:40.160 --> 00:36:40.960
>> I don't think you can

00:36:40.960 --> 00:36:42.240
>> but there's quite a few people that

00:36:42.240 --> 00:36:44.480
write tools that run like demons in the

00:36:44.480 --> 00:36:46.400
background that that monitor the context

00:36:46.400 --> 00:36:48.800
and so you could run those demons and

00:36:48.800 --> 00:36:50.400
then display it in the status bar.

00:36:50.400 --> 00:36:52.240
>> How do you track it then? No,

00:36:52.240 --> 00:36:54.480
>> I I do context. [laughter]

00:36:54.480 --> 00:36:56.320
I haven't installed those state I I just

00:36:56.320 --> 00:36:58.560
I just initiated the status bar in my

00:36:58.560 --> 00:37:00.880
cloud right now. So I I do have like my

00:37:00.880 --> 00:37:03.599
original bash prompt. Um and I seen

00:37:03.599 --> 00:37:05.520
people talk on Reddit about hey here's a

00:37:05.520 --> 00:37:07.359
demon that shows you your tracks your

00:37:07.359 --> 00:37:09.760
usage. You run the demon and then your

00:37:09.760 --> 00:37:11.119
your bash prompt can show

00:37:11.119 --> 00:37:13.359
>> how everyone wants this but uh they they

00:37:13.359 --> 00:37:15.280
haven't delivered on this status bar

00:37:15.280 --> 00:37:15.680
shown.

00:37:15.680 --> 00:37:17.040
>> But they they have delivered on other

00:37:17.040 --> 00:37:18.720
cool stuff but you're really derailing

00:37:18.720 --> 00:37:20.400
me. But they have delivered for example

00:37:20.400 --> 00:37:22.720
on on the ability to like you can

00:37:22.720 --> 00:37:24.480
trigger a plan mode get a plan and then

00:37:24.480 --> 00:37:28.000
you can control G edit it control J J

00:37:28.000 --> 00:37:31.119
the the G how [clears throat] you say G

00:37:31.119 --> 00:37:31.440
>> okay

00:37:31.440 --> 00:37:33.200
>> gangster um

00:37:33.200 --> 00:37:34.800
>> yeah golf

00:37:34.800 --> 00:37:36.480
>> so you can you can edit the plan now

00:37:36.480 --> 00:37:37.920
before when the plan wasn't right you

00:37:37.920 --> 00:37:39.520
had to you put in a prompt and say no no

00:37:39.520 --> 00:37:41.200
no you're missing this and then it would

00:37:41.200 --> 00:37:42.880
do another plan and then it would miss

00:37:42.880 --> 00:37:43.359
something else

00:37:43.359 --> 00:37:46.240
>> okay so going back to beads your

00:37:46.240 --> 00:37:48.240
thousand line markdown or whatever you

00:37:48.240 --> 00:37:50.000
>> so so this a problem right uh I've got

00:37:50.000 --> 00:37:52.640
this massive task list from the speckit

00:37:52.640 --> 00:37:55.119
uh research phase and planning phase so

00:37:55.119 --> 00:37:57.680
not the cloud mode like not the cloud

00:37:57.680 --> 00:37:59.680
code planning but the specit planning

00:37:59.680 --> 00:38:02.400
which is multiple steps a big workflow

00:38:02.400 --> 00:38:04.720
generates a lot of research and creates

00:38:04.720 --> 00:38:06.880
very detailed tasks of like multiple

00:38:06.880 --> 00:38:09.119
phases it became huge because my feature

00:38:09.119 --> 00:38:10.960
was too big and I should have probably

00:38:10.960 --> 00:38:14.800
cut it down but what I'm hoping now um

00:38:14.800 --> 00:38:18.320
is with beats it actually parses out the

00:38:18.320 --> 00:38:21.440
tasks and tracks them not in a markdown

00:38:21.440 --> 00:38:23.760
file but in like a database like an SQL

00:38:23.760 --> 00:38:25.680
light right and it synchronize the

00:38:25.680 --> 00:38:29.920
database file to a JSON format like JSON

00:38:29.920 --> 00:38:31.680
L so you can you know committ it to your

00:38:31.680 --> 00:38:33.760
git so you can see the diffs yeah and

00:38:33.760 --> 00:38:35.520
they can even handle the merges of

00:38:35.520 --> 00:38:37.200
completed task better supposedly but I

00:38:37.200 --> 00:38:40.480
haven't done that yet so so with beats

00:38:40.480 --> 00:38:42.560
now I had a actually just had a very

00:38:42.560 --> 00:38:44.880
nice experience which was it had

00:38:44.880 --> 00:38:47.119
completed three tasks and it hadn't

00:38:47.119 --> 00:38:49.200
blocked so beats speeds ads workflow and

00:38:49.200 --> 00:38:51.920
it had unblocked the next task and then

00:38:51.920 --> 00:38:54.640
I was not using son I was using haiku

00:38:54.640 --> 00:38:56.560
and haiku

00:38:56.560 --> 00:38:58.800
looked at the issue that it needed to

00:38:58.800 --> 00:39:00.240
work on the task that it needed to work

00:39:00.240 --> 00:39:02.400
on and it went into this like planning

00:39:02.400 --> 00:39:04.000
mode which I think is something that

00:39:04.000 --> 00:39:05.440
beats introduced because I've never seen

00:39:05.440 --> 00:39:08.000
cloud do that until I activated beats

00:39:08.000 --> 00:39:09.760
and after it went into the planning mode

00:39:09.760 --> 00:39:12.480
it came up with its plan and it was

00:39:12.480 --> 00:39:14.240
different from I mean it something

00:39:14.240 --> 00:39:16.000
wasn't right I there was some mistakes

00:39:16.000 --> 00:39:17.680
in there I was like that's not right And

00:39:17.680 --> 00:39:19.280
so the cool thing is I didn't have to

00:39:19.280 --> 00:39:21.040
open my markdown file and then scroll

00:39:21.040 --> 00:39:23.359
down to this like phase number eight

00:39:23.359 --> 00:39:25.760
which is at line 800 and then find

00:39:25.760 --> 00:39:27.440
exactly what was the original task that

00:39:27.440 --> 00:39:29.280
it was supposed to work on. I could just

00:39:29.280 --> 00:39:32.800
run beat show that issue originally that

00:39:32.800 --> 00:39:34.880
you started with and I saw immediately

00:39:34.880 --> 00:39:37.520
like hey there's a mistake here. Uh and

00:39:37.520 --> 00:39:39.760
so it it really allowed me to slice and

00:39:39.760 --> 00:39:42.000
dice directly to the particular task. So

00:39:42.000 --> 00:39:43.920
instead of having like uh this massive

00:39:43.920 --> 00:39:45.920
markdowns that you have to also blow up

00:39:45.920 --> 00:39:48.320
your context with you can now like very

00:39:48.320 --> 00:39:50.560
directly ask questions about partic

00:39:50.560 --> 00:39:52.880
particular issues and look at them and

00:39:52.880 --> 00:39:54.640
find the links between them. So because

00:39:54.640 --> 00:39:56.880
it creates a graph of issues right so so

00:39:56.880 --> 00:39:57.520
far

00:39:57.520 --> 00:39:59.520
>> of the the links have you like linked

00:39:59.520 --> 00:40:01.359
them up like showing which ones depend

00:40:01.359 --> 00:40:02.720
on another or does it do it

00:40:02.720 --> 00:40:03.359
automatically?

00:40:03.359 --> 00:40:06.720
>> It did it automatically. So I I asked uh

00:40:06.720 --> 00:40:09.200
yeah I

00:40:09.200 --> 00:40:11.119
I have recorded the loom about this

00:40:11.119 --> 00:40:15.359
process. Um but it's a bit messy. Uh

00:40:15.359 --> 00:40:18.240
basically what happened is

00:40:18.240 --> 00:40:20.000
I was going back and forth between cloud

00:40:20.000 --> 00:40:21.680
and Gemini. Gemini is not good at

00:40:21.680 --> 00:40:22.960
writing code but it's great at reading

00:40:22.960 --> 00:40:25.200
code and giving like a review of another

00:40:25.200 --> 00:40:27.440
person of another plan. Codex can do the

00:40:27.440 --> 00:40:29.040
same thing but Gemini does it much

00:40:29.040 --> 00:40:30.960
faster. So what happened is cloud came

00:40:30.960 --> 00:40:32.000
up with this plan. we're going to do

00:40:32.000 --> 00:40:34.400
ABC. And then I went to Gemini. I said,

00:40:34.400 --> 00:40:35.760
"Mate, does that make sense? Like, can

00:40:35.760 --> 00:40:37.440
you go look if that already exists?" And

00:40:37.440 --> 00:40:38.960
Gemini says, "No, none of these things

00:40:38.960 --> 00:40:40.880
exist. That is but that is

00:40:40.880 --> 00:40:42.880
correct." So then I went back to cloud

00:40:42.880 --> 00:40:45.760
and I came up with like a 300line

00:40:45.760 --> 00:40:48.880
um prompt and and then I push push it

00:40:48.880 --> 00:40:51.680
into um a new cloud instance with Beats

00:40:51.680 --> 00:40:53.040
activated because you have to like

00:40:53.040 --> 00:40:54.960
install the MCP, you have to initialize

00:40:54.960 --> 00:40:57.280
your agent, you have to make sure that

00:40:57.280 --> 00:40:59.440
it knows that it needs to use Beats. And

00:40:59.440 --> 00:41:01.280
then I gave it this 300 line prompt that

00:41:01.280 --> 00:41:03.280
I fine-tuned with Gemini and it went

00:41:03.280 --> 00:41:05.440
ahead and created okay Gemini made it

00:41:05.440 --> 00:41:06.960
very clear we need to do this this this

00:41:06.960 --> 00:41:10.480
then this and then cloud used beats

00:41:10.480 --> 00:41:12.319
created all the issues linked them

00:41:12.319 --> 00:41:14.800
together what what depended on what uh

00:41:14.800 --> 00:41:17.280
what unblocks what and then created a a

00:41:17.280 --> 00:41:18.960
beautiful graph and it started with the

00:41:18.960 --> 00:41:20.160
ne the first two issues that were

00:41:20.160 --> 00:41:20.720
available.

00:41:20.720 --> 00:41:22.640
>> Show a graph.

00:41:22.640 --> 00:41:24.240
>> Um

00:41:24.240 --> 00:41:25.839
>> you're right. Uh I haven't I haven't

00:41:25.839 --> 00:41:27.520
looked at the I haven't seen a graph,

00:41:27.520 --> 00:41:29.520
but I've seen the the full JSON output

00:41:29.520 --> 00:41:31.119
and I've seen the full list and I've

00:41:31.119 --> 00:41:33.440
been able to look at the issues uh very

00:41:33.440 --> 00:41:35.760
quickly. So I haven't uh tried the graph

00:41:35.760 --> 00:41:40.560
yet but so far like I said I think beads

00:41:40.560 --> 00:41:42.960
adds through its MCP tools some

00:41:42.960 --> 00:41:46.319
instructions to like prompt cloud when

00:41:46.319 --> 00:41:47.920
it picks up an issue to do some

00:41:47.920 --> 00:41:50.079
additional research and and the issue

00:41:50.079 --> 00:41:52.800
itself that was created by cloud within

00:41:52.800 --> 00:41:55.440
beats actually has a lot of context. It

00:41:55.440 --> 00:41:56.880
captured all of the requirements,

00:41:56.880 --> 00:41:58.720
acceptance criteria and things like

00:41:58.720 --> 00:42:00.800
that, which is I was surprised because I

00:42:00.800 --> 00:42:01.839
thought, you know, when you have a to-do

00:42:01.839 --> 00:42:03.440
list in in cloud, it's just like one

00:42:03.440 --> 00:42:05.040
line. I need to do this one thing. I

00:42:05.040 --> 00:42:07.359
don't know how cloud tracks more

00:42:07.359 --> 00:42:09.200
information than that just one line. But

00:42:09.200 --> 00:42:11.440
in Beats, I can see it. Like there's a

00:42:11.440 --> 00:42:13.200
title and there's a description. It says

00:42:13.200 --> 00:42:14.640
like this is what we need to do. This is

00:42:14.640 --> 00:42:15.680
why we need to do it. These are the

00:42:15.680 --> 00:42:17.119
files we need to change. And this is the

00:42:17.119 --> 00:42:18.800
acceptance criteria. Was like, oh,

00:42:18.800 --> 00:42:20.480
that's pretty cool. I'm not sure. I'm

00:42:20.480 --> 00:42:22.400
not a thousand% sure it's the MCP

00:42:22.400 --> 00:42:24.880
because I noticed when I hit this MCP

00:42:24.880 --> 00:42:28.640
bug last week that that uh Claude, for

00:42:28.640 --> 00:42:32.000
example, was just invoking the BD CLI

00:42:32.000 --> 00:42:34.400
right on my my sh.

00:42:34.400 --> 00:42:37.359
>> Yeah, I I had to bootstrap um the agent

00:42:37.359 --> 00:42:39.520
to make sure that it has like you need

00:42:39.520 --> 00:42:42.400
to use the tools, not not the CLI

00:42:42.400 --> 00:42:44.560
>> BD quick start or whatever inside your

00:42:44.560 --> 00:42:46.800
agents MD or whatever.

00:42:46.800 --> 00:42:49.359
>> Yeah, I did. I did. I did the BD on

00:42:49.359 --> 00:42:53.280
boarding. Um, and so yeah, but I also

00:42:53.280 --> 00:42:54.800
wanted to originally like why do I need

00:42:54.800 --> 00:42:57.119
an MCP? Like I hate MCPS because

00:42:57.119 --> 00:42:58.480
>> Yeah, I don't that's what I was going to

00:42:58.480 --> 00:43:00.800
say next. I don't think you need an MCP,

00:43:00.800 --> 00:43:03.280
but uh just because

00:43:03.280 --> 00:43:05.119
>> it was broken and it seemed to still

00:43:05.119 --> 00:43:06.560
work.

00:43:06.560 --> 00:43:08.560
>> Yeah. Yeah. Yeah. And um I also

00:43:08.560 --> 00:43:12.160
installed the agent skill. So be beats

00:43:12.160 --> 00:43:14.400
also has like this new thing from cloud

00:43:14.400 --> 00:43:17.040
called uh a like skills.

00:43:17.040 --> 00:43:18.560
>> All right. I think I think on the web

00:43:18.560 --> 00:43:20.560
page you can it's called a plugin. Is

00:43:20.560 --> 00:43:22.480
that the same thing? No,

00:43:22.480 --> 00:43:24.400
>> I'm not sure. So I didn't want to

00:43:24.400 --> 00:43:26.480
install the plugin. I I didn't know what

00:43:26.480 --> 00:43:29.040
it was going to do. So I actually went

00:43:29.040 --> 00:43:30.720
through everything that the plugin does

00:43:30.720 --> 00:43:32.960
myself. Like I installed the the the

00:43:32.960 --> 00:43:34.800
CLI. I think we you have to do anyway.

00:43:34.800 --> 00:43:36.560
You have to install the CLI and then I

00:43:36.560 --> 00:43:39.200
used UV to install the tool which is the

00:43:39.200 --> 00:43:41.839
MCP. So I can run the MCP directly. I

00:43:41.839 --> 00:43:44.400
did not install it as a as a as a as a

00:43:44.400 --> 00:43:46.240
plug-in. And then I had to do the the

00:43:46.240 --> 00:43:48.800
the gith hooks, but that's part of your

00:43:48.800 --> 00:43:51.760
BD init. So when you init in a

00:43:51.760 --> 00:43:53.440
repository, it will create your git

00:43:53.440 --> 00:43:55.359
hooks. Then it had something like do you

00:43:55.359 --> 00:43:57.359
want to go multi-reo? And I think that's

00:43:57.359 --> 00:43:59.200
one of the cool features is that it can

00:43:59.200 --> 00:44:01.200
do multi-reo. But mine is a very big

00:44:01.200 --> 00:44:03.200
monor repo, so I don't want to do that.

00:44:03.200 --> 00:44:04.960
So I was like, it gave me a warning.

00:44:04.960 --> 00:44:06.319
>> I didn't know that.

00:44:06.319 --> 00:44:08.000
>> Yeah, there's a demon.

00:44:08.000 --> 00:44:08.640
>> Yeah,

00:44:08.640 --> 00:44:10.160
>> that's this is really good. Okay. I

00:44:10.160 --> 00:44:11.680
mean, I think we have to cut it here

00:44:11.680 --> 00:44:12.560
because I I

00:44:12.560 --> 00:44:13.599
>> think we need to do a separate session

00:44:13.599 --> 00:44:14.560
on beat. Yeah,

00:44:14.560 --> 00:44:15.760
>> I don't know if you have enough for

00:44:15.760 --> 00:44:17.440
intro. Uh, but yeah,

00:44:17.440 --> 00:44:19.280
>> we got plenty for intro. I mean, I'm

00:44:19.280 --> 00:44:20.640
hoping just to cut this. I also need to

00:44:20.640 --> 00:44:24.400
go and uh yeah, and I'll time stamp it

00:44:24.400 --> 00:44:25.839
so people could skip it if they wanted

00:44:25.839 --> 00:44:26.480
to. Okay,

00:44:26.480 --> 00:44:29.040
>> by the end of this week, I want to um

00:44:29.040 --> 00:44:31.359
try beads with speckit. So now I'm

00:44:31.359 --> 00:44:34.480
learning it like on my current task like

00:44:34.480 --> 00:44:36.960
but then the next step is I want speckit

00:44:36.960 --> 00:44:39.119
not to create this 20,000 line markdown.

00:44:39.119 --> 00:44:41.040
I want speckit to use beats. I haven't

00:44:41.040 --> 00:44:43.599
done that yet. Um, so I'm using I'm

00:44:43.599 --> 00:44:44.720
learning it first. Yeah,

00:44:44.720 --> 00:44:46.560
>> sounds awesome. Okay, we'll keep in

00:44:46.560 --> 00:44:47.920
touch. See you.

00:44:47.920 --> 00:44:49.200
>> Bye. Okay, see you. Have a nice day.

00:44:49.200 --> 00:44:50.480
Really really enjoy this. I think we

00:44:50.480 --> 00:44:52.400
covered a lot of things. I think

00:44:52.400 --> 00:44:53.920
>> maybe.

00:44:53.920 --> 00:44:55.680
Okay, one more thing.

00:44:55.680 --> 00:44:58.319
>> Um, so so basically we talked about open

00:44:58.319 --> 00:45:00.160
taco and all of these state management

00:45:00.160 --> 00:45:02.400
solutions also. Now we just talked about

00:45:02.400 --> 00:45:04.720
the integration patterns, right? We

00:45:04.720 --> 00:45:07.119
mentioned that you can you can use a

00:45:07.119 --> 00:45:09.359
variable file on disk or a big config

00:45:09.359 --> 00:45:10.640
file that keeps track of all of the

00:45:10.640 --> 00:45:12.480
different like a dictionary of all of

00:45:12.480 --> 00:45:14.319
the different integration keys. Right?

00:45:14.319 --> 00:45:18.400
So at my organization we we started

00:45:18.400 --> 00:45:20.000
originally trying to use an integration

00:45:20.000 --> 00:45:23.520
registry. Then we move towards like the

00:45:23.520 --> 00:45:26.960
teams only publish dev from their

00:45:26.960 --> 00:45:28.800
product repo and when they want to go to

00:45:28.800 --> 00:45:30.480
staging and need to integrate there they

00:45:30.480 --> 00:45:32.480
publish their infrastructure as a

00:45:32.480 --> 00:45:34.480
package and then we consume it and

00:45:34.480 --> 00:45:36.319
integrate it within our monor repo. So

00:45:36.319 --> 00:45:38.000
we have a big terapform monor repo. A

00:45:38.000 --> 00:45:39.200
lot of organizations have a big

00:45:39.200 --> 00:45:41.040
terapform monor repo because you have

00:45:41.040 --> 00:45:42.640
those file system requirements to read

00:45:42.640 --> 00:45:45.359
data, right? Um because we couldn't use

00:45:45.359 --> 00:45:46.800
the integration registry. So instead

00:45:46.800 --> 00:45:48.560
they publish their artifact, they

00:45:48.560 --> 00:45:50.480
version it and then we integrate it. The

00:45:50.480 --> 00:45:53.440
same for production. Um but I still want

00:45:53.440 --> 00:45:55.599
to have the ability to go across

00:45:55.599 --> 00:45:59.280
repositories and integrate without um

00:45:59.280 --> 00:46:01.119
you know having to publish things. So

00:46:01.119 --> 00:46:03.359
that's why I started to build this thing

00:46:03.359 --> 00:46:05.440
called the grid which is around Terra

00:46:05.440 --> 00:46:07.440
constructs. So Terra constructs has

00:46:07.440 --> 00:46:09.200
already the capability of strongly

00:46:09.200 --> 00:46:11.119
typing your outputs. So if you need to

00:46:11.119 --> 00:46:12.960
integrate on things, you know exactly

00:46:12.960 --> 00:46:14.720
what the shape will look like of what

00:46:14.720 --> 00:46:16.720
you depend on. For example, if we have a

00:46:16.720 --> 00:46:20.160
cluster, we we may have a VPC ID output.

00:46:20.160 --> 00:46:21.680
We have subnets which is an array of

00:46:21.680 --> 00:46:23.359
strings. We may have more more

00:46:23.359 --> 00:46:25.680
complicated integration points, right?

00:46:25.680 --> 00:46:28.400
Um but let me just let me just run the

00:46:28.400 --> 00:46:32.079
API real quick. API surf

00:46:32.079 --> 00:46:38.079
uh not server surf

00:46:38.079 --> 00:46:38.560
binary.

00:46:38.560 --> 00:46:40.720
>> Let's put it on the path. So now this

00:46:40.720 --> 00:46:42.800
the the grid API is running and I will

00:46:42.800 --> 00:46:46.240
go into the web app and run the the the

00:46:46.240 --> 00:46:50.400
dashboard. It's a very basic dashboard.

00:46:50.400 --> 00:46:51.920
>> Everything's a bit slow right now. I

00:46:51.920 --> 00:46:53.680
don't know why. Okay. Maybe it's because

00:46:53.680 --> 00:46:56.560
I have 100 different things open.

00:46:56.560 --> 00:46:59.760
>> Yes, it's V hot moderator load. Vue.js,

00:46:59.760 --> 00:47:00.800
right?

00:47:00.800 --> 00:47:03.040
>> Uh no, this is React. [laughter] I don't

00:47:03.040 --> 00:47:05.680
know anything about front end. Um so so

00:47:05.680 --> 00:47:08.079
this was all written using specit using

00:47:08.079 --> 00:47:09.280
uh specdriven development.

00:47:09.280 --> 00:47:10.000
>> Holy moly.

00:47:10.000 --> 00:47:13.119
>> And yeah and and some of the UI elements

00:47:13.119 --> 00:47:15.440
originally bootstrapped by bolt. Uh but

00:47:15.440 --> 00:47:18.000
then yeah so so this is basically the

00:47:18.000 --> 00:47:20.160
grid when you are creating for example

00:47:20.160 --> 00:47:22.720
the network which has a bunch of in this

00:47:22.720 --> 00:47:24.000
case there are zero outputs because I

00:47:24.000 --> 00:47:26.160
haven't really applied anything. Um but

00:47:26.160 --> 00:47:28.240
then you have dependencies that define

00:47:28.240 --> 00:47:30.480
for example the staging cluster depends

00:47:30.480 --> 00:47:32.800
on the subnet ids from the network and

00:47:32.800 --> 00:47:35.040
on the VPC ID from the network also the

00:47:35.040 --> 00:47:37.599
staging database depends on the VPC ID

00:47:37.599 --> 00:47:39.599
to provision into the network

00:47:39.599 --> 00:47:41.520
>> right so we have these dependency

00:47:41.520 --> 00:47:43.520
trackers and this is really the idea was

00:47:43.520 --> 00:47:45.280
mainly from open taco right

00:47:45.280 --> 00:47:47.280
>> why why are there two arrows going into

00:47:47.280 --> 00:47:48.960
the cluster am I going

00:47:48.960 --> 00:47:51.040
>> because multiple every output is tracked

00:47:51.040 --> 00:47:52.880
individually

00:47:52.880 --> 00:47:53.760
>> okay

00:47:53.760 --> 00:47:55.760
>> okay I I can do a demo where I actually

00:47:55.760 --> 00:47:57.440
apply things with Terraform so you can

00:47:57.440 --> 00:47:59.200
see the colors change when things and

00:47:59.200 --> 00:48:00.480
then you know why there's multiple

00:48:00.480 --> 00:48:03.680
errors. This this is a a preset database

00:48:03.680 --> 00:48:05.680
with some filtering. So I can

00:48:05.680 --> 00:48:07.440
>> you know we we we need to do like a

00:48:07.440 --> 00:48:09.119
visual

00:48:09.119 --> 00:48:11.599
I think the theme for the next chat is a

00:48:11.599 --> 00:48:13.839
visual infrastructure because I did want

00:48:13.839 --> 00:48:17.520
to talk about uh Adam Jacobs uh oh my

00:48:17.520 --> 00:48:19.680
god

00:48:19.680 --> 00:48:21.920
what is this startup called? Help me

00:48:21.920 --> 00:48:22.160
God.

00:48:22.160 --> 00:48:23.760
>> Uh system initiative.

00:48:23.760 --> 00:48:24.480
>> Yeah

00:48:24.480 --> 00:48:25.680
>> I right

00:48:25.680 --> 00:48:27.440
>> because I'm think I'm thinking system

00:48:27.440 --> 00:48:30.480
initiative when I'm looking at this.

00:48:30.480 --> 00:48:33.119
I'm not building uh what he call a

00:48:33.119 --> 00:48:35.760
dynamic graph where every node has like

00:48:35.760 --> 00:48:39.359
different their own um hooks on create,

00:48:39.359 --> 00:48:40.960
read, update, delete. So it's a

00:48:40.960 --> 00:48:42.960
programmable graph. That's what system.

00:48:42.960 --> 00:48:44.640
>> Okay. Okay. So yours is more of like a

00:48:44.640 --> 00:48:47.359
like a visualization type of

00:48:47.359 --> 00:48:52.480
>> mine is a terraform state on um manager

00:48:52.480 --> 00:48:54.480
and the idea is to integrate tightly

00:48:54.480 --> 00:48:56.400
with terra constructs so that all of

00:48:56.400 --> 00:48:59.280
these um all of these

00:48:59.280 --> 00:49:01.680
points here are actually strongly typed.

00:49:01.680 --> 00:49:04.720
So if I if I'm

00:49:04.720 --> 00:49:06.640
you can see your level twos and things

00:49:06.640 --> 00:49:08.079
like that in here.

00:49:08.079 --> 00:49:09.599
>> Yeah, but I'm I'm using modules as an

00:49:09.599 --> 00:49:11.440
encapsulation. So whatever the product

00:49:11.440 --> 00:49:12.800
team they can be writing terapform

00:49:12.800 --> 00:49:14.559
modules in here. Uh sorry I'm not using

00:49:14.559 --> 00:49:16.079
modules in encapsulation. I'm using

00:49:16.079 --> 00:49:18.559
states as an encapsulation. So the so in

00:49:18.559 --> 00:49:20.400
my case the platform team is using the

00:49:20.400 --> 00:49:22.720
AWS VPC module to provision the the

00:49:22.720 --> 00:49:23.760
network and all.

00:49:23.760 --> 00:49:26.400
>> Okay. Okay. State state state. Got it.

00:49:26.400 --> 00:49:28.480
>> Yeah. And if they want to expose the VPC

00:49:28.480 --> 00:49:30.640
and the subnet ids they should be able

00:49:30.640 --> 00:49:34.000
to expose them as with the schema. So if

00:49:34.000 --> 00:49:35.680
they're doing it using terra construct

00:49:35.680 --> 00:49:38.079
the schema is attached to the L2s. So if

00:49:38.079 --> 00:49:40.240
you you know you say to the L2 push your

00:49:40.240 --> 00:49:42.400
outputs out to your state so you know

00:49:42.400 --> 00:49:44.319
you make it available as a as a contract

00:49:44.319 --> 00:49:47.040
to other teams then other teams when

00:49:47.040 --> 00:49:48.960
they use Terra constructs they will read

00:49:48.960 --> 00:49:50.960
that output and they get the schema with

00:49:50.960 --> 00:49:53.200
it. So they know that this this output

00:49:53.200 --> 00:49:54.559
has this shape because this is one of

00:49:54.559 --> 00:49:55.680
the problems that I have when I was

00:49:55.680 --> 00:49:57.599
using the integration registry, right? I

00:49:57.599 --> 00:49:59.440
what are the parts that write things and

00:49:59.440 --> 00:50:01.599
how do I find the keys that I need and

00:50:01.599 --> 00:50:03.040
what is the shape of those keys? How do

00:50:03.040 --> 00:50:04.559
I write them down? How do I read them

00:50:04.559 --> 00:50:06.400
back out so that I get a strongly

00:50:06.400 --> 00:50:07.599
versioned um feedback

00:50:07.599 --> 00:50:09.520
>> contracts and stuff? Yeah.

00:50:09.520 --> 00:50:13.520
>> Right. So let me let me uh do a database

00:50:13.520 --> 00:50:15.119
reset

00:50:15.119 --> 00:50:21.359
here. Um go back make DB reset.

00:50:21.359 --> 00:50:23.200
It's going to delete the Postgres

00:50:23.200 --> 00:50:24.800
volume and restart it.

00:50:24.800 --> 00:50:25.280
>> Okay. Oh,

00:50:25.280 --> 00:50:27.680
>> by the way, um why didn't you use SQL

00:50:27.680 --> 00:50:30.400
light? You just

00:50:30.400 --> 00:50:32.880
>> It's I'm using an ORM. Uh and it's using

00:50:32.880 --> 00:50:35.119
the PG dialect if I want to use SQL. I'm

00:50:35.119 --> 00:50:37.359
actually adding SQL light as a next

00:50:37.359 --> 00:50:38.319
step.

00:50:38.319 --> 00:50:39.280
>> Um

00:50:39.280 --> 00:50:40.559
>> that's that's one that's the next

00:50:40.559 --> 00:50:41.680
feature that speckit's going to be

00:50:41.680 --> 00:50:43.680
working. Unsurprisingly, Claude is an

00:50:43.680 --> 00:50:47.760
absolute demon with uh with SQL Light

00:50:47.760 --> 00:50:49.440
because SQL Light has like no proper

00:50:49.440 --> 00:50:52.000
golem times and types and stuff, right?

00:50:52.000 --> 00:50:54.160
>> Um I don't really know. Couldn't

00:50:54.160 --> 00:50:55.280
>> When you say demon, do you mean the

00:50:55.280 --> 00:50:56.640
beast like really good at it or the

00:50:56.640 --> 00:50:58.160
demon like chaotic?

00:50:58.160 --> 00:51:00.720
>> No. No. I'm It's really good at it. Like

00:51:00.720 --> 00:51:01.599
it able

00:51:01.599 --> 00:51:04.240
>> I thought demon like like it's a devil.

00:51:04.240 --> 00:51:07.119
>> No, I love it. it like it it was able to

00:51:07.119 --> 00:51:09.599
create these like materialized views and

00:51:09.599 --> 00:51:11.839
other optimizations to to make quite

00:51:11.839 --> 00:51:15.520
complex views really simple to generate.

00:51:15.520 --> 00:51:19.599
I mean it's so incredible really.

00:51:19.599 --> 00:51:22.880
So I I will restart the grid API server

00:51:22.880 --> 00:51:27.040
and I will restart the web app.

00:51:27.040 --> 00:51:29.200
Okay. And now if I refresh there's

00:51:29.200 --> 00:51:31.839
nothing in there, right? So now if I go

00:51:31.839 --> 00:51:34.400
to the

00:51:34.400 --> 00:51:36.319
>> by the way you can you can bootstrap

00:51:36.319 --> 00:51:39.280
tasks in VS code if you have instead of

00:51:39.280 --> 00:51:41.200
like

00:51:41.200 --> 00:51:42.400
there. Yeah

00:51:42.400 --> 00:51:45.200
>> it's it's just search VS code tasks

00:51:45.200 --> 00:51:46.960
you'll find out how to do it.

00:51:46.960 --> 00:51:49.920
>> Okay I'll need to do that. So I go into

00:51:49.920 --> 00:51:53.280
the example Terraform. So here I have a

00:51:53.280 --> 00:51:56.720
some setup and I should clear but I will

00:51:56.720 --> 00:51:59.680
just create a network and um okay so I

00:51:59.680 --> 00:52:02.480
go into the network I

00:52:02.480 --> 00:52:04.400
I remove anything that's there. So right

00:52:04.400 --> 00:52:07.440
now there's just the terraform

00:52:07.440 --> 00:52:09.599
configuration which is

00:52:09.599 --> 00:52:12.880
>> just um a null resource. It's not really

00:52:12.880 --> 00:52:14.720
anything. It's not using AWS but it

00:52:14.720 --> 00:52:16.960
simulates a VPC output with the ID of

00:52:16.960 --> 00:52:18.800
the null resource and a subnet ID. It's

00:52:18.800 --> 00:52:20.079
not the list. It's just an example.

00:52:20.079 --> 00:52:22.480
>> Go to the top of the file. Why did you

00:52:22.480 --> 00:52:24.480
Okay, so you just specify the provider.

00:52:24.480 --> 00:52:25.040
Oh, actually

00:52:25.040 --> 00:52:26.720
>> it's a single file. Okay.

00:52:26.720 --> 00:52:28.800
>> Yeah, it's all it's all it's it's really

00:52:28.800 --> 00:52:31.280
just a sample Terraform configuration

00:52:31.280 --> 00:52:34.400
and I will use the grid uh control. So

00:52:34.400 --> 00:52:37.440
this command line currently is just a

00:52:37.440 --> 00:52:39.599
sample CLI implementation. For my

00:52:39.599 --> 00:52:41.440
personal use, I'm going to use it to

00:52:41.440 --> 00:52:42.800
integrate within our bootstrapping

00:52:42.800 --> 00:52:44.960
because we have like a a Golang CLI to

00:52:44.960 --> 00:52:46.880
bootstrap Terraform and so I'm going to

00:52:46.880 --> 00:52:48.720
use it to automatically integrate with

00:52:48.720 --> 00:52:50.960
the API. So the the CLI is just one

00:52:50.960 --> 00:52:52.800
sample implementation that I include

00:52:52.800 --> 00:52:55.040
with the monor repo but I have my own

00:52:55.040 --> 00:52:57.119
that I I need to integrate it into. So

00:52:57.119 --> 00:52:59.599
I'm using state create to create a new

00:52:59.599 --> 00:53:01.520
state and I have to give it a logic ID.

00:53:01.520 --> 00:53:03.040
So this is one of the first things in

00:53:03.040 --> 00:53:05.520
terapform or in infrastructure a lot of

00:53:05.520 --> 00:53:08.480
times names change. So maybe this could

00:53:08.480 --> 00:53:11.119
be like the uh product a network or

00:53:11.119 --> 00:53:12.400
something like that. But over time we

00:53:12.400 --> 00:53:14.000
realize that actually product a network

00:53:14.000 --> 00:53:15.359
should be shared and it should now

00:53:15.359 --> 00:53:17.359
become shared network. So the logic ID

00:53:17.359 --> 00:53:19.359
is decoupled under the hood. generates a

00:53:19.359 --> 00:53:21.599
unique identity separately. The CLI uses

00:53:21.599 --> 00:53:24.400
UID v7 but this is again the database

00:53:24.400 --> 00:53:26.160
accepts whatever the client wants to use

00:53:26.160 --> 00:53:28.480
>> that's actually uh a really good idea

00:53:28.480 --> 00:53:30.880
because the minute we have to change our

00:53:30.880 --> 00:53:32.240
TF state uh

00:53:32.240 --> 00:53:33.760
>> it becomes a nightmare more so if you

00:53:33.760 --> 00:53:37.680
use back end key uh I'm I'm always just

00:53:37.680 --> 00:53:38.559
yeah I hate that

00:53:38.559 --> 00:53:40.160
>> you need to do migrations then you need

00:53:40.160 --> 00:53:42.000
to keep tracking where the other states

00:53:42.000 --> 00:53:43.200
were that you depend on

00:53:43.200 --> 00:53:45.440
>> yeah so I like this idea but I mean

00:53:45.440 --> 00:53:47.040
you're only just using it to just keep

00:53:47.040 --> 00:53:48.640
track of it you're not using it to help

00:53:48.640 --> 00:53:50.640
manage

00:53:50.640 --> 00:53:52.800
uh

00:53:52.800 --> 00:53:55.520
what uh the logic ID yeah the logic ID

00:53:55.520 --> 00:53:57.920
is is is a is a mutable attribute of the

00:53:57.920 --> 00:54:00.000
state but it can be uh but it is

00:54:00.000 --> 00:54:01.839
globally constrained as unique so across

00:54:01.839 --> 00:54:03.520
the postress there's I mean

00:54:03.520 --> 00:54:05.040
>> I I like the idea but like you're not

00:54:05.040 --> 00:54:06.960
using it to actually store the state

00:54:06.960 --> 00:54:08.559
you're just using it to keep track of it

00:54:08.559 --> 00:54:10.400
of course

00:54:10.400 --> 00:54:13.440
>> yeah uh yeah we're just we're just using

00:54:13.440 --> 00:54:15.280
it to keep track of it as a unique

00:54:15.280 --> 00:54:15.920
identifier

00:54:15.920 --> 00:54:18.160
>> yeah it's a good idea

00:54:18.160 --> 00:54:20.480
so at This point I have created by the

00:54:20.480 --> 00:54:22.480
way I have not run terraform apply yet

00:54:22.480 --> 00:54:24.640
but if I refresh and I will make this

00:54:24.640 --> 00:54:26.720
like polling uh with like web workers

00:54:26.720 --> 00:54:28.319
whatever but right now I just forced it

00:54:28.319 --> 00:54:30.079
to be to this is one thing when you do

00:54:30.079 --> 00:54:32.160
specd driven development it's really

00:54:32.160 --> 00:54:34.559
important to scope things down and at

00:54:34.559 --> 00:54:35.920
this point I thought like this might be

00:54:35.920 --> 00:54:37.359
too complicated so I put it very

00:54:37.359 --> 00:54:38.160
explicit put

00:54:38.160 --> 00:54:40.559
>> I mean to be honest I'm I'm gang refresh

00:54:40.559 --> 00:54:43.599
I don't like to uh to wait for things to

00:54:43.599 --> 00:54:44.559
happen

00:54:44.559 --> 00:54:47.200
>> automatically so now terapform init and

00:54:47.200 --> 00:54:48.640
apply

00:54:48.640 --> 00:54:50.800
will then

00:54:50.800 --> 00:54:53.599
register the subnet ID and the VPC ID as

00:54:53.599 --> 00:54:56.319
outputs in in the grid. Right? So this

00:54:56.319 --> 00:54:57.760
this is running Terapform, right? I'm

00:54:57.760 --> 00:54:59.119
not running anything else. This is

00:54:59.119 --> 00:55:00.800
literally just Terraform talking to the

00:55:00.800 --> 00:55:03.119
grid API and then grid API is extracting

00:55:03.119 --> 00:55:04.720
the outputs and keeping track of them

00:55:04.720 --> 00:55:07.040
okay separately. So if I do grid ctl

00:55:07.040 --> 00:55:08.079
list

00:55:08.079 --> 00:55:10.480
>> uh state list,

00:55:10.480 --> 00:55:12.960
>> I can see it. I can also um I can see

00:55:12.960 --> 00:55:14.079
it's clean because it's just been

00:55:14.079 --> 00:55:16.640
applied. So if I go to my uh cluster

00:55:16.640 --> 00:55:18.640
which needs to depend on the network,

00:55:18.640 --> 00:55:21.200
let me remove every terapform file or

00:55:21.200 --> 00:55:23.280
grid uh file that should be in there. So

00:55:23.280 --> 00:55:26.240
it's only the no resources again that

00:55:26.240 --> 00:55:28.400
are in here, right? And in this case the

00:55:28.400 --> 00:55:30.400
cluster needs to read the network VPC

00:55:30.400 --> 00:55:33.440
ID, right? It it depends on that. So I

00:55:33.440 --> 00:55:36.800
can say grid ctl state create cluster u

00:55:36.800 --> 00:55:39.760
logic ID, right? And then grit ctl u

00:55:39.760 --> 00:55:44.480
deps add from network and it will bind

00:55:44.480 --> 00:55:46.480
the outputs of the network and this is

00:55:46.480 --> 00:55:48.319
where the type will be important right

00:55:48.319 --> 00:55:49.920
but right now this is a non Terra

00:55:49.920 --> 00:55:52.079
construct demo this is pure terapform no

00:55:52.079 --> 00:55:53.520
typing yet right

00:55:53.520 --> 00:55:57.119
>> so in this case I'm the the two the the

00:55:57.119 --> 00:55:58.480
selection is a bit weird you need to

00:55:58.480 --> 00:55:59.839
press enter I'm going to change that but

00:55:59.839 --> 00:56:01.920
anyway um it was a default

00:56:01.920 --> 00:56:04.559
>> generated by AI I can tell

00:56:04.559 --> 00:56:06.319
>> yeah [laughter] I think it's a pterm

00:56:06.319 --> 00:56:08.720
default so right now the network and the

00:56:08.720 --> 00:56:10.400
cluster has a dependency and now you see

00:56:10.400 --> 00:56:12.319
why these errors are separated because

00:56:12.319 --> 00:56:14.400
you have two different outputs and they

00:56:14.400 --> 00:56:16.240
may evolve separately. So the cluster

00:56:16.240 --> 00:56:17.920
depends on the network.

00:56:17.920 --> 00:56:19.760
>> Sorry, the yeah the cluster depends on

00:56:19.760 --> 00:56:22.480
the network. If I do grid ctl state

00:56:22.480 --> 00:56:25.200
list, I can see that the clust the the

00:56:25.200 --> 00:56:27.359
cluster is stale because it has not been

00:56:27.359 --> 00:56:28.880
applied. It has not been observed by the

00:56:28.880 --> 00:56:30.640
grid API, right?

00:56:30.640 --> 00:56:34.000
>> The grid ctl state in it again generates

00:56:34.000 --> 00:56:34.880
the

00:56:34.880 --> 00:56:37.040
>> the backend config for me.

00:56:37.040 --> 00:56:38.640
>> But now comes the interesting part. I

00:56:38.640 --> 00:56:40.799
can use grid ctl or whatever however I

00:56:40.799 --> 00:56:42.799
integrate the SDK into my command line

00:56:42.799 --> 00:56:46.720
or my Golang tooling to to in or to sync

00:56:46.720 --> 00:56:49.280
the depths. So to sync the depths means

00:56:49.280 --> 00:56:51.040
it's going to generate the remote state

00:56:51.040 --> 00:56:52.799
lookup for the network using that unique

00:56:52.799 --> 00:56:54.799
identity and then pre-generating the

00:56:54.799 --> 00:56:56.960
network locals for me. So I know that

00:56:56.960 --> 00:56:58.640
there's a subnet ID. Again, this is

00:56:58.640 --> 00:57:00.640
because I declare that this state needs

00:57:00.640 --> 00:57:02.400
those two outputs. So it's going to

00:57:02.400 --> 00:57:03.200
generate

00:57:03.200 --> 00:57:06.319
>> you're using the data is using the grid

00:57:06.319 --> 00:57:10.640
backend to grab the to make the link.

00:57:10.640 --> 00:57:12.960
Okay. You so you're not relying on the

00:57:12.960 --> 00:57:13.920
file system.

00:57:13.920 --> 00:57:16.000
>> So I have yeah no no file system. So I

00:57:16.000 --> 00:57:18.160
can go across repositories right. So

00:57:18.160 --> 00:57:21.520
this is an API server which is our think

00:57:21.520 --> 00:57:23.440
you can pretty much do this with space

00:57:23.440 --> 00:57:25.119
lift. You can do this with Terraform

00:57:25.119 --> 00:57:27.040
cloud for sure.

00:57:27.040 --> 00:57:28.880
>> This is something I think would be

00:57:28.880 --> 00:57:30.640
incredibly fun to deploy in my

00:57:30.640 --> 00:57:32.160
workplace. So I mean do you have a

00:57:32.160 --> 00:57:34.799
standalone binary which I can start

00:57:34.799 --> 00:57:37.440
running and linking up uh different uh

00:57:37.440 --> 00:57:40.160
state files and and drawing a graph? I

00:57:40.160 --> 00:57:42.079
think that has a lot of value actually.

00:57:42.079 --> 00:57:43.520
It has a lot of value. This is going to

00:57:43.520 --> 00:57:45.920
be Apache to open source. I want to open

00:57:45.920 --> 00:57:47.520
source this once I've got the type

00:57:47.520 --> 00:57:49.599
schema integration with Terra construct.

00:57:49.599 --> 00:57:51.520
I it's right now it's in GitHub private

00:57:51.520 --> 00:57:54.240
repo. I can give you access. Um I'm not

00:57:54.240 --> 00:57:56.160
sure about open sourcing it because it's

00:57:56.160 --> 00:57:58.640
very I mean at this point it's similar

00:57:58.640 --> 00:58:01.680
to open taco. I have to be honest. I I I

00:58:01.680 --> 00:58:03.440
talked to the Open Taco people. I

00:58:03.440 --> 00:58:05.359
understood how they use it.

00:58:05.359 --> 00:58:07.280
>> It's not Open Taco, it's the [laughter]

00:58:07.280 --> 00:58:10.559
grid. Um they're they're doing great

00:58:10.559 --> 00:58:12.160
work with Open Taco by the way. I look

00:58:12.160 --> 00:58:13.920
on the pull requests, they are adding a

00:58:13.920 --> 00:58:15.599
lot of features. They added SQL light

00:58:15.599 --> 00:58:17.440
already and and they they're using

00:58:17.440 --> 00:58:19.359
Lightream. I I think that's what

00:58:19.359 --> 00:58:21.599
>> So they they bas So so there's a lot of

00:58:21.599 --> 00:58:22.880
overlap what you're doing in open

00:58:22.880 --> 00:58:23.200
typing.

00:58:23.200 --> 00:58:24.880
>> There's a lot of overlap except I want

00:58:24.880 --> 00:58:26.480
type schemas and they're not talking to

00:58:26.480 --> 00:58:28.160
me. [laughter]

00:58:28.160 --> 00:58:30.480
So, I'm like, like I said, I told them

00:58:30.480 --> 00:58:32.400
that I could oneshot this in cloud, so I

00:58:32.400 --> 00:58:34.115
took 10 days to oneshot this in cloud.

00:58:34.115 --> 00:58:36.000
[laughter]

00:58:36.000 --> 00:58:37.839
>> Oh, man. I'm loving the innovation here.

00:58:37.839 --> 00:58:42.079
I'm loving it. Um, yeah, I mean, I I I

00:58:42.079 --> 00:58:45.520
definitely would love to to to have this

00:58:45.520 --> 00:58:48.000
visualization on on some state files.

00:58:48.000 --> 00:58:50.400
Um, but I don't I'm just playing I'm

00:58:50.400 --> 00:58:51.520
just playing devil's advocate here,

00:58:51.520 --> 00:58:54.880
Vince. I just I I I see myself

00:58:54.880 --> 00:58:57.200
>> u enjoying like a visualization

00:58:57.200 --> 00:58:58.880
>> but not the type schema.

00:58:58.880 --> 00:59:01.280
>> But uh but even the type schema that

00:59:01.280 --> 00:59:04.240
could help me uh to do some bugs or

00:59:04.240 --> 00:59:06.799
something like that. Um, I mean that's

00:59:06.799 --> 00:59:08.720
the way that's the way I see typing is

00:59:08.720 --> 00:59:11.680
like helping me figure out where there's

00:59:11.680 --> 00:59:14.079
issues

00:59:14.079 --> 00:59:16.240
>> uh like I I would see it as a

00:59:16.240 --> 00:59:19.599
visualization but like but that's that's

00:59:19.599 --> 00:59:22.240
a hard that's a hard sell as a as a

00:59:22.240 --> 00:59:24.880
product like you know like it's

00:59:24.880 --> 00:59:26.960
>> I'm not selling it like I'm I'm so my

00:59:26.960 --> 00:59:29.440
main goal here is um to basically make

00:59:29.440 --> 00:59:30.720
something available that I can use

00:59:30.720 --> 00:59:33.119
myself. Also the way I designed it, I I

00:59:33.119 --> 00:59:36.319
make the package the SDK is a strongly

00:59:36.319 --> 00:59:38.160
type Golang and because I'm using

00:59:38.160 --> 00:59:40.559
connect RPC, I also created TypeScript

00:59:40.559 --> 00:59:41.920
package because that's what I use in my

00:59:41.920 --> 00:59:43.920
dashboard in my web app. So in my web

00:59:43.920 --> 00:59:48.400
app, I'm actually using the um the grit

00:59:48.400 --> 00:59:50.799
um where is it the grid? Where is the

00:59:50.799 --> 00:59:54.240
grid tacons? Here I'm using the TCON. Um

00:59:54.240 --> 00:59:56.160
I'm autogenerating the clients in

00:59:56.160 --> 00:59:59.599
Typescript and in Golang. Uh it could be

00:59:59.599 --> 01:00:01.359
Java, whatever because it's using

01:00:01.359 --> 01:00:04.240
connect RPC. Uh al although I do need to

01:00:04.240 --> 01:00:06.400
wrap it because connect RPC handlers are

01:00:06.400 --> 01:00:09.440
pretty horrible. And anyway, what I want

01:00:09.440 --> 01:00:12.079
is to basically use this one in my

01:00:12.079 --> 01:00:13.520
library to

01:00:13.520 --> 01:00:16.079
>> interact grid. It's some third party.

01:00:16.079 --> 01:00:17.359
What is that?

01:00:17.359 --> 01:00:19.680
>> No, that's my workspace. So that's my TS

01:00:19.680 --> 01:00:22.880
SDK, right? It's autogenerated from from

01:00:22.880 --> 01:00:25.359
the protobuff definitions and then a

01:00:25.359 --> 01:00:25.760
little

01:00:25.760 --> 01:00:27.520
>> tons

01:00:27.520 --> 01:00:29.119
constructs. Oh,

01:00:29.119 --> 01:00:32.240
>> it's all my project, baby. [laughter]

01:00:32.240 --> 01:00:34.160
>> Okay. Okay. I'm a little bit slow. No,

01:00:34.160 --> 01:00:36.079
but it looks I I definitely see the

01:00:36.079 --> 01:00:37.440
value in that. I really would like to

01:00:37.440 --> 01:00:39.280
try that out, actually.

01:00:39.280 --> 01:00:42.319
>> Yeah. So, how it differs from open taco

01:00:42.319 --> 01:00:44.160
is they're focused on like you can

01:00:44.160 --> 01:00:45.680
control the grid using the Terraform

01:00:45.680 --> 01:00:48.319
provider. My goal is I'm giving you an

01:00:48.319 --> 01:00:50.160
SDK. I can generate the terapform

01:00:50.160 --> 01:00:53.599
provider from the SDK. I can generate um

01:00:53.599 --> 01:00:55.599
JavaScript integrations with the grid

01:00:55.599 --> 01:00:57.200
which is what I'm doing for my project

01:00:57.200 --> 01:00:58.799
because I want you know and I want

01:00:58.799 --> 01:01:00.480
additional endpoints control. I want to

01:01:00.480 --> 01:01:02.079
control what is it that you can attach

01:01:02.079 --> 01:01:04.240
to a state. I want to be able or to the

01:01:04.240 --> 01:01:06.079
dependencies the outputs itself. That's

01:01:06.079 --> 01:01:08.640
what I want to control. So um so I'm

01:01:08.640 --> 01:01:11.359
doing this currently with with specit

01:01:11.359 --> 01:01:13.599
and I'm telling you this like 14 days

01:01:13.599 --> 01:01:16.079
now and I've been able to bootstrap the

01:01:16.079 --> 01:01:19.040
repo, build the state dependency logic,

01:01:19.040 --> 01:01:21.920
add some CLI improvements, wire up the

01:01:21.920 --> 01:01:24.480
dashboard um and now I'm working on

01:01:24.480 --> 01:01:26.079
authentication and authorization. So

01:01:26.079 --> 01:01:27.599
OIDC integration

01:01:27.599 --> 01:01:29.359
>> actually I'm curious what it ends up

01:01:29.359 --> 01:01:33.119
doing there. I was think in a web app or

01:01:33.119 --> 01:01:35.680
whatever app is always interesting. So

01:01:35.680 --> 01:01:39.440
my prompt was very very dumb. Um and it

01:01:39.440 --> 01:01:41.440
took me I think the last [clears throat]

01:01:41.440 --> 01:01:43.040
eight hours to

01:01:43.040 --> 01:01:45.119
>> I want to out because no tech right

01:01:45.119 --> 01:01:46.400
you're not supposed to say the tech. So

01:01:46.400 --> 01:01:48.319
it's like I need to add authentication

01:01:48.319 --> 01:01:50.799
authorization and arbback control. I

01:01:50.799 --> 01:01:54.160
want to um basically protect both the

01:01:54.160 --> 01:01:56.720
control plane. Well actually somebody

01:01:56.720 --> 01:02:00.079
else onem I think I think again go codex

01:02:00.079 --> 01:02:01.839
doesn't doesn't give a Codex just

01:02:01.839 --> 01:02:03.920
went and changed my prompt cuz I didn't

01:02:03.920 --> 01:02:05.280
give it that prompt. I gave it a much

01:02:05.280 --> 01:02:06.720
simpler prompt and Codex went like

01:02:06.720 --> 01:02:08.799
actually the user is doing a lot more

01:02:08.799 --> 01:02:10.400
and he's like we have a control plane

01:02:10.400 --> 01:02:12.160
which is our grid API and then we have

01:02:12.160 --> 01:02:13.520
the data plane which is the terraform

01:02:13.520 --> 01:02:15.200
interacting with the terapform state. So

01:02:15.200 --> 01:02:16.400
both of them need to be covered by

01:02:16.400 --> 01:02:18.640
authorization and I need to expose like

01:02:18.640 --> 01:02:20.079
the authentication token to the

01:02:20.079 --> 01:02:21.599
terraform process so that it can

01:02:21.599 --> 01:02:23.440
actually run the apply. So it's very

01:02:23.440 --> 01:02:25.920
interesting. Uh I think I've nailed the

01:02:25.920 --> 01:02:28.480
tasks now. I'm pretty sure I can get

01:02:28.480 --> 01:02:31.119
this like authentication. Well, I'll be

01:02:31.119 --> 01:02:32.799
interested because I think this one

01:02:32.799 --> 01:02:35.119
might be one that it might trip on up

01:02:35.119 --> 01:02:37.040
on, but uh cool.

01:02:37.040 --> 01:02:37.680
>> Hey,

01:02:37.680 --> 01:02:39.119
>> I'll let you know. Hey,

01:02:39.119 --> 01:02:40.960
>> that was awesome, Vincent. Oh, one more

01:02:40.960 --> 01:02:41.920
thing. Just one more thing.

01:02:41.920 --> 01:02:44.799
>> So, so I just ran the apply, right? So,

01:02:44.799 --> 01:02:47.520
right now it shows that it has conf

01:02:47.520 --> 01:02:49.520
consumed and they are clean.

01:02:49.520 --> 01:02:50.720
>> Now, what happens when the network

01:02:50.720 --> 01:02:52.240
changes? Like that happens all the time,

01:02:52.240 --> 01:02:54.000
right? People recreate network.

01:02:54.000 --> 01:02:56.400
>> Why did you say clean and and and stale?

01:02:56.400 --> 01:02:59.599
I mean, that's doesn't seem like the the

01:02:59.599 --> 01:03:01.839
right terminology. I mean, with drift

01:03:01.839 --> 01:03:05.280
with drift detection in terraform, it's

01:03:05.280 --> 01:03:07.280
they do they say stale and clean? I've

01:03:07.280 --> 01:03:07.680
gone

01:03:07.680 --> 01:03:09.200
>> I have no idea. I just

01:03:09.200 --> 01:03:10.640
>> Okay, you just made them up. Okay,

01:03:10.640 --> 01:03:11.119
whatever.

01:03:11.119 --> 01:03:11.920
>> Yeah.

01:03:11.920 --> 01:03:13.680
>> So, there's a thing here with the

01:03:13.680 --> 01:03:15.359
network. For some reason, every time you

01:03:15.359 --> 01:03:18.640
apply uh a time stamp forces the VPC to

01:03:18.640 --> 01:03:19.760
be recreated.

01:03:19.760 --> 01:03:22.079
>> Very convenient.

01:03:22.079 --> 01:03:24.000
So at this point this one has changed

01:03:24.000 --> 01:03:26.559
and recreated the output. And if I

01:03:26.559 --> 01:03:28.880
refresh now we see that the subnets are

01:03:28.880 --> 01:03:30.880
the same but the VPCS. Well, this is not

01:03:30.880 --> 01:03:33.200
realistic example, right? But that's why

01:03:33.200 --> 01:03:36.160
>> it's interesting because it flags um a

01:03:36.160 --> 01:03:38.160
typical problem, right?

01:03:38.160 --> 01:03:39.760
>> Yes. So this is one of the problems of

01:03:39.760 --> 01:03:41.280
the integration registry, right? Where

01:03:41.280 --> 01:03:43.920
we're not able to keep track of like who

01:03:43.920 --> 01:03:46.480
lost the value. This is actually 100%

01:03:46.480 --> 01:03:48.559
open taco because they have an in digest

01:03:48.559 --> 01:03:50.640
and an out digest on the edge when the

01:03:50.640 --> 01:03:53.440
when you dry these edges. So whenever a

01:03:53.440 --> 01:03:56.319
state files get written it keep captures

01:03:56.319 --> 01:03:58.160
the outputs and writes out the out

01:03:58.160 --> 01:04:00.640
digest and all the other states whenever

01:04:00.640 --> 01:04:05.359
they apply they they they um observe the

01:04:05.359 --> 01:04:07.200
incoming outputs and they write out

01:04:07.200 --> 01:04:08.880
their indigest. So, whenever the

01:04:08.880 --> 01:04:10.640
indigest and the out digest differs,

01:04:10.640 --> 01:04:14.079
that's when an arrow is no longer um

01:04:14.079 --> 01:04:15.200
clean, basically.

01:04:15.200 --> 01:04:17.599
>> I don't quite understand, but I'll have

01:04:17.599 --> 01:04:18.880
to try it, I guess.

01:04:18.880 --> 01:04:20.000
>> Yeah, never mind. Like,

01:04:20.000 --> 01:04:21.920
>> okay, so time time out, man. My brain is

01:04:21.920 --> 01:04:23.359
about to turn to to mush.

01:04:23.359 --> 01:04:25.920
>> That's it. That's it, really. Um

01:04:25.920 --> 01:04:29.039
>> thanks, Vincent. And if if anyone got

01:04:29.039 --> 01:04:31.920
this far, I I really applaud you. You

01:04:31.920 --> 01:04:34.400
>> look I think we're gonna cut this.

01:04:34.400 --> 01:04:37.280
I drive for 4 hours to work uh because I

01:04:37.280 --> 01:04:39.520
work in London. So I I don't mind long

01:04:39.520 --> 01:04:41.680
form content to be honest. It's better

01:04:41.680 --> 01:04:44.480
than listening to like hey,

01:04:44.480 --> 01:04:45.599
you know, I kind of

01:04:45.599 --> 01:04:47.359
>> I think you will look Ah, you mean like

01:04:47.359 --> 01:04:48.799
last time when I cut it, it was too

01:04:48.799 --> 01:04:49.359
much.

01:04:49.359 --> 01:04:51.359
>> No, no, I think I think I think I think

01:04:51.359 --> 01:04:53.280
you do what what I would do. You mean

01:04:53.280 --> 01:04:55.119
you cut it pretty well for the first

01:04:55.119 --> 01:04:56.880
third, but the two the last two/3s you

01:04:56.880 --> 01:05:00.240
didn't cut it.

01:05:00.240 --> 01:05:02.000
I mean, that was my impression. Maybe

01:05:02.000 --> 01:05:05.200
you cut it so well I didn't even notice.

01:05:05.200 --> 01:05:08.799
>> Uh, I don't remember. But I do try to.

01:05:08.799 --> 01:05:11.119
>> This is two hours of content. It's It's

01:05:11.119 --> 01:05:12.960
going to be so hard to cut it. But if

01:05:12.960 --> 01:05:16.000
you want to cut it, you do you, Vincent.

01:05:16.000 --> 01:05:18.240
>> You don't know me. I I record myself

01:05:18.240 --> 01:05:20.319
using Speckit for four hours and I cut

01:05:20.319 --> 01:05:22.720
it down into like a 30 minute like to

01:05:22.720 --> 01:05:24.160
the interesting section.

01:05:24.160 --> 01:05:25.039
>> I do.

01:05:25.039 --> 01:05:26.880
>> So you're uploading videos of you using

01:05:26.880 --> 01:05:29.680
Speckit already. I have loom I share

01:05:29.680 --> 01:05:31.119
with my colleagues or with my friends

01:05:31.119 --> 01:05:32.559
and then I see nobody watch it.

01:05:32.559 --> 01:05:34.240
>> Come on, [laughter] get a YouTube

01:05:34.240 --> 01:05:36.400
channel. Get a YouTube channel.

01:05:36.400 --> 01:05:38.240
>> Someone will watch. I don't know who you

01:05:38.240 --> 01:05:41.920
are, but thank you.

01:05:41.920 --> 01:05:42.640
>> Okay, see you.

01:05:42.640 --> 01:05:43.839
>> I don't know how am I going to get this.

01:05:43.839 --> 01:05:46.559
Yeah. See you. Have a lunch or whatever.

01:05:46.559 --> 01:05:50.640
>> Yeah. Bye. You too. Cheers. Good night.

