0:00:29
what is going on guys welcome back to
0:00:32
another session of build break and fix
0:00:37
excuse me that was unexpected
0:00:42
that broke my entry completely anyway
0:00:46
welcome back guys to another session of
0:00:52
we are raw coders and we are back with
0:00:57
another awesome session in which we're
0:01:02
maybe breaking but definitely fixing the
0:01:04
code um and moving on with the
0:01:14
but we're doing the enhanced version of
0:01:17
that one which is called um
0:01:21
so the system project resource project
0:01:28
but we're building the enhanced version
0:01:33
yeah which is exciting stuff and we're
0:01:36
working with technologies like um fetch
0:01:39
api express app and with we're using
0:01:51
and also we're using programming
0:01:53
languages which is built on the
0:01:57
javascript stack which is node
0:02:01
vanilla javascript as well
0:02:05
and basically for the front tennis html
0:02:09
css but we will be
0:02:12
converting the front end to react at a
0:02:16
later stage and if you want to
0:02:19
learn more about how we do things how we
0:02:22
incorporate best practices in the
0:02:27
we'll get to learn from you and you can
0:02:32
from us as well as we do the things and
0:02:36
one more thing that i don't know if you
0:02:38
guys have observed that
0:02:43
the class have gone
0:02:44
one hour forward in melbourne australia
0:02:48
so the timings might be
0:02:52
from where you're accessing the
0:02:55
live coding stream uh depending on where
0:02:58
internationally you are
0:03:00
and yeah that's a bit about the intro
0:03:04
welcome back okay how are we doing today
0:03:07
hey pretty good pretty good i
0:03:09
i was like isn't it 2 a.m
0:03:12
it's like 3 a.m already last night
0:03:15
because of the daylight saving time
0:03:17
change so yeah we skipped the whole two
0:03:21
thing right last night
0:03:24
so i i was up three a.m
0:03:27
yeah so you know how
0:03:29
when the daily daylight saving time
0:03:31
occurs yeah yeah um the
0:03:34
uh time between 2 to 3 a.m is kept
0:03:37
yeah yeah as soon as after 1 59 it's
0:03:40
three yeah yeah like what
0:03:46
she must have been really confused
0:03:55
so that was really funny last time but
0:03:57
now that's good that the sunset happens
0:04:00
at like seven it's actually pretty good
0:04:03
like because if you finish work at like
0:04:04
five or six then you get to get some
0:04:06
time in the sun or outside exactly
0:04:13
and now because the days are longer then
0:04:16
we can get even more done
0:04:19
as in all the personal and
0:04:22
other things that we're
0:04:23
working at in our in our daily life as
0:04:26
well yeah yeah for sure
0:04:29
right that's fantastic man so
0:04:32
i'll just share jira and see where we
0:04:38
so just share my screen
0:04:50
you won't be getting many viewers yeah
0:04:55
i was like huh why why would you even
0:04:58
say that and then she goes
0:05:01
daylight savings and i'm like oh okay
0:05:04
yeah that makes sense now that's true
0:05:07
um so and it's like sunday as well
0:05:10
because they're already 20 minutes in
0:05:11
and there's like zero viewers so yeah
0:05:18
good part is that our viewers can always
0:05:21
see that the recording if they are
0:05:23
really curious and
0:05:25
when ever they have
0:05:28
time and everything
0:05:33
so i'll just jump into jira and
0:05:36
see what's cooking
0:05:39
mm-hmm yeah that's pretty good
0:05:42
i'm sorry i'm just gonna pour like milk
0:05:43
to myself my roommate's cooking so
0:05:47
yeah i just could keep moving myself
0:05:54
all right there we go
0:05:56
ah why do i always do this
0:06:00
keep on forgetting mine wow
0:06:05
not happening today
0:06:08
okay cool yeah there you go
0:06:10
finally i've managed to enter the right
0:06:18
so we this one's done
0:06:22
validate get bored
0:06:28
do you know how do we
0:06:30
go to the parent toss
0:06:37
i don't know actually oh actually click
0:06:39
on it click on it click on sv23 on the
0:06:43
ah okay here we go perfect thank you for
0:06:48
that one star delete is done as well
0:06:53
fry said today i just free cool we're
0:06:56
not going to do any
0:07:00
uh we're gonna merge
0:07:10
into dev and hence into master so i'm
0:07:32
give it a give it like a name or
0:07:35
something like that like it first merge
0:07:37
because you're gonna create this sticker
0:07:42
that's a good idea
0:07:50
yeah sure i mean it's gonna have it
0:07:52
automatically not created but yeah sure
0:07:59
oh you didn't click
0:08:00
oh okay yeah yeah perfect and then
0:08:05
merge new branches okay
0:08:09
let's jump on to backhand first because
0:08:13
that should be a little bit easy
0:08:18
um i think you were coding last so it
0:08:20
should be on yours
0:08:24
on yours yeah yeah
0:08:26
so that's not the one
0:08:42
we need to merge this into that branch
0:08:52
okay hang on a minute
0:08:56
this one i did today
0:08:58
as you know your project description
0:09:02
guys i need to sign in wow
0:09:17
update readme branch first
0:09:23
sorry that was in the front end one
0:09:33
where's this for open pull request for
0:09:46
okay no that's not
0:09:48
okay we need to merge from here stable
0:10:00
okay so pull request forget this
0:10:12
two different branches of fork above
0:10:17
i haven't really done this kind of a
0:10:20
merge on github so i'm i'm gonna take a
0:10:26
first time for everything
0:10:33
this one to the dev branch
0:10:38
okay create pull request
0:10:43
create pull request can automatically
0:10:46
merge don't worry you can still create
0:10:50
stable back in the air crimp
0:11:23
what happened all right all these
0:11:25
comments have to be made this isn't
0:11:27
going to be an interesting
0:11:29
learning curve to be honest
0:11:32
all right this was done in 20 um
0:11:36
have they got the dates on
0:11:38
when they have done
0:11:40
ad bone remaining validation
0:11:43
function these are all the comments we
0:11:45
did is this technically only one
0:11:54
okay what i'm gonna do is i'll just
0:12:03
uh ah the this branch has conflicts but
0:12:06
that must be resolved result conflicts
0:12:13
okay what are we seeing here
0:12:29
ah alright right right so basically was
0:12:34
because i'm doing this
0:12:36
this kind of thing for the first time
0:12:39
this basically shows that
0:12:49
this stable back end
0:12:56
that branch isn't it
0:13:00
apparently um it's like accepting
0:13:02
changes in vs code
0:13:04
you just have to do that yeah all right
0:13:09
how can i click uh
0:13:13
next click on next
0:13:18
mark result removal concrete no no just
0:13:21
click just just press dot on your
0:13:28
oh that means anything
0:13:32
um that's all good um
0:13:35
i'm just trying to figure out how to as
0:13:39
choose the change that i want
0:13:47
oh what's this indent mode no it's not
0:14:04
hang on i'm gonna probably
0:14:08
yeah take your time don't worry resolve
0:14:19
and then your positive neck
0:14:23
resolve a nice complex on github
0:14:26
okay yeah that's fine
0:14:30
if you have more than one much more
0:14:32
micro scroll down to the next set of
0:14:34
conflict markers and repeat this
0:14:40
decide if you want to keep only your
0:14:44
keep only the other branches changes
0:14:47
which may complete your changes
0:14:50
delete the conflict markers this one and
0:14:56
your changes you want in the final merge
0:15:10
so is it basically
0:15:15
accept the change that i want
0:15:20
so i don't want this change
0:15:24
this change and then just i'm not pretty
0:15:34
we call this youtube and get
0:15:45
i mean i'm not sure why you're not
0:15:47
merging it on vs code on like command
0:16:01
good idea let's just do that instead
0:16:07
less clicks right so
0:16:12
i like how you say that's
0:16:17
trying to talk your language to you
0:16:20
and thank you for that i really
0:16:31
all right um in that case i'm gonna
0:16:34
not do anything here
0:16:46
be on backhand now
0:16:48
and if i don't get pull
0:16:53
already up today we should be fine
0:16:56
and now i need to go into
0:17:10
yeah dev and then get
0:17:19
let's see let's see let's see
0:17:22
actually i'm gonna keep pulling all of
0:17:25
this first as well
0:17:28
wow two in the dev
0:17:30
branch interesting okay
0:17:39
merge stable backhand
0:17:48
automatic automatic merge fail result ah
0:17:52
what did i do there
0:17:54
and then commit the result okay cool so
0:18:06
are we used but why are is
0:18:19
no we don't want to keep this
0:18:22
um someone else added that
0:18:26
do you know whom that might be
0:18:39
relevant or we should
0:18:41
just regard it because i don't know why
0:18:45
did it just just leave it um don't touch
0:18:47
anyone else's code like because it's not
0:18:50
doing anything for us right like yeah
0:18:52
it's not making the program crash
0:18:55
yeah true maybe they're trying to do
0:18:59
i mean like all of the team members are
0:19:01
know what they're doing so i won't
0:19:06
i'll trust them on this yeah of course
0:19:09
so replaced okay that one can stay there
0:19:14
and we need to replace this one yeah
0:19:21
and then get bored
0:19:23
yeah which is fine as well
0:19:29
yeah that that's all okay
0:19:36
that seems to be fair enough
0:19:44
i've got a doubt about this
0:19:47
line but since that's not really harming
0:19:50
us at the moment i'll just
0:19:57
uh create a board yeah that's fine
0:20:16
okay yeah that's fine
0:20:29
that seems all good to me though
0:20:38
you know how to accept
0:20:46
um one second what's magic much failed
0:20:55
why don't you make the read me on dev
0:20:58
should i just update it on
0:21:00
master yes because i i i don't
0:21:05
want to commit anything straight to
0:21:08
you would have to always go through
0:21:21
this basically icon
0:21:25
this one's the con
0:21:27
yeah yeah right um the other ones are
0:21:31
yeah i say that would make a lot of
0:21:34
sense now so accept incoming change
0:21:38
and this is the currency and now i want
0:21:41
the incoming change
0:21:43
yeah incoming change stable backhand
0:22:02
check what's in there yeah
0:22:07
it's not going away
0:22:11
yes i'm just gonna are you sure you want
0:22:13
to stay with me with most conflicts no
0:22:20
why is it not going away
0:22:23
why does this open file yep
0:22:52
cool cool so this one yeah that's fine i
0:23:00
yeah that's all right i'm happy with
0:23:08
cool and then sayings
0:23:14
i don't think we should include this
0:23:18
this is for the environment variables
0:23:23
yeah sir uh are we are we already using
0:23:26
environment variables i didn't know that
0:23:30
all right because yeah don't include
0:23:33
this yeah i go i go to menu okay
0:23:35
this was like our experiments and stuff
0:23:37
yes yes exactly yeah so i'll just
0:23:41
do that and app.js is
0:23:48
there cool i'm gonna
0:23:58
um on which branch
0:24:47
another apostrophe
0:24:52
yeah it should work now
0:25:03
okay and now we should go
0:25:14
let's go to the master the grand master
0:25:26
actually do i need to pull
0:25:30
i don't need to pull now
0:25:37
is it master or main
0:25:39
um i think it's master
0:25:43
branches just to be sure
0:25:46
i mean yeah i just do get checked out
0:25:48
already i don't want to create another
0:25:52
actually i'll do is switch
0:25:57
switch master i keep holding
0:26:00
your branch must have diverged
0:26:08
have and have 1 and 14
0:26:13
comments each wow respectively just get
0:26:16
pulled to merge into remote branch into
0:26:22
let's to get pulled first on master
0:26:25
because i haven't done this before
0:26:30
that's why is saying it
0:26:34
first time for reading
0:26:36
um automatic merge failed
0:26:48
so for this one except incoming change
0:26:58
accept incoming change
0:27:05
start from the top
0:27:10
current incoming change
0:27:21
anyway whatever we do here they feel
0:27:24
good overridden so
0:27:27
yeah probably yeah because we're still
0:27:35
yeah yeah no no no
0:27:38
there we go incoming change
0:27:46
here's how i'm tired okay
0:27:49
yeah i played like football in the rain
0:27:51
today for like oh wow
0:27:56
it's pretty fun um just
0:27:59
did work in the morning and then i was
0:28:01
like gotta go and play so we played
0:28:08
you would have just gone to um
0:28:13
now we so you play like full pitch like
0:28:15
eleven versus eleven full ah
0:28:21
um that was pretty nice that's pretty
0:28:30
app underscore which is ps
0:28:38
apple phone it's called vs ctk and it's
0:28:49
why what is our yaml file doing here
0:28:55
it's not always sham ammo
0:29:02
this is literally the yammer file we
0:29:05
look at line number 32 this is not a
0:29:14
why is it named app on the school via
0:29:17
ctk underscore template that wasn't ours
0:29:22
is there like automatic thing which
0:29:27
i have no idea about that as well
0:29:36
we'll come back because
0:29:38
that is mentioned as
0:29:44
it will be deleted if you um actually
0:29:47
merge these changes
0:29:57
package don't worry about that there's
0:30:02
yeah we don't have to submit that do we
0:30:07
unless you're doing a node
0:30:09
install every time in sam build
0:30:18
do we do that or no
0:30:24
i mean you can add it in master uh for
0:30:27
but you don't need to add it to sam so
0:30:30
right right i see i'm not sure if
0:30:31
there's a sam ignore file
0:30:36
yes free buck here okay that one has to
0:30:45
and i've got yours
0:30:47
do you know if there's like any ignore
0:30:48
files which can be made
0:30:56
like for sam uh like i don't think so
0:30:58
they'll be called sam ignore
0:31:11
so what's the goal here to as in
0:31:15
ignore all the sam files we don't need
0:31:20
just like dependency files like we don't
0:31:23
want to build node modules or package
0:31:27
and we don't really ah okay so that
0:31:32
that would be done
0:31:36
no no get ignored would be for
0:31:40
not pushing them to github but like not
0:31:44
building them every time that's what i'm
0:31:48
because they're compute heavy as well
0:31:52
that's fine let's not worry about that
0:31:53
let's just focus on github
0:31:58
uh so this one is there you need that
0:32:05
okay i'm just gonna submit this because
0:32:08
these are all gonna be
0:32:14
merge branch master
0:32:18
okay there is a way to do it i'll see
0:32:20
you in private chat but we can have a
0:32:22
look after the call
0:32:59
um so at the moment we're just
0:33:15
so i'm thinking that the moment we're
0:33:27
master to the remote master isn't it
0:33:32
just local to local all of it
0:33:35
look because we are updating
0:33:42
to our local branch
0:33:44
have you already merged stable back into
0:33:46
mastering on your local no uh
0:33:56
stable back into dev have you merged
0:34:08
um yes did you try it
0:34:19
do a sample on that did you try to
0:34:22
i didn't do that i didn't do yeah just
0:34:25
try doing that and make sure everything
0:34:28
like that's how tdd works right now you
0:34:30
test everything on dev then you start
0:34:32
worrying about anything relating to
0:34:39
yet so i wouldn't know that okay cool
0:34:42
yeah that's so good
0:34:43
um yeah so let's just test if
0:34:46
everything's all right and death
0:34:49
which it probably should be i'm pretty
0:34:52
sure we did it right
0:34:54
um yeah okay i'm gonna import them both
0:34:59
yeah just to get reset minus minus hard
0:35:01
and you should be good to go
0:35:04
on the master branch
0:35:06
yeah the merge on the master yes
0:35:10
head is now changed to function okay
0:35:15
perfect so if we check out
0:35:20
f and do a sound build
0:35:30
if it's successful it should build
0:35:34
and yeah and it should work properly as
0:35:37
also i don't know if you saw my message
0:35:42
postman just did the biggest thing
0:35:45
like they literally solved all the api
0:35:48
developers problems
0:35:55
i've got it's called i'll tell you what
0:36:02
it's called postman flows
0:36:05
wait until it deploys i'll show you what
0:36:11
and it's like crazy it's literally crazy
0:36:18
it's still on beta um
0:36:24
i think uh they're gonna be out pretty
0:36:31
is it called postman close
0:36:32
pretty sure it does
0:36:52
so what it basically does is that you
0:36:55
know how we have to test every single
0:37:01
we have to test if
0:37:03
post first we post a board
0:37:05
then we get that board then we try
0:37:07
deleting it then we try updating it
0:37:10
and then we try i don't know whatever it
0:37:12
is we try doing with the board
0:37:16
like if we have to test our whole api we
0:37:18
have to at least do like five six posts
0:37:22
so what this does is
0:37:23
that you can program
0:37:25
let's say this is our post board request
0:37:29
if there will be like a if statement
0:37:31
kind of it will not be a statement but
0:37:34
if it returns status 200 and this
0:37:40
then it goes to the next one
0:37:46
so they're creating the flows
0:37:56
update board works then they're going to
0:37:58
go to something like
0:38:00
i don't know delete board or get all
0:38:03
in just one flow and just one click just
0:38:08
and all of the board functionalities are
0:38:15
let's probably incorporate it in
0:38:21
yeah yeah yeah yeah that'd be really
0:38:23
really really cool and it just came out
0:38:27
um ah right right yeah
0:38:36
so that's pretty epic
0:38:39
yeah person's been doing good stuff even
0:38:41
with the test scripts and stuff
0:38:46
right on your screen okay so the
0:38:55
i know what might be the problem
0:38:58
all right i didn't i didn't
0:39:02
touch our working stack i
0:39:09
oh you named it something else yes
0:39:15
so i'm just gonna check just delete this
0:39:18
whole stack and deploy again
0:39:23
but it won't still work
0:39:28
name it back right um
0:39:36
no no no no no no no no hang on hang on
0:39:38
hang on there's one more thing that
0:39:40
we've got to merge into dev
0:39:44
um the template diana
0:39:48
another person's changes
0:39:51
oh interesting okay
0:39:53
because there was there was another
0:39:59
which we haven't yet merged so this one
0:40:09
oh so this was was already done was it
0:40:31
so this is already there is up today
0:40:34
with all comments okay now
0:40:36
i was mistaken that branch has already
0:40:41
merged into dev apparently
0:40:48
now what's the problem here
0:40:54
we are on which one
0:41:18
should i give you that name or our
0:41:25
oh the api i'm thinking old on a new
0:41:33
all right you change the stat name here
0:41:36
um let's give the old name
0:41:39
go through that and see what happens the
0:41:42
base url will change again then
0:41:45
changing another postman again
0:41:48
yeah yeah true true which is not a big
0:41:51
problem is just that um
0:41:54
why not work with the
0:41:57
one you know like only one
0:41:59
exactly i mean the only reason why i did
0:42:02
that was because if this deployment
0:42:06
work we still have a backup
0:42:09
which fine that's that's why we use
0:42:11
cloud formation right it's gonna roll
0:42:12
back automatically
0:42:15
even if it doesn't deploy or
0:42:19
cloud formation is gonna automatically
0:42:22
my brain is gone on holiday
0:42:28
i'm like zayn believe yourself you
0:42:32
passed the solutions architect exam come
0:42:34
on you gotta do it
0:42:38
right don't worry about it too much just
0:42:41
you're being like those old people who
0:42:43
see the iphone for the first time
0:42:50
shall i oh no should i or not
0:42:53
in that way yeah um anyway uh that
0:42:56
deployment has been failed so i'm gonna
0:42:59
check what's happening
0:43:02
roll up the roll back
0:43:11
wait does it give me outputs
0:43:17
update roll back delete
0:43:20
resource creation fill the foliage fail
0:43:26
ah so it's giving us the errors on the
0:43:32
the maximum number of
0:43:34
all the elements has been reached
0:43:41
okay we need to figure this one out
0:43:52
what we should have done was that
0:43:54
like okay um we i think we merged
0:43:57
two branches together um and then we are
0:43:59
testing them together
0:44:01
um but we should have
0:44:04
merged vpc and then tested it
0:44:07
merge table back in
0:44:19
let me just add one thing
0:44:27
you know what what might have happened
0:44:34
other team member must have done
0:44:38
some configurations
0:44:44
through the front through
0:44:48
which is why it hasn't been done in this
0:44:51
one so it's not create it's not doing it
0:44:57
oh right and they didn't create like a
0:44:59
vpc file or something
0:45:06
it's kind of a shortcut there
0:45:09
you just go through the front and and do
0:45:13
clicks to get it working
0:45:16
same saying should be applied in the
0:45:23
which i'm thinking and i could be wrong
0:45:30
once an applied but i'm just gonna check
0:45:34
if this is our hello world function
0:45:37
does this have a vp i feel like i mean
0:45:40
like don't quote me on this but i feel
0:45:43
pretty bad approach considering we are
0:45:45
going to move towards code build and
0:45:49
just having a bad approach like having
0:45:52
local configurations right um yeah or i
0:45:55
mean like this would have been fine if
0:45:57
we would have dockerized the whole thing
0:46:02
that's the problem
0:46:04
all right yeah because you don't have no
0:46:09
this function isn't connected to a vpc
0:46:16
it's all configured here
0:46:19
enjoy it i feel like the bigger problem
0:46:22
i don't know with this specific person
0:46:23
is that we should dockerize the app
0:46:26
can only do something because this
0:46:28
happened every time
0:46:40
what would be the best way to go forward
0:46:43
now because what the problem what's the
0:46:49
from what it seems
0:46:54
they configured the vpc i mean the
0:46:59
lambdas connection to the vp no
0:47:03
configured the con
0:47:05
the vpc connection to
0:47:07
lambda manually as in
0:47:15
created the resources
0:47:27
so because they did this
0:47:30
vpc can they put the lambda in the vpc
0:47:40
we haven't done that so
0:47:48
this means that our lambda isn't connect
0:47:51
isn't present in the vpc which is y is
0:48:00
it can't create the resource block and
0:48:03
no no no that that hang on
0:48:20
no that is something else
0:48:34
could you go to clar watch and see
0:48:36
what's happening exactly
0:48:42
but i don't really think we're gonna
0:48:45
find anything but let's have a look
0:48:48
go and see what we can find because
0:49:06
because that's specifically to lambda
0:49:09
we are experiencing the resource
0:49:20
that's good that's good that we are
0:49:31
so since the resource creation has been
0:49:44
let's just create snack giveaway
0:49:47
hello let the function roll hello
0:49:59
whoa that can't be this much
0:50:15
okay up there resource failure
0:50:37
to be honest i don't even think is
0:50:40
related to the vpc is is just failing to
0:50:44
create the resources in the first place
0:50:52
you're not in any order right
0:50:55
the vpc could have failed which it did
0:51:06
passing so if you go up
0:51:09
um let's go up a little
0:51:16
just to just the scrambler api is in
0:51:27
something along the line
0:51:42
see how we have all the resources in sam
0:51:53
see how we have all the resources over
0:51:59
everything is here
0:52:01
it's failing to create it here
0:52:08
i might do one thing i don't even want
0:52:10
to delete their stack
0:52:13
no i don't want to do that
0:52:17
i mean i can just pull dev and try
0:52:19
building on my account
0:52:22
might as well do that because
0:52:25
what i'm thinking that they already have
0:52:28
as in vpc connected
0:52:34
no like vpc can be
0:52:37
stacks right i know
0:52:42
can you show me their security group for
0:52:45
what's the outbound rule
0:52:52
right um i can show you but i don't
0:52:56
think that is the problem hang on a
0:53:12
there blue security
0:53:24
yeah quran inbound rule
0:53:30
okay yeah oh so it's all okay outdoor
0:53:38
i don't think it's to do with um
0:53:41
the security group or
0:53:44
anything the fact that the resource
0:53:46
itself are not being created
0:53:49
i think there's some permission problem
0:53:51
or something like that
0:54:04
okay i'm gonna just
0:54:16
oh literally everyone's sleeping
0:54:29
did you have dinner
0:54:36
rice and nana chicken
0:54:41
how about yourself
0:54:45
we made burgers at home today oh ho ho
0:54:48
interesting that was pretty nice
0:54:54
okay i'm gonna do some build
0:55:10
and sam destroying guided
0:55:18
something yeah yeah
0:55:23
okay let's see what it gives us now
0:55:40
please don't give me anything
0:55:45
resource creation failed fail scrambler
0:55:50
why is it doing this
0:55:53
the maximum number of vpcs are
0:55:58
maximum number of vpcs has been reached
0:56:04
okay are you there
0:56:06
yeah yeah oh oh okay i thought you just
0:56:11
self mute and just went
0:56:17
vpc limited try googling that let me
0:56:20
just move that just gonna do that now
0:56:26
this is interesting vpc also has a limit
0:56:32
deployment filled with maximum number of
0:56:40
all right okay so then
0:56:44
the way apc works is that
0:56:47
every vpc can have 255 endpoints
0:56:54
so you can just use the vpc they created
0:56:57
and try connecting it to ours
0:57:03
so that means that i don't need to use
0:57:13
but you the way that template file is
0:57:16
working is that it's trying to create a
0:57:21
but the right way to
0:57:23
do this would have been to be
0:57:26
configuring the vpc first
0:57:29
not while deploying it
0:57:33
you know what i mean
0:57:35
you know what i mean like
0:57:36
right now how our pc is being created by
0:57:39
doing sam build and sam deploy yeah yeah
0:57:42
but the way it should have been is that
0:57:46
aws manually create the vpc
0:57:49
take the subnet point and then connect
0:57:53
so in that case um
0:57:57
i'm not sure i i'm not sure but i think
0:58:02
uh cidr block though
0:58:05
let's see how we can take the subnet and
0:58:08
connect it to that
0:58:10
um yeah but if we go back to that one
0:58:18
okay what i'm gonna do is
0:58:23
thing i just sent you
0:58:28
i think the comment down below on the
0:58:51
don't want to create a new bbc stream so
0:58:57
instead justifying your vpc variable
0:59:00
from my desktop for my described
0:59:04
vpc is called don't
0:59:11
probably something that uh
0:59:16
whatever you want to use which is hard
0:59:19
for vpc id in your script
0:59:23
there's a song level five
0:59:27
for a reason but you don't really need
0:59:29
to create a new ppc for everything you
0:59:34
so basically what we can do is put our
0:59:37
lambda into the vpc as in
0:59:43
yeah i mean what is vp it's just like a
0:59:46
virtual private cloud right
0:59:48
it's not customized for every script you
0:59:57
you know what we're trying to do you
1:00:04
buying a vpn software for each of your
1:00:06
device like your phone and your other
1:00:14
um and that just simply doesn't make
1:00:20
all right so i'm gonna probably just
1:00:23
the whole vpc thing
1:00:32
and then we are going to deploy but when
1:00:36
i'm not the scrambler no you yeah
1:00:50
just gonna comment here as well
1:00:59
so that when we come back to it
1:01:04
we know why this was done
1:01:39
i'm just getting water once again
1:02:57
i've also commented on this vpc config
1:03:01
that was attached to the
1:03:07
i don't know if we need it but because
1:03:11
it's related to vpc it does oh
1:03:17
try and use it because all the other
1:03:19
stuff will be commented
1:03:22
which is why i've commented it
1:03:35
we can probably see if this works or not
1:03:37
or we can call it a night
1:03:39
not a lot of people oh
1:03:41
it's half 10 already
1:03:43
yeah and tomorrow's monday
1:03:48
just see if this works which hopefully
1:03:51
would i've got a good feeling
1:03:57
right if it doesn't we can always come
1:04:10
very nice so we need to
1:04:22
that's done just reload the whole page
1:04:30
wait what this is the one
1:04:33
i think you didn't do sam build
1:04:40
can you just go back and check what
1:04:43
i'm pretty sure i did do some build
1:04:46
yeah oh yeah you did
1:04:52
just no just don't do screens do
1:05:06
no build it again yeah i am i am i am
1:05:11
as fast as you may
1:05:15
are you sure you you sure you're on the
1:05:16
dev runs right oh yeah you're
1:05:29
just hide your thumbnail please
1:05:34
what it says it can't be completed
1:05:45
i'm not as fast as you man
1:05:56
fail to create an error code when
1:06:08
i think that's already there
1:06:17
zen screamer api thing
1:06:35
now i'll try to do it
1:06:54
no no no just do something like because
1:06:56
you want to see if there's any
1:06:59
screen wouldn't show us any error
1:07:16
see the moment of truth
1:07:26
i think it's building now
1:07:29
creating a progress go to
1:07:32
cloud formation already it's fine
1:07:34
you can probably see it now yeah they'll
1:07:36
go crazy here we go
1:07:44
click on the second um yep stack info
1:07:48
anything else you want what you want me
1:07:51
yeah go to stack info
1:07:58
oh sorry my bad events
1:08:03
it will take time to build
1:08:08
good thing that is building up now
1:08:17
which days are you working
1:08:28
and on the weekend
1:08:30
as well uh yeah yeah
1:08:36
i just sat down and i'm trying
1:08:37
understanding the code base
1:08:41
okay cool so this is deployed now
1:08:50
yeah and configuration bbc edit
1:08:55
which one what was his yeah that one
1:09:00
i don't know which subnet they chose um
1:09:03
try the first one um
1:09:05
um it would make a difference if i do
1:09:08
i'm gonna just go on there
1:09:12
too many things opened
1:09:18
okay this is the one
1:09:40
to be security group was
1:09:46
i think there's only seven nine f
1:09:54
this is tested yeah that's fine
1:09:59
it's already attached yet
1:10:02
see this is the problem with it'll be
1:10:06
but it doesn't feel like it's attached
1:10:08
do you get what i mean
1:10:10
right i see what you mean
1:10:13
yeah that would make sense
1:10:18
seriously it automatically attaches the
1:10:22
click on outbound rules
1:10:23
yeah it's there cool yeah cool um save
1:10:29
the provider execution does not have
1:10:30
permission to call networking's first
1:10:33
okay cool so there
1:10:35
i saw a video of this and he did show me
1:10:41
how was this we need to add the
1:10:48
actually let's do this
1:10:52
tomorrow because um it will
1:10:54
take us as in beyond 11 if we
1:11:00
all right so i'll just
1:11:06
make sure 10 changes know that
1:11:20
mostly branches having been masked
1:12:32
giving this so we know where to come
1:12:34
back up surely yeah that makes sense
1:12:40
my legs literally hurt so bad ah i don't
1:12:44
blame you man it must have been a really
1:12:49
session for you isn't it
1:12:51
yeah but it's always fun to just get out
1:13:01
yeah that was a good session guys
1:13:08
one of the new branches which was stable
1:13:16
that seemed to be working fine but now
1:13:21
manually configure
1:13:24
to pull lambda into vpc and then
1:13:28
test it out as well make sure that part
1:13:30
is working as well
1:13:32
yeah apart from that
1:13:35
good session have you got anything to
1:13:39
yeah um no good i think
1:13:42
that's been pretty interesting that
1:13:44
we're working vpcs now and
1:13:46
um hopefully we'll have a private cloud
1:13:49
yeah and yeah that's the aim now um
1:13:52
exciting stuff coming up
1:13:54
i mean these are pretty little things
1:13:57
in like really really sophisticated
1:13:59
environments i'm glad to see that
1:14:01
yeah trying to handle these rather than
1:14:04
creating a website and just hosting on
1:14:13
good to have a deep as in hands-on
1:14:16
experience because if we don't have the
1:14:19
attention to detail as in in the
1:14:26
so all right guys thanks a lot for
1:14:32
you are yeah great having you all um
1:14:36
and we'll see you tomorrow same time
1:14:41
i think the same task sadly
1:14:44
same time perfect guys have a good night