boarzVideosClipsStatistics

#️⃣EP 146 - AWS WebSocket Integration with SAM Pt. 6

🎦
📅 2022-01-06 (700 days ago)
⌛ 1:03:18
ZainboarToreyboar
AllClipsEpisodesHas Blog PostZainThaneshKartikTorey
019
Build, Break & Fix // BLOG REVEAL!! &Fixing our broken Hugo blog
📅 2021-07-31 
(859 days ago)
⌛ 2:03:11
📰
ZainboarKartikboar
021
Build, Break & Fix // Trying different things to resolve the error
📅 2021-08-03 
(856 days ago)
⌛ 1:04:49
📰
ZainboarKartikboar
022
Build, Break & Fix // Special Guest announcement for tomorrow!
📅 2021-08-04 
(855 days ago)
⌛ 1:03:15
📰
ZainboarKartikboar
023
Special Episode : Talking to a Principal Developer at Seek
📅 2021-08-05 
(854 days ago)
⌛ 1:04:56
📰
ZainboarKartikboar
024
Build, Break & Fix // Working out Software design
📅 2021-08-06 
(853 days ago)
⌛ 1:08:19
📰
ZainboarKartikboar
025
Build, Break & Fix
📅 2021-08-06 
(853 days ago)
⌛ 2:01:05
📰
ZainboarKartikboar
026
Weekend Special 1.5 hours
📅 2021-08-08 
(851 days ago)
⌛ 1:35:49
📰
Zainboar
027
30 mins of deployment 😠 || 30 mins of coding 🥲
📅 2021-08-09 
(850 days ago)
⌛ 1:07:48
📰
ZainboarKartikboar
028
Today's Broadcast
📅 2021-08-10 
(849 days ago)
⌛ 1:18:59
📰
ZainboarKartikboar
029
Build Break Fix
📅 2021-08-11 
(848 days ago)
⌛ 1:01:46
📰
ZainboarKartikboar
030
Today's Stream
📅 2021-08-12 
(847 days ago)
⌛ 1:09:24
📰
ZainboarKartikboar
031
Buidl Break Fix
📅 2021-08-13 
(846 days ago)
⌛ 1:05:05
📰
ZainboarKartikboar
032
Today's Broadcast
📅 2021-08-14 
(845 days ago)
⌛ 1:20:18
📰
ZainboarKartikboar
033
Build - Break - Fix
📅 2021-08-15 
(844 days ago)
⌛ 1:34:03
📰
ZainboarKartikboar
034
Build Break Fix
📅 2021-08-16 
(843 days ago)
⌛ 1:18:19
📰
ZainboarKartikboar
035
Today's Broadcast
📅 2021-08-17 
(842 days ago)
⌛ 1:04:07
📰
ZainboarKartikboar
036
Build, Break, Fix
📅 2021-08-18 
(841 days ago)
⌛ 1:03:21
📰
ZainboarKartikboar
037
Special Guest - Sam Nolan
📅 2021-08-19 
(840 days ago)
⌛ 1:05:19
📰
ZainboarKartikboar
038
Today's Broadcast
📅 2021-08-20 
(839 days ago)
⌛ 1:01:55
📰
ZainboarKartikboar
039
Today's Broascast
📅 2021-08-21 
(838 days ago)
⌛ 1:33:11
📰
ZainboarKartikboar
040
Build - Break - Fix
📅 2021-08-22 
(837 days ago)
⌛ 1:33:18
📰
ZainboarKartikboar
041
Build Break Fix
📅 2021-08-23 
(836 days ago)
⌛ 0:57:11
📰
Zainboar
042
Today's Broadcast
📅 2021-08-24 
(835 days ago)
⌛ 1:06:08
📰
ZainboarKartikboar
043
Today's Stream
📅 2021-08-25 
(834 days ago)
⌛ 1:13:08
📰
ZainboarKartikboar
044
Today's Stream
📅 2021-08-26 
(833 days ago)
⌛ 0:49:48
📰
ZainboarKartikboar
045
Today's Stream
📅 2021-08-27 
(832 days ago)
⌛ 1:08:21
📰
ZainboarKartikboar
064
Today's Broadcast
📅 2021-09-16 
(812 days ago)
⌛ 1:20:45
📰
ZainboarKartikboar
065
test
📅 2021-09-16 
(812 days ago)
⌛ 2:03:01
📰
ZainboarKartikboar
066
Today's Broadcast
📅 2021-09-19 
(809 days ago)
⌛ 1:46:13
📰
ZainboarKartikboar
067
Today's Stream
📅 2021-09-20 
(808 days ago)
⌛ 1:03:46
📰
ZainboarKartikboarToreyboar
068
Today's Stream
📅 2021-09-21 
(807 days ago)
⌛ 1:09:13
📰
ZainboarKartikboarToreyboar
069
Today's Broadcast
📅 2021-09-22 
(806 days ago)
⌛ 1:03:51
📰
ZainboarKartikboar
070
Today's Stream
📅 2021-09-23 
(805 days ago)
⌛ 1:59:01
📰
ZainboarKartikboar
071
Today's Stream
📅 2021-09-24 
(804 days ago)
⌛ 0:28:57
📰
ZainboarKartikboar
072
Today's Stream
📅 2021-09-24 
(804 days ago)
⌛ 0:39:33
📰
ZainboarKartikboar
073
Today's Stream
📅 2021-09-26 
(802 days ago)
⌛ 1:21:14
📰
Zainboar
074
Today's Stream
📅 2021-09-27 
(801 days ago)
⌛ 1:03:40
📰
ZainboarKartikboar
075
Today's Stream
📅 2021-09-28 
(800 days ago)
⌛ 1:04:05
📰
ZainboarKartikboar
076
Today's Broadcast
📅 2021-09-29 
(799 days ago)
⌛ 0:58:07
📰
ZainboarKartikboar
077
Today' Broadcast
📅 2021-09-30 
(798 days ago)
⌛ 1:13:14
📰
ZainboarKartikboar
078
Today's Broadcast
📅 2021-10-01 
(797 days ago)
⌛ 1:23:11
📰
ZainboarKartikboar
079
Today's Stream
📅 2021-10-03 
(795 days ago)
⌛ 1:14:52
📰
ZainboarKartikboar
080
Today's Stream
📅 2021-10-04 
(794 days ago)
⌛ 1:05:10
📰
ZainboarKartikboar
081
Today's Stream
📅 2021-10-05 
(793 days ago)
⌛ 1:01:05
📰
Zainboar
082
Today's Stream
📅 2021-10-06 
(792 days ago)
⌛ 0:54:10
📰
ZainboarKartikboar
083
Today's Stream
📅 2021-10-07 
(791 days ago)
⌛ 1:15:04
📰
ZainboarKartikboar
085
Today's Stream
📅 2021-10-10 
(788 days ago)
⌛ 1:17:09
📰
ZainboarKartikboar
086
Today's Stream
📅 2021-10-11 
(787 days ago)
⌛ 1:00:57
📰
ZainboarKartikboar
087
Today's Stream
📅 2021-10-12 
(786 days ago)
⌛ 0:51:02
📰
ZainboarKartikboar
088
Today's Stream
📅 2021-10-13 
(785 days ago)
⌛ 1:07:31
📰
ZainboarKartikboar
089
Today's Broadcast
📅 2021-10-14 
(784 days ago)
⌛ 1:07:16
📰
ZainboarKartikboar
090
Today's Stream
📅 2021-10-15 
(783 days ago)
⌛ 1:01:10
📰
Zainboar
091
Today's Stream
📅 2021-10-17 
(781 days ago)
⌛ 1:26:37
📰
ZainboarKartikboarThaneshboar
092
Today's Stream
📅 2021-10-18 
(780 days ago)
⌛ 1:05:40
📰
ZainboarKartikboarThaneshboar
093
Today's Stream
📅 2021-10-19 
(779 days ago)
⌛ 1:01:58
📰
ZainboarThaneshboar
094
Today's Stream
📅 2021-10-20 
(778 days ago)
⌛ 1:04:18
📰
ZainboarKartikboar
095
Today's Stream
📅 2021-10-21 
(777 days ago)
⌛ 1:16:08
📰
ZainboarKartikboarThaneshboar
096
100th Episode
📅 2021-10-23 
(775 days ago)
⌛ 1:13:16
📰
ZainboarKartikboar
097
101/200 Episodes
📅 2021-10-24 
(774 days ago)
⌛ 1:00:53
📰
ZainboarThaneshboar
098
102/200 Episode
📅 2021-10-25 
(773 days ago)
⌛ 1:09:20
📰
ZainboarKartikboar
099
103/200 Episode
📅 2021-10-26 
(772 days ago)
⌛ 1:10:51
📰
ZainboarKartikboarThaneshboar
100
104/200
📅 2021-10-27 
(771 days ago)
⌛ 1:03:23
📰
ZainboarKartikboar
101
105/200
📅 2021-10-28 
(770 days ago)
⌛ 1:15:24
📰
ZainboarThaneshboar
102
107/200
📅 2021-10-29 
(769 days ago)
⌛ 1:14:04
📰
ZainboarKartikboar
103
109/200
📅 2021-10-31 
(767 days ago)
⌛ 1:11:38
📰
ZainboarKartikboarThaneshboar
104
110/200
📅 2021-11-01 
(766 days ago)
⌛ 1:04:53
📰
ZainboarKartikboar
105
111/200
📅 2021-11-02 
(765 days ago)
⌛ 1:11:33
📰
ZainboarKartikboarThaneshboar
106
112/200
📅 2021-11-03 
(764 days ago)
⌛ 1:00:17
📰
ZainboarKartikboar
107
113/200
📅 2021-11-04 
(763 days ago)
⌛ 1:03:53
📰
Zainboar
109
115/200
📅 2021-11-07 
(760 days ago)
⌛ 1:02:25
📰
ZainboarThaneshboar
110
116/200
📅 2021-11-08 
(759 days ago)
⌛ 1:09:37
📰
ZainboarKartikboar
111
117/200
📅 2021-11-09 
(758 days ago)
⌛ 1:06:25
📰
ZainboarKartikboarThaneshboar
112
118/200
📅 2021-11-10 
(757 days ago)
⌛ 1:02:39
📰
ZainboarKartikboar
113
119/200
📅 2021-11-11 
(756 days ago)
⌛ 1:08:01
📰
ZainboarKartikboarThaneshboar
114
120/200
📅 2021-11-12 
(755 days ago)
⌛ 1:00:14
📰
Zainboar
115
120/200
📅 2021-11-14 
(753 days ago)
⌛ 1:06:19
📰
ZainboarKartikboarThaneshboar
117
Today's Stream
📅 2021-11-22 
(745 days ago)
⌛ 1:01:46
📰
KartikboarThaneshboar
119
How This Video Has 14 Views, Explained
📅 2021-11-29 
(738 days ago)
⌛ 1:16:20
📰
KartikboarThaneshboar
120
Special Guest - Torey Littlefield Pt.2
📅 2021-11-30 
(737 days ago)
⌛ 1:12:15
📰
ZainboarToreyboar
122
Today's Stream
📅 2021-12-06 
(731 days ago)
⌛ 1:02:01
📰
KartikboarThaneshboar
124
Today's Stream
📅 2021-12-09 
(728 days ago)
⌛ 1:05:48
📰
ZainboarThaneshboar
126
Today's Stream
📅 2021-12-12 
(725 days ago)
⌛ 0:12:47
📰
ZainboarThaneshboar
127
Today's Stream
📅 2021-12-12 
(725 days ago)
⌛ 0:50:29
📰
ZainboarThaneshboar
128
Today's Stream
📅 2021-12-13 
(724 days ago)
⌛ 1:02:31
📰
ZainboarKartikboar
129
Today's Stream
📅 2021-12-14 
(723 days ago)
⌛ 1:10:28
📰
ZainboarToreyboar
130
Today's Stream
📅 2021-12-16 
(721 days ago)
⌛ 1:16:51
📰
ZainboarThaneshboar
132
Today's Stream
📅 2021-12-19 
(718 days ago)
⌛ 1:00:49
📰
Zainboar
133
Today's Stream
📅 2021-12-20 
(717 days ago)
⌛ 1:01:49
📰
ZainboarKartikboar
134
Today's Stream
📅 2021-12-21 
(716 days ago)
⌛ 1:03:43
📰
ZainboarThaneshboar
135
Today's Stream
📅 2021-12-22 
(715 days ago)
⌛ 1:06:30
📰
ZainboarKartikboar
137
Today's Stream
📅 2021-12-26 
(711 days ago)
⌛ 1:17:00
📰
ZainboarThaneshboar
138
Today's Stream
📅 2021-12-27 
(710 days ago)
⌛ 1:05:22
📰
ZainboarKartikboar
139
Today's Stream
📅 2021-12-28 
(709 days ago)
⌛ 1:16:17
📰
ZainboarToreyboar
140
WebSocket Integration
📅 2021-12-29 
(708 days ago)
⌛ 1:02:44
📰
Zainboar
141
AWS WebSocket API Integration Pt.2
📅 2021-12-30 
(707 days ago)
⌛ 1:08:23
📰
ZainboarToreyboar
142
AWS WebSocket Integration with SAM Pt.3
📅 2022-01-02 
(704 days ago)
⌛ 1:03:18
📰
ZainboarToreyboar
143
Today's Stream
📅 2022-01-03 
(703 days ago)
⌛ 1:07:18
📰
ZainboarKartikboar
144
AWS WebScoket Integration with SAM Pt.4
📅 2022-01-04 
(702 days ago)
⌛ 1:04:18
📰
ZainboarToreyboar
145
AWS WebSocket Integration with SAM Pt.5
📅 2022-01-05 
(701 days ago)
⌛ 1:03:21
📰
ZainboarKartikboar
▶️
AWS WebSocket Integration with SAM Pt. 6
📅 2022-01-06 
(700 days ago)
⌛ 1:03:18
📰
ZainboarToreyboar
147
Today's Stream
📅 2022-01-07 
(699 days ago)
⌛ 1:11:55
📰
ZainboarToreyboar
148
Connect AWS WebSocket to DynamoDB Pt.1
📅 2022-01-09 
(697 days ago)
⌛ 1:10:25
📰
ZainboarToreyboar
150
"Blank Line" Bug In Lambda Response For AWS Websocket Pt.1
📅 2022-01-11 
(695 days ago)
⌛ 0:58:13
📰
ZainboarKartikboarToreyboar
151
"Blank Line" Bug In Lambda Response From Lambda
📅 2022-01-13 
(693 days ago)
⌛ 1:04:40
📰
ZainboarToreyboar
152
AWS WebSocket + Lambda + DynamoDB
📅 2022-01-14 
(692 days ago)
⌛ 1:04:33
📰
ZainboarThaneshboar
153
AWS WebSocket + Lambda + DynamoDB
📅 2022-01-16 
(690 days ago)
⌛ 1:11:37
📰
ZainboarToreyboar
154
Test
📅 2022-01-17 
(689 days ago)
⌛ 1:03:13
📰
ZainboarThaneshboar
156
AWS Websocket + DyanmoDb + Lambda
📅 2022-01-19 
(687 days ago)
⌛ 1:06:33
📰
ZainboarThaneshboar
157
Today's Stream
📅 2022-01-20 
(686 days ago)
⌛ 0:57:55
📰
Zainboar
158
Today's Stream
📅 2022-01-21 
(685 days ago)
⌛ 1:02:17
📰
ToreyboarZainboar
159
Today's Stream
📅 2022-01-23 
(683 days ago)
⌛ 1:13:29
📰
ZainboarToreyboar
160
How To Host A Web App using AWS S3 and CloudFront
📅 2022-01-24 
(682 days ago)
⌛ 1:16:15
📰
ZainboarThaneshboar
163
How To Host Web App In AWS S3 with Custom Domain
📅 2022-01-27 
(679 days ago)
⌛ 1:08:48
📰
ZainboarToreyboar
164
How To Host Web App In AWS S3 with Custom Domain Using Route 53
📅 2022-01-28 
(678 days ago)
⌛ 1:08:57
📰
ZainboarThaneshboar
166
Today's Broadcast
📅 2022-01-31 
(675 days ago)
⌛ 1:11:16
📰
ThaneshboarToreyboar
167
How To Host Web App In AWS S3 with Custom Domain Using Route 53
📅 2022-02-01 
(674 days ago)
⌛ 1:06:35
📰
ZainboarToreyboar
168
Generate SSL Certificate via AWS Certificate Manager
📅 2022-02-02 
(673 days ago)
⌛ 0:58:02
📰
ZainboarThaneshboar
169
Test AWS Websocket Connection With Multiple Users
📅 2022-02-03 
(672 days ago)
⌛ 1:01:59
📰
ZainboarToreyboar
172
Today's Broadcast
📅 2022-02-07 
(668 days ago)
⌛ 1:05:20
📰
ThaneshboarToreyboar
179
Today's Stream
📅 2022-02-23 
(652 days ago)
⌛ 0:59:43
📰
ZainboarThaneshboar
182
Create Passcode UI
📅 2022-02-28 
(647 days ago)
⌛ 1:01:29
📰
ZainboarThaneshboar

Blog

Today, we worked on the same problem, checking why is API Gatway erroring out. We found out that Lambda had to be used as a proxy integration. So we enabled that option in the route name default, deployed and tested. It still didn't work. We are one step closer to finding out the solution.

Subtitles

0:00:00
[Music]
0:00:25
what is going on guys welcome back to
0:00:27
another session of break and fix brought
0:00:30
to you by the yours truly
0:00:33
have a guess
0:00:36
rule coders that's us
0:00:39
i'm
0:00:40
pirating tory you feeling good
0:00:42
i'm feeling good man i just shaved
0:00:45
oh
0:00:46
nice and fresh and smooth
0:00:48
yeah man exactly
0:00:51
i like it
0:00:52
how are you zane
0:00:54
i am very good yeah i just finished work
0:00:58
earlier on and came straight here
0:01:01
been a very productive day so
0:01:04
yeah
0:01:06
um
0:01:07
yeah guys so uh just a bit um
0:01:10
well before giving a bit of a recap and
0:01:13
let's go and do the acknowledgment of
0:01:15
the country first
0:01:17
and here goes
0:01:20
i begin today by acknowledging the
0:01:22
traditional custodians of the land on
0:01:24
which we gather today and pay my
0:01:26
respects to the elders past present and
0:01:28
future i extend their respect to
0:01:31
aboriginal and torres strait islander
0:01:33
people here today
0:01:37
fantastic that was awesome
0:01:41
yeah so um just a bit of a
0:01:43
recap um so do you wanna go ahead and
0:01:49
give us
0:01:50
a bit of a recap story but we were up to
0:01:54
just today because you saw everything as
0:01:57
a revolution as in one of the really
0:02:01
dedicated
0:02:02
women and the
0:02:04
people as well so really appreciate you
0:02:08
absolutely um yesterday i think you guys
0:02:13
were working on
0:02:15
kind of debugging
0:02:18
the the default message handler um and
0:02:21
with in that lambda and
0:02:25
trying to basically get a response from
0:02:27
the websocket after you connect to it
0:02:30
i think i think that's why that's the
0:02:32
one and that was by the way a million
0:02:33
dollar
0:02:34
question
0:02:41
that was easy i thought it was way
0:02:43
harder to get rich
0:02:46
say it's
0:02:48
all about being
0:02:50
a dev
0:02:51
and
0:02:53
answering these kind of easy questions
0:02:57
that always makes you a millionaire
0:02:59
that is true i did win
0:03:02
a fire stick light
0:03:05
from watching
0:03:07
from watching paul and
0:03:11
matt cole's show on aws and then i
0:03:13
answered a question before anybody else
0:03:15
did
0:03:18
that is fantastic check you out as in
0:03:22
previews
0:03:23
man and that's where all the knowledge
0:03:26
comes into play and it gets you free
0:03:29
stops well done
0:03:30
pace yeah pays the play man pays the
0:03:33
player
0:03:34
by the way very good shout out to um
0:03:38
their channel there's in
0:03:41
the shed really amazing guys from
0:03:45
aws and they do some really cool stuff
0:03:48
so if you're
0:03:50
curious
0:03:52
definitely check them
0:03:54
out because um
0:03:56
personally i've learned a lot
0:03:59
from them so yeah they're really
0:04:03
uh amazing
0:04:04
experience and knowledgeable guys
0:04:08
cool so now that is done uh let's share
0:04:12
my screen um
0:04:14
do you wanna code this time oh
0:04:18
uh i can sure
0:04:20
okay yeah
0:04:21
uh you can see your screen because you
0:04:24
pretty much know the goal spell and the
0:04:27
area of the code that we've been doing
0:04:30
so it might be
0:04:33
a good idea for you to
0:04:36
give a
0:04:37
magic touch of tory
0:04:41
and it might work
0:04:43
you mean i might break you mean i might
0:04:45
break a bunch of stuff yeah
0:04:48
let me uh
0:04:49
right i'm gonna add your screen here we
0:04:52
go
0:04:53
added
0:04:54
now let me change the color here too
0:04:57
oh i like you ps code i'll change this
0:05:00
i'll make it white why not
0:05:03
yeah why not doesn't harm
0:05:06
i like the dark but you know it's gonna
0:05:09
get dark here soon so
0:05:11
oh okay can i make it's gonna make me
0:05:14
darker
0:05:15
okay yeah that makes a lot of sense
0:05:18
though
0:05:19
yeah yeah i know hope to get some better
0:05:22
lighting situation later
0:05:24
yeah yeah
0:05:28
right
0:05:29
um
0:05:32
oh hang on so if you wanna
0:05:36
if we
0:05:37
yeah
0:05:38
so if we need anything from the aws
0:05:43
actually why not i give you access to
0:05:47
the account as well
0:05:49
that'd be a good idea
0:05:51
to start with
0:05:54
roots i'm using
0:06:02
are you gonna send it through the
0:06:03
through slack or the chat
0:06:06
um through the slack
0:06:11
okay i'll stop sharing my screen then
0:06:13
for now yeah yeah for sure
0:06:18
okay there we go
0:06:22
this one
0:06:23
yep that is the one
0:06:28
signing again
0:06:31
all right it'll be a really quick one
0:06:33
because all i need to do is
0:06:37
aws
0:06:39
um
0:06:40
add your email address
0:06:43
and create a user for you
0:06:45
that is all
0:06:51
so tory
0:06:53
l
0:06:56
who
0:06:58
and
0:06:59
both access key and password as well um
0:07:02
you can change the password by yourself
0:07:07
i'll give you
0:07:08
the axis
0:07:13
there we go and
0:07:15
[Music]
0:07:17
user has been created
0:07:19
first
0:07:22
oh okay cool so if you give me your
0:07:26
email address or you want to slack it
0:07:29
then i can just
0:07:31
email
0:07:31
you the entire thing
0:07:33
all right i'll um
0:07:35
i'm gonna send it in slack
0:07:37
yeah cool
0:07:39
[Music]
0:07:42
brazilian thursday
0:07:48
you haven't got you you know already no
0:07:51
i don't
0:07:52
yeah i just sent it to you via slack
0:07:55
okay
0:07:57
[Music]
0:08:04
all right and here you go your access is
0:08:08
coming along
0:08:10
and
0:08:11
you can just
0:08:13
change you'll have to change your
0:08:14
password upon login by eventually giving
0:08:17
you access to everything
0:08:19
okay it's a lot easier for you
0:08:21
[Music]
0:08:22
now
0:08:24
right let's go
0:08:34
did you um did you guys happen to get a
0:08:36
response from aws yet uh
0:08:41
not yet because
0:08:43
i think that
0:08:45
they normally take their time and
0:08:47
because it's also the start of the year
0:08:50
so they might
0:08:52
the staff their relevant staff might not
0:08:55
have come back from
0:08:56
the holiday period so
0:08:59
it's
0:09:00
taking a bit longer
0:09:03
but yeah i'm hopeful very helpful
0:09:12
make sure i see
0:09:19
signing on
0:09:23
[Music]
0:09:25
when you're ready you can share your
0:09:27
screen
0:09:30
yep
0:09:34
and see that signs then
0:09:40
that's odd
0:09:45
oh um
0:09:48
it said the password will be provided by
0:09:50
the administrator
0:09:53
what
0:09:54
in the email i got
0:09:58
right it's interesting okay hang on a
0:10:00
minute just give me a few seconds
0:10:02
sure sure
0:10:07
uh
0:10:09
uh i need my users
0:10:11
i am
0:10:14
basically what i'm gonna do is just
0:10:17
create
0:10:18
a password for you as well
0:10:20
yeah actually
0:10:21
that'll be a quick one
0:10:26
manage keep existing now
0:10:29
also generated password yeah set
0:10:32
password yeah they will require positive
0:10:34
reset
0:10:42
okay here we go i'm gonna send you the
0:10:44
password in your slack
0:10:47
okay and you can use that one
0:10:50
all right
0:10:51
and then you should be required to
0:10:54
change upon your first login
0:11:01
hey jack devs
0:11:03
i'm actually i want to think of a really
0:11:06
cool
0:11:09
nickname for you as well
0:11:21
[Music]
0:11:30
yeah
0:11:31
fantastic all right
0:11:34
um
0:11:40
all right
0:11:41
close that
0:11:43
uh
0:11:44
i probably haven't updated my cli in a
0:11:46
while
0:11:49
um oh okay
0:11:52
right it will matter
0:11:54
because
0:11:55
i
0:11:57
have forgotten to give you your access
0:11:59
key and secret
0:12:01
key id oh yeah right wow interesting
0:12:05
well i'm gonna update the cli while
0:12:07
you're doing that
0:12:08
yeah fine i need to
0:12:12
my brain has to come back from a holiday
0:12:14
mode
0:12:17
sometimes you don't want to man you know
0:12:22
control
0:12:27
i want to be chilling in the beach
0:12:30
like like finesse
0:12:33
oh
0:12:36
yeah how's it going dec dev
0:12:41
uh secrets
0:12:43
create access key
0:12:47
okay cool
0:12:48
so i'm gonna give you this
0:12:51
so the first one is your
0:12:53
key id
0:12:57
and the second one is your access key
0:13:00
i mean secret access
0:13:03
secret access key all right that's the
0:13:06
one i definitely don't want to show on
0:13:08
the screen no no no no
0:13:11
never
0:13:12
ever
0:13:19
oh whatever i'm not gonna install the
0:13:22
stupid cli is taking forever to install
0:13:25
i mean it's not stupid it's just taking
0:13:27
a long time
0:13:28
oh so you should
0:13:30
you don't have a terminal i i no i do
0:13:32
have i know i was gonna i was gonna
0:13:34
upgrade the aws cli
0:13:37
i think um
0:13:39
you really need to
0:13:40
no
0:13:41
i just figured i might since i have the
0:13:43
time i'm not doing it anymore i'm done
0:13:45
oh okay cool right what says i think all
0:13:49
you need to do is put your credentials
0:13:51
that i've just sent you in the
0:13:54
credentials um file of uh
0:13:59
the hell folder of
0:14:01
aws and that's basically it do you
0:14:04
remember the coi command for that
0:14:07
um it was aws configure
0:14:10
okay
0:14:14
yeah okay what was the access key that
0:14:18
sent you the e id so i would get rid of
0:14:21
the one that you're not using oh
0:14:23
but i have to i have to i have to switch
0:14:26
right
0:14:29
from my
0:14:30
from my aws account right
0:14:33
um
0:14:36
why don't you do them
0:14:38
manually as in just uh
0:14:41
type in cd in the terminal and then
0:14:46
type in
0:14:47
cd
0:14:48
space
0:14:50
dot
0:14:52
aws
0:14:54
okay
0:15:05
cd
0:15:06
dot aws
0:15:08
cd space
0:15:09
dot yeah uh
0:15:11
my director is somewhere else
0:15:14
oh right okay nevermind let me just try
0:15:17
cd
0:15:18
tilde
0:15:20
you can try um
0:15:22
adam's
0:15:24
space
0:15:25
minus a and that would show all the
0:15:27
hidden
0:15:29
folders as well
0:15:30
what was that again
0:15:32
ls space
0:15:34
oh hyphen ah
0:15:40
i'm in bash
0:15:43
do you want to show your screen
0:15:47
um
0:15:51
sure i can
0:15:55
um
0:16:02
okay let me share the screen
0:16:06
there you go get your friends here
0:16:12
all right
0:16:14
let's
0:16:17
just make sure i don't open that slack
0:16:21
wait
0:16:22
probably do you want to just quit slack
0:16:26
no because i need it in a second to copy
0:16:28
over these keys
0:16:30
i know but once saying that you
0:16:34
need it once you open it but we can
0:16:37
try to open that one for you
0:16:40
first and then when it's open then you
0:16:42
can stop
0:16:44
sharing it and
0:16:45
do what you need to do
0:16:49
yeah like that's easier
0:16:51
it's fine i'll leave it open it's it's
0:16:54
like
0:16:55
um it'll be okay but um
0:16:58
dude
0:16:59
if i were you i wouldn't take it and
0:17:01
then take the risk
0:17:04
um because we actually have two million
0:17:07
viewers at the moment watching oh wow
0:17:10
okay i'll tell you what i'll just
0:17:13
make sure that i'm only
0:17:15
sharing the vs code window there you go
0:17:19
yeah yeah right so if i switch to my
0:17:22
browser you can't see it um by the way
0:17:26
i'm already showing you your screen so
0:17:28
just so you know
0:17:30
okay
0:17:31
so i don't see a i don't see an aws
0:17:36
file it must be because of the directory
0:17:38
i'm in like i'm in
0:17:41
what is it
0:17:42
join okay yeah and
0:17:45
now do
0:17:46
alice no no no no
0:17:49
ls
0:17:50
minus a
0:17:52
yeah
0:17:53
and
0:17:54
go up i just want to see all the hidden
0:17:57
folders you have yeah you want to see
0:17:59
all my hidden files people yeah here it
0:18:01
is
0:18:02
here we go so
0:18:05
just just
0:18:07
that one and then forward slash as well
0:18:10
it's not gonna show anything in here
0:18:13
no no you won't okay
0:18:17
okay and
0:18:18
now
0:18:19
do uh
0:18:21
uh
0:18:22
alice
0:18:23
i've never live stream worried about the
0:18:28
yeah that's fine
0:18:30
trust me
0:18:32
it won't show
0:18:33
anything you don't want to show
0:18:36
now
0:18:36
um stop sharing
0:18:38
your
0:18:39
your screen and open up the credentials
0:18:43
file
0:18:44
okay
0:18:45
by doing
0:18:46
vi space
0:18:49
program
0:18:51
credentials yeah
0:18:53
and then it will actually open up the
0:18:56
file and all your access key and secret
0:18:58
key
0:19:00
will be in there
0:19:01
and
0:19:04
um make sure you stop sharing first yeah
0:19:08
okay um stop sharing
0:19:10
yeah
0:19:12
[Music]
0:19:14
[Laughter]
0:19:17
it's an insult to all the okay
0:19:24
come on
0:19:26
it's an insult to my eyes too honestly
0:19:31
yeah
0:19:34
it haunts it a lot i'm embarrassed what
0:19:36
do you want me to say i'm embarrassed
0:19:38
okay
0:19:42
joy's gonna have
0:19:45
an even more caved back okay objective
0:19:49
i'll just code
0:20:03
making sense now
0:20:06
yeah i remember this file it's just been
0:20:08
a while all right so
0:20:11
do i put
0:20:14
yeah i don't i don't need to put the
0:20:16
username right it's just like for
0:20:18
reference
0:20:20
okay so all you need
0:20:23
is
0:20:24
um
0:20:25
access key and secret access key but
0:20:29
what you can do is
0:20:31
use different profiles as well
0:20:34
yeah that's what i meant
0:20:36
yeah
0:20:37
so the but the profile name is just for
0:20:39
me right it doesn't matter
0:20:42
like aws doesn't use it it does matter
0:20:45
yes so say for example you have two
0:20:48
accounts
0:20:50
and
0:20:52
say
0:20:53
one is your personal and one is your
0:20:55
work and if you
0:20:57
wanna deploy something on your personal
0:21:00
not
0:21:00
work
0:21:01
then you would have to explicitly say
0:21:06
profile and then the profile name
0:21:09
yeah i know that i mean the name of the
0:21:11
profile the name of the profile has
0:21:14
nothing to do with my aws account right
0:21:17
no no no okay yeah
0:21:20
all right i am almost done then
0:21:23
key
0:21:26
id
0:21:27
and
0:21:34
i thought there was a cli command to
0:21:36
just do this for you instead of
0:21:38
navigating
0:21:40
there is one
0:21:41
actually if you do
0:21:43
configure
0:21:45
and then it asks you everything as well
0:21:50
oh
0:21:51
it asked me for the for my key though
0:21:55
yeah sorry oh so i have to give the key
0:21:58
in order to make yes
0:22:00
yes
0:22:01
because what that
0:22:02
would do is going to overwrite something
0:22:07
gotcha
0:22:11
i'm not entirely sure if it would
0:22:12
overwrite it i could be wrong but
0:22:15
if i were you i wouldn't take that risk
0:22:18
yeah i just i said it manually now
0:22:21
okay cool all right um let me
0:22:24
see uh how do you switch the profile is
0:22:28
it
0:22:29
um
0:22:31
where
0:22:32
how do i switch my aws profile
0:22:35
no
0:22:36
where
0:22:37
in the terminal
0:22:46
[Music]
0:22:48
you need to do
0:22:49
right at the end
0:22:50
you do minus minus profile
0:22:55
and then space and the profile name
0:23:01
okay is there a way i mean
0:23:03
i do
0:23:04
like so you can use the flag is there a
0:23:06
way to like
0:23:07
set
0:23:08
the profile
0:23:10
for
0:23:11
the terminal session
0:23:16
that's a really good question
0:23:20
look in to that i don't i don't know
0:23:23
about that
0:23:25
okay
0:23:26
i'm gonna have to actually
0:23:28
because i'm worried if i accidentally
0:23:30
forget the flag
0:23:32
for some reason
0:23:34
oh um by the way if you have two
0:23:37
accounts which means two access keys in
0:23:41
the
0:23:42
credentials filed then
0:23:45
uh aws specifically asks you that which
0:23:50
profile that you want to
0:23:52
use or it's from missing profile and you
0:23:56
need to
0:23:57
explicitly
0:23:59
okay
0:24:00
yeah okay so it won't it won't deploy
0:24:03
anything unless you put the profile
0:24:05
hopefully not
0:24:09
i mean that's my experience
0:24:12
that until
0:24:14
now
0:24:15
it hasn't
0:24:16
really
0:24:17
deployed
0:24:18
anything unless i put the
0:24:21
profound name in there
0:24:24
okay
0:24:29
um if you want i'll share my screen
0:24:30
again yeah cool
0:24:36
stare at my white vs code
0:24:40
[Music]
0:24:47
all right add your screen
0:24:50
adding now
0:24:52
okie dokie
0:24:55
okay
0:25:00
what are you trying to do here
0:25:03
huh i'm not trying to do anything
0:25:05
oh okay cool
0:25:07
okay so we're actually starting the
0:25:10
actual thing now
0:25:11
okay
0:25:12
all right no
0:25:14
i'm asking you
0:25:16
are we
0:25:18
this is the this is the
0:25:21
the scrumbler or sam repo yeah yeah
0:25:24
and i i think
0:25:26
i'm on the websocket
0:25:29
integration branch
0:25:32
okay
0:25:33
do you want to do it
0:25:34
you pull
0:25:37
yeah i think i did but i'll just do it
0:25:38
again
0:25:39
i know over there
0:25:41
you need to go in the repo first you're
0:25:44
in the
0:25:45
aws folder in the terminal thanks yeah
0:25:49
let me just kill this i'm lazy
0:25:54
that's all right i know that feeling
0:25:56
that's the shortcut okay
0:26:00
all right it's good i think
0:26:04
uh
0:26:05
okay
0:26:06
you pull perfect
0:26:08
right cool
0:26:12
all right
0:26:13
what's next question
0:26:15
okay uh i'll give you the
0:26:17
suggestion first try to use terminal as
0:26:21
much as you can is way faster than
0:26:23
million clicks
0:26:26
okay
0:26:27
yeah
0:26:28
all right um so
0:26:33
do you want to run this
0:26:36
um
0:26:39
what's the what's the command so do uh
0:26:42
sam build
0:26:44
sam bill all right
0:26:46
yeah enter
0:26:49
oh no okay you don't have sam in store
0:26:52
oh i do have sam
0:26:55
apparently
0:26:56
i do
0:26:58
ls
0:27:02
yeah pro you probably haven't got sam
0:27:05
installed i definitely says
0:27:08
do
0:27:09
sam
0:27:10
uh
0:27:11
space
0:27:13
minus minus version
0:27:16
i think that's the quant if i'm not
0:27:18
wrong probably would be
0:27:22
huh
0:27:24
yeah you definitely haven't got salmon
0:27:26
stored because if you had a you
0:27:29
wouldn't say sam
0:27:31
come on not
0:27:32
found yeah hmm
0:27:35
um maybe i s maybe i only used it as a
0:27:39
dependency before
0:27:41
right i see
0:27:46
but
0:27:47
can you do that
0:27:49
yeah you should be able to as in it
0:27:52
shouldn't be too
0:27:54
no i mean i mean i would have thought i
0:27:57
installed it globally
0:28:00
um unless you didn't pull minus g flag
0:28:06
then yeah
0:28:08
globally
0:28:12
yeah just run that
0:28:17
[Music]
0:28:28
yeah i think i remember it's been a
0:28:29
while for me
0:28:32
no but it's only for local testing
0:28:36
you don't need okay if you're
0:28:39
deploying it
0:28:41
online you only need that if you're
0:28:43
doing it locally
0:28:45
yep
0:28:47
that's so weird though i definitely have
0:28:49
sam installed unless you're just um he
0:28:52
installed sam's client the first one
0:28:56
okay you're
0:28:58
doing already cool yeah
0:29:02
that's interesting
0:29:04
i've definitely i've definitely
0:29:07
like you know worked with
0:29:10
the
0:29:11
with sam before
0:29:14
so
0:29:14
but did you use it in the terminal
0:29:18
yeah
0:29:20
hmm
0:29:21
that's very interesting that's that's
0:29:24
how i knew about some of the commands
0:29:25
like you know verify
0:29:27
verify the template yeah
0:29:30
for sure sure
0:29:32
okay
0:29:33
yeah that's really weird
0:29:35
that
0:29:39
oh you're using windows
0:29:42
i don't know i just realized that
0:29:48
yeah you got anything to say about that
0:29:52
it's
0:29:52
amazing you never want to convert to mac
0:29:57
max are really slow mate really really
0:30:00
slow
0:30:02
yeah ever heard of a company called
0:30:04
microsoft
0:30:05
no kind of kind of big no
0:30:09
e
0:30:11
in which country is that
0:30:19
okay so
0:30:21
we can focus on getting you up and
0:30:24
running in this session
0:30:26
yeah that's kind of boring sorry
0:30:29
no no i mean if you want you can
0:30:32
just
0:30:33
you can do it and then i mean
0:30:36
and then i can do this in my spare time
0:30:41
i thought i already had sam configured
0:30:42
so i thought it would just be a matter
0:30:44
of getting the keys
0:30:46
no man it's
0:30:47
good practice for me as well because i'm
0:30:50
actually kind of already working on
0:30:53
troubleshooting skills
0:30:55
so
0:30:56
practice makes perfect
0:31:00
and you can well that doesn't have say
0:31:03
i'm pretty sure he's talking about me
0:31:09
you can write i'm sorry
0:31:14
can write bad code on any os
0:31:20
wow slow okay that's almost done
0:31:25
um
0:31:27
what's it gonna say yeah you know what
0:31:34
really interesting what i've observed
0:31:37
that i've got work on laptop windows and
0:31:41
pretty much all the design interface and
0:31:44
everything
0:31:45
um microsoft is
0:31:48
trying to
0:31:49
line up that with apple
0:31:52
yeah that's what people keep saying i
0:31:54
don't know like with the new windows 11
0:31:58
okay i haven't tried that one but
0:32:01
just the laptop
0:32:03
wise
0:32:05
and uh everything
0:32:10
oh what you see it's removing files it
0:32:14
must have already been installed
0:32:16
so it's so weird
0:32:20
i think you may be right that
0:32:22
you might have installed there for that
0:32:25
particular folder in which you were
0:32:26
working on before
0:32:28
but not globally
0:32:32
based on this installer it seems like
0:32:34
you don't have a choice like you have to
0:32:36
install it globally
0:32:40
oh
0:32:42
you know like i'm not i would nobody in
0:32:44
their right mind would go through this
0:32:46
just
0:32:50
for that i know i know i make mistakes
0:32:52
but i'm not gonna make this mistake like
0:32:55
i'm already tired of watching this thing
0:32:56
and stuff
0:33:03
but that's really interesting that is
0:33:06
removing things and
0:33:08
then he's gonna install it
0:33:11
what
0:33:12
i don't know
0:33:14
hey you're the you're the dot net guy
0:33:20
he's a c-sharp guy
0:33:22
yeah i haven't used
0:33:24
sandwich c sharp until now
0:33:28
but i'm pretty sure i will very soon
0:33:35
oh yeah
0:33:37
one of the um my vision for this project
0:33:40
is that
0:33:41
once the mvp is done i might even
0:33:43
undertake
0:33:44
um
0:33:45
this project but
0:33:47
converting to
0:33:49
net stack oh really
0:33:51
yeah
0:33:53
you sure
0:33:57
you're like okay
0:33:59
yeah
0:34:02
uh you couldn't see
0:34:04
yes it's c sharp because that's what the
0:34:09
coding test
0:34:10
was
0:34:12
in so
0:34:13
yes
0:34:16
and i'm still in my
0:34:18
training
0:34:20
are you are you enjoying yourself
0:34:26
you can see how bored he is at the
0:34:29
moment watching this the stream that
0:34:32
he's asking
0:34:34
[Music]
0:34:43
well since this thing is
0:34:46
wow yeah like column is slower than this
0:34:49
yeah you sure you don't want to just
0:34:50
switch over and you just work on it i
0:34:52
think i might do that because yeah um
0:34:55
hit finish oh here we go
0:35:06
let me try to reopen the terminal
0:35:13
oh
0:35:14
why
0:35:20
jack dan's asking your friend
0:35:24
yeah but then my screen will be so dark
0:35:27
you won't be able to see me
0:35:32
oh right
0:35:34
um i'll get what you mean yeah that's
0:35:38
the lighting situation let's just go
0:35:40
over to you i'm gonna troubleshoot this
0:35:42
another time
0:35:46
all right cool
0:35:49
let's reach over then
0:35:51
no no that's not your fault maybe
0:35:54
i probably so i probably already had sam
0:35:56
installed i just
0:35:58
need to do
0:36:04
right
0:36:05
okay cool so
0:36:08
no
0:36:20
okay there we go and
0:36:26
[Laughter]
0:36:27
[Music]
0:36:39
too bright get a lamp change your theme
0:36:42
please what a demanding audience
0:36:47
hey come on man
0:36:50
if
0:36:51
all these
0:36:53
don't know here we
0:36:55
wouldn't be here
0:36:57
either right yeah i mean
0:37:00
how do we
0:37:03
um
0:37:07
[Music]
0:37:09
see how efficient
0:37:11
efficient our max
0:37:15
huh
0:37:17
see how efficient i'm at yeah okay okay
0:37:20
okay
0:37:22
if work gives me a mac i'll use it i
0:37:25
won't complain if they give me a mac
0:37:26
right whatever i don't care give me a
0:37:28
mac otherwise i don't care i'm not
0:37:30
getting a mac
0:37:34
i love your passion man at the moment
0:37:37
honestly
0:37:38
it's just off the roof
0:37:46
ah come on dude not this one i don't
0:37:49
need this one
0:37:52
this is gonna be the
0:37:54
most the most boring episode
0:37:59
no no we'll get back okay don't you
0:38:01
worry my god don't
0:38:07
[Music]
0:38:16
as
0:38:22
[Music]
0:38:26
uh yeah my my interview is next
0:38:29
next week one
0:38:37
is asking if this is a two hour special
0:38:41
and he says
0:38:42
to make up for the bright vs code
0:38:45
installing
0:38:47
software nonsense
0:38:53
yeah i mean i wish i wish you like i
0:38:56
wish i just did it ahead of time
0:39:04
[Music]
0:39:09
um
0:39:10
actually tori after
0:39:13
the stream um
0:39:15
um we need to discuss something as well
0:39:18
okay is it so
0:39:20
stay tuned in
0:39:22
all right because it's something really
0:39:24
exciting oh all right
0:39:28
sounds cool
0:39:30
right
0:39:33
where's my websocket yeah there we go
0:39:36
and that's my
0:39:37
stages pride
0:39:40
sorry i've got to
0:39:43
quit my
0:39:44
emails and my
0:39:47
that one that's not good saying
0:39:50
not good
0:39:53
okay get connected yeah that's obviously
0:39:56
you would
0:39:57
but this is the
0:39:59
big part
0:40:01
um action
0:40:05
message
0:40:08
no not message default
0:40:15
server error
0:40:17
okay
0:40:18
what does
0:40:20
um cloud
0:40:23
for watch show us
0:40:28
i do have sam installed
0:40:32
i did have sam installed there's some
0:40:34
issue with like the vs code
0:40:38
terminal on windows and
0:40:41
sam you need to like set a path variable
0:40:43
or something at least according to some
0:40:45
other people who have similar problems
0:40:48
ah
0:40:49
right there's extra steps and windows
0:40:52
huh
0:40:55
i don't know what you're talking about
0:41:01
you're telling me you don't have to do
0:41:03
that
0:41:03
no i didn't have to do that all i did
0:41:07
was do
0:41:08
[Music]
0:41:09
install sam and it just
0:41:12
worked
0:41:13
straight away
0:41:15
yeah
0:41:17
i i didn't have to do all the extra
0:41:19
steps that you need to do in the famous
0:41:23
company
0:41:25
software on microsoft
0:41:32
i'm really curious what does this mean
0:41:36
it's i've already been there so that's
0:41:39
not really gonna work
0:41:42
um i just really should go resort by
0:41:46
adding a method response 200
0:41:49
so that's coming from the api gateway
0:41:54
method response
0:41:56
this is my method response setup okay
0:41:59
cool so we need to do something similar
0:42:01
to this
0:42:06
all right so if we go down to um api
0:42:10
gateway
0:42:16
wait we're staying apart gateway yes
0:42:20
gateway
0:42:21
and we go and add
0:42:24
those responses
0:42:28
stage
0:42:30
response 200
0:42:32
add header
0:42:35
um
0:42:36
go there
0:42:38
let's see if this would give us what we
0:42:40
want
0:42:41
access control allow region
0:42:46
[Music]
0:42:48
that's the same as that
0:42:51
access
0:42:54
control
0:42:58
control
0:43:01
now
0:43:02
origin
0:43:06
okay and we do a response model
0:43:09
oh we need to add our
0:43:11
model as well right
0:43:14
we didn't have that ah
0:43:16
now that's kind of making sense
0:43:20
empty
0:43:26
jason
0:43:29
and this one would be on t1
0:43:32
application
0:43:33
slash jason
0:43:37
okay
0:43:38
and then what we need to do
0:43:42
um i'll probably explain everything off
0:43:45
towards once this starts working
0:43:51
no point on me
0:43:53
explaining it and it doesn't work then
0:43:57
no worries man i'm just looking at like
0:43:59
i'm looking at code anyways
0:44:01
okay cool
0:44:04
okay add my response model
0:44:08
jason and then empty response co
0:44:14
empty model
0:44:22
okay
0:44:23
let's
0:44:24
deploy it and see what this has
0:44:29
what's interesting
0:44:31
any uh geckdev says
0:44:36
this is like chords all over again
0:44:38
the lambda is failing
0:44:41
500 error
0:44:44
any
0:44:45
anyway why are you click
0:44:48
click opsing in the models when you you
0:44:51
are using sam
0:44:54
those are a few separate comments
0:44:58
i'll probably have to have a look at
0:45:00
that
0:45:01
so
0:45:02
just
0:45:06
[Music]
0:45:14
uh so um
0:45:27
um so i'm just following this guy
0:45:29
because he's
0:45:30
same uh he experienced same thing
0:45:34
and apparently what this solution is
0:45:37
that
0:45:39
we need to add the response method
0:45:43
um
0:45:44
method response 200 which i
0:45:47
just did
0:45:49
so i'm just following this guy i don't
0:45:52
even know
0:45:53
if it would work or
0:45:55
why it would work if it would work
0:45:59
so yeah
0:46:05
so let's
0:46:07
do that again
0:46:08
api with that one
0:46:27
come on baby come on
0:46:29
[Music]
0:46:33
okay
0:46:41
i just simulate you with service
0:46:44
frameworks you can simply follow the
0:46:45
list every so much you find jpm
0:46:49
click on my response and method 200
0:46:52
response here with testing i just did
0:46:54
that
0:46:59
[Laughter]
0:47:00
[Music]
0:47:04
what did he say now he said
0:47:07
he said
0:47:08
basically he said since
0:47:11
um since you
0:47:13
follow anything you read in there
0:47:16
um he's gonna send you
0:47:19
a stack overflow link to install a
0:47:22
bitcoin miner i'm assuming for aws
0:47:31
i think it would yeah like you know like
0:47:33
okay i see what you mean yeah yeah like
0:47:35
malicious malicious yeah oh okay yeah
0:47:39
yeah he asked what happened
0:47:41
he said what happened to reading the
0:47:43
cloud watch logs
0:47:46
so in that one it's actually saying
0:47:50
this as in
0:47:52
no match for output mapping
0:47:55
and no d4 album mapping configured
0:47:58
so i'm just trying to find
0:48:00
huh where
0:48:02
is this happening
0:48:05
no this is by the way coming from the
0:48:08
api not from the lambda
0:48:11
apparently
0:48:13
api gateway
0:48:14
is the lambda airing too
0:48:17
that that's probably not being triggered
0:48:20
because
0:48:21
lambda is behind uh
0:48:24
api gateway
0:48:26
so api so it's not even
0:48:29
it's not even executing the lambda
0:48:32
no because
0:48:34
the api gateway
0:48:36
once the request passes then it would
0:48:39
access the lambda but request isn't
0:48:42
passing the api at the moment gotcha
0:48:47
um what's can you can you
0:48:49
uh show me the error again i'll search
0:48:51
for it zane
0:48:53
um is this internal server error no i
0:48:56
mean the one in the cloud watch oh yeah
0:49:00
it's no match
0:49:03
i'll copy and paste into private chat
0:49:07
okay don't get it from there
0:49:10
yeah i learned my lesson
0:49:12
thanks
0:49:13
get there
0:49:15
don't just follow anything
0:49:17
you read read first and check if it's
0:49:21
relevant and if you even make sense
0:49:26
gotcha
0:49:28
um
0:49:29
api gateway
0:49:41
uh
0:49:42
microservices no
0:49:45
integration response is not created
0:49:49
yeah api get ready execution but yeah
0:49:54
excuse me journal currently this museum
0:50:02
does that api gateway endpoint have
0:50:04
cores
0:50:12
um i'd love to check
0:50:14
[Music]
0:50:18
yes it has cause so it's enabled
0:50:30
oh hang on a minute
0:50:34
if that that's a full sq
0:50:37
okay yeah
0:50:39
that's fine ignore me
0:50:42
and
0:50:42
yes it's called cause enabled
0:50:46
integration responses
0:50:49
[Music]
0:50:53
object dev says any equals every method
0:50:58
if you do that you need to explicitly
0:51:01
handle cores in code
0:51:09
all right
0:51:12
i think we
0:51:14
already are
0:51:17
in express
0:51:19
but not
0:51:20
in the
0:51:22
websocket lambda
0:51:24
so here's our course options
0:51:31
inaction
0:51:33
um jackdev says any equals get post put
0:51:37
delete yeah
0:51:38
options
0:51:39
yeah
0:51:43
true
0:51:51
so
0:51:52
what would this have to do with
0:51:55
[Music]
0:51:58
with
0:52:00
um
0:52:05
the
0:52:05
websocket as in the lambda then
0:52:09
that needs to be triggered by the
0:52:11
websocket
0:52:27
any more notifications right now
0:52:33
mapping templates
0:52:36
um gekkov says just use post
0:52:39
and if and get if you need it not any
0:52:43
then add cores api gateway can handle
0:52:46
course options for you
0:52:55
right
0:52:59
so just use
0:53:02
post and no any
0:53:04
in there yeah that's what he said
0:53:07
okay uh and not any
0:53:11
okay or or have cores or ha or star or
0:53:15
have code handle options like your
0:53:18
express app
0:53:22
so
0:53:24
hang on a minute i guess this is saying
0:53:26
you have two two choices here
0:53:29
[Music]
0:53:30
then add calls no okay
0:53:35
um
0:53:41
[Music]
0:53:44
oh so
0:53:48
so
0:53:49
correct me if i'm wrong
0:53:51
that
0:53:52
basically this is happening because we
0:53:54
are handling calls on both sides as in
0:53:56
in the app
0:53:58
and
0:53:59
from api gateway
0:54:04
but they
0:54:05
need to be added on one side so
0:54:09
you're you're wrong
0:54:14
there's no explanation
0:54:19
can we have some explanations
0:54:25
just
0:54:28
you're wrong there you go
0:54:34
oh man
0:54:36
i'm not gonna be able to sleep tonight
0:54:38
properly he said all apis on the server
0:54:41
need to handle cores if they are called
0:54:44
from a browser
0:54:51
okay yeah that would be
0:54:56
understandable
0:55:02
including your crappy
0:55:05
in separate websocket api
0:55:12
so
0:55:13
basically
0:55:15
if we are doing it from the terminal
0:55:19
it doesn't need to handle calls
0:55:22
because it's from the terminal
0:55:24
but it's from the
0:55:26
browser then
0:55:27
we need to make sure cause in it
0:55:31
am right
0:55:36
node node
0:55:39
yeah
0:55:45
the the browser is what handles cores
0:55:48
for the client right yeah
0:55:50
yeah i don't i don't know that much
0:55:51
about cores but
0:55:53
me neither
0:55:56
i think i think i've done it
0:55:58
i've set up
0:55:59
like a express app once
0:56:04
websockey has been called from the
0:56:05
browser though
0:56:09
the websocket is being called from the
0:56:11
browser
0:56:16
yes and that's the ultimate goal that
0:56:19
we're gonna call the
0:56:21
websocket from the browser we
0:56:25
then connect
0:56:27
it's then connected from the browser
0:56:31
yeah yeah that's right
0:56:35
agree
0:56:41
there's
0:56:42
one time gonna come when gag dev says i
0:56:46
know i don't need to
0:56:48
agree with me i know i'm right
0:56:54
the connect is from the browser
0:57:05
oh hang on how about if we do what we
0:57:08
are trying to do at the moment from the
0:57:11
from the browser not the terminal
0:57:14
you mean the other
0:57:15
the web app
0:57:17
taiwan
0:57:19
um your endpoint
0:57:22
thing
0:57:23
the pi
0:57:24
oh whatever yeah
0:57:26
i'm thinking that because that's gonna
0:57:30
be from the browser
0:57:35
oh
0:57:35
wow this these are brand new concepts
0:57:39
man all right let's try that one out
0:57:43
what i don't understand is why the why
0:57:47
the i mean i
0:57:49
i saw other
0:57:52
um
0:57:55
tutorials like the documentation
0:57:58
setting up the
0:58:00
the chat app like pretty quickly
0:58:03
yeah with the with the with the terminal
0:58:06
app
0:58:08
right but when they were um
0:58:12
i mean but yeah you have a different
0:58:13
back end with stuff so yeah
0:58:16
gotcha
0:58:22
okay
0:58:27
to be honest i'm gonna
0:58:29
go to sleep
0:58:31
[Music]
0:58:35
i've had it enough
0:58:37
you've had enough
0:58:38
website
0:58:40
yeah i've had it enough
0:58:42
being stuck on this point it's
0:58:45
been what
0:58:47
couple days yeah a week now yeah
0:58:50
yeah
0:58:51
there's no no happening on my watch
0:58:55
all right i'll work on this one
0:58:59
sorry zayn
0:59:02
why are you being sorry for money
0:59:04
you look strong
0:59:09
[Laughter]
0:59:17
how is it now
0:59:19
oh yeah it looks you don't like straps
0:59:20
at all now
0:59:26
[Music]
0:59:28
you need a haircut yep i will go and get
0:59:31
one as soon as i get paid objective
0:59:34
go to symbol
0:59:36
you need you need to get paid to see the
0:59:38
barber
0:59:40
wow engineering likes
0:59:42
they don't pay you much
0:59:45
[Laughter]
0:59:57
probably get a few haircuts a week on
0:59:59
that salary oh yeah for sure oh sure
1:00:05
all right guys
1:00:08
tuning in
1:00:10
i think it's tourist time to
1:00:12
pay attention to the
1:00:14
doggy dog now
1:00:17
um
1:00:20
yeah guys i've been a pleasure having
1:00:22
you all um
1:00:23
i will be working on this
1:00:26
problem um
1:00:28
more i'll hopefully get sorted before
1:00:32
monday because it's just taking a bit
1:00:34
too long i wasn't really expecting
1:00:38
this
1:00:39
many days on this project but yeah it's
1:00:42
looking very very close so
1:00:45
um
1:00:46
yeah thanks for tuning in
1:00:48
uh why are you doing websockets at all
1:00:53
yes jack def so it's uh isn't needed
1:00:58
because we want
1:01:00
the board
1:01:01
to be interacted by
1:01:03
multiple users simultaneously
1:01:08
so that is the reason why it needs to be
1:01:11
included in the mvp
1:01:13
for sure
1:01:14
just pull an app
1:01:17
pull an api
1:01:18
you don't need web sockets
1:01:22
wow okay no i don't know no so wow okay
1:01:27
um
1:01:28
some don't even talk the same
1:01:30
functionality
1:01:32
all right
1:01:33
is it
1:01:34
may ask active is is it a websocks is
1:01:38
overkill oh okay
1:01:43
why isn't overkill i'm really curious
1:01:47
because i thought this was the
1:01:50
best solution
1:01:57
watch him he's not going to answer
1:02:00
anyway he's going to come up with
1:02:02
something really unique
1:02:07
polling is simple could be done two
1:02:09
weeks ago
1:02:12
really well
1:02:14
i learned okay
1:02:15
i would have gone with the websockets
1:02:17
like right away
1:02:18
right right yeah okay so
1:02:21
websockets first i'm gonna make sure
1:02:24
that that's working maximum by monday
1:02:27
and then
1:02:28
once this part is done we're gonna back
1:02:32
um off
1:02:33
to the mvp we're gonna go back to
1:02:37
polling and learn that one as well
1:02:39
just yeah yeah cool
1:02:42
all right guys um
1:02:44
thanks long jack there for all the vet
1:02:46
very valuable tips we really appreciate
1:02:49
you
1:02:50
guiding us as well and then shed tuning
1:02:53
back in tomorrow guys to see the
1:02:57
continual episode in which we try our
1:03:00
best to make this part working with
1:03:02
websocket
1:03:04
so yeah it will be same place same time
1:03:07
and
1:03:09
same task here we go
1:03:12
have a good night guys cheers bye
1:03:14
have a good night thanks