Create a Serverless Database - DynamoDB with the Serverless Framework

  Рет қаралды 19,002

Complete Coding - Master AWS Serverless

Complete Coding - Master AWS Serverless

Күн бұрын

Пікірлер: 58
@dasgoll
@dasgoll 5 жыл бұрын
Love your channel. Would love to see more videos on API Gateway. Keep up the good work :)
@CompleteCoding
@CompleteCoding 5 жыл бұрын
Thanks Jalal, The next video is on creating an API which works with your DynamoDB table. I could also add videos on adding other API Gateway features such mock responses, http proxy and security. They sound good?
@darshitgajjar5199
@darshitgajjar5199 3 жыл бұрын
You are a really great Teacher. keep it up sam!!
@CompleteCoding
@CompleteCoding 3 жыл бұрын
Thanks
@RaghulPrasadVenkatachalam
@RaghulPrasadVenkatachalam 3 жыл бұрын
You deserve more subs. Keep up the good work man.
@CompleteCoding
@CompleteCoding 3 жыл бұрын
Thanks Raghul. I will do!
@warrior-kas
@warrior-kas 4 жыл бұрын
Can you explain how to add already existing subdomain to apiendpoint .I tried by using serverless as explained by serveless website but invain as it throws exception and then i add manually using aws console by adding custom domain option
@CompleteCoding
@CompleteCoding 4 жыл бұрын
Great question. If you have your domain in Route 53 then you can use BasePathMapping in your serverless file. This allows you to forward all requests to a certain domain or subsdomain to your API Gateway endpoint. This could be api.freeserverlesscourse.com points to your API. It's a bit complex to teach in a comment so I'll add it to the video list.
@warrior-kas
@warrior-kas 4 жыл бұрын
@@CompleteCoding Thanks a ton if you could teach us how to add existing subdomain but remember the subdomain is in one account and the parent domain (main domain) is in other account e.g I have production account where i have main domain in route53 and dev account where i want to create subdomain for devapi's
@franciscosoria4838
@franciscosoria4838 5 жыл бұрын
Please, videos about kinesis with lambda and appsync (graphql). Thanks
@CompleteCoding
@CompleteCoding 4 жыл бұрын
I've created a series using Amplify which uses appsync under the hood.
@darknights5020
@darknights5020 2 жыл бұрын
Hi Sir, thank you for your videos they are so informative and to the point. I see that at 1:35 you used serverless-webpack, I would like to know how and why you used it? Secondly I tried to install serverless-webpack and got this error The webpack plugin could not find the configuration file at: C:\Users\devgoel\myServerlessProject\webpack.config.js I used this command to install webpack => npm install serverless-webpack --save-dev
@CompleteCoding
@CompleteCoding 2 жыл бұрын
At the time of creating the video, serverless webpack was the best way to bundle your code. This meant that instead of all of your src folder being uploaded to every lambda, webpack took just the files it needed. Packaging saves loads of upload data and also reduces cold starts. Now I use serverless-esbuild. It comes by default whenever you use a serverless template now. sls create --template aws-nodejs-typescript --path YOURPROJECTNAME
@darknights5020
@darknights5020 2 жыл бұрын
@@CompleteCoding thank you for your reply
@darknights5020
@darknights5020 2 жыл бұрын
@@CompleteCoding your videos are really knowledgeable and helpful
@rehansheikh4136
@rehansheikh4136 4 жыл бұрын
Would love to see tutorial on Lambda-DynamoDB database CRUD in Event Sourcing Architecture using AWS Kinesis
@CompleteCoding
@CompleteCoding 4 жыл бұрын
Have you looked into EventBridge? It's been designed specifically to work with event based architecture.
@rehansheikh4136
@rehansheikh4136 4 жыл бұрын
@@CompleteCoding no, I haven't. Will check it out. Thanks for the suggestion.
@gauravhalnawar3932
@gauravhalnawar3932 Жыл бұрын
Hello sam, can you please share all the VScode extentions during practise we get an indentation errors..
@CompleteCoding
@CompleteCoding 10 ай бұрын
If you press "CTRL + SHIFT + P" in VS Code that will open a command prompt. Type "indent" and select "indent using spaces" and the choose "2"
@johnnguyen1655
@johnnguyen1655 4 жыл бұрын
I copied code from github and get error: can not read a block mapping entry; a multiline key may not be an implicit key in "D:\Projects\HDVE\HDVEServerless\serverless.yml" (46:20) Does anyone know how to fix it?
@CompleteCoding
@CompleteCoding 3 жыл бұрын
Is your serverless yml file the same as this one? github.com/SamWSoftware/ServerlessKZbinSeries/blob/lesson5-dynamo/serverless.yml with Yml files, the indentation really matters. It might be something like that?
@Confusedcapybara8772
@Confusedcapybara8772 3 жыл бұрын
really like that your videos follow each other! Thank you so much
@CompleteCoding
@CompleteCoding 3 жыл бұрын
Thanks Christopher
@danielhalmstrand2123
@danielhalmstrand2123 2 жыл бұрын
Hello Sam, Thanks for a great tutorial with well presnted content. I tried to check the serverless page and follow your tutorial, which was great but sometime some fo the code you presnting has changed. It would be useful if you provide an update to these voideos with any update serverless has presented. It might sounds a lot of work for you but you are presnting a great tutorial. Thanks again for this great tutorial...
@CompleteCoding
@CompleteCoding 2 жыл бұрын
Unfortunately AWS updates regularly and Serverless just released a new version. I'm working on some new Serverless V3 content
@riazahmad5975
@riazahmad5975 2 жыл бұрын
Hello sir , please make vidoe that how to insert csv data to dynamodb in serverless framework using lambad in nodejs
@CompleteCoding
@CompleteCoding 2 жыл бұрын
Do you mean an API that you send an CSV file to which puts it into Dynamo? Or that you have a CSV on your computer that you want to add to Dynamo?
@jjmontgo2
@jjmontgo2 3 жыл бұрын
Why is the resources: label used twice? What can go directly under resources: other than Resources: ?
@CompleteCoding
@CompleteCoding 3 жыл бұрын
You can have "Outputs" in resources too. I'm not sure why they have to be nested in "resources", you'd have to ask someone from the serverless framework team
@ektakakadia2107
@ektakakadia2107 3 жыл бұрын
how did generate serverless.yaml file and why you didnt mention it?
@CompleteCoding
@CompleteCoding 3 жыл бұрын
This video is part of a series. I created the repo and the serverless.yml in a previous video kzbin.info/www/bejne/qZzYaoWomM5gqqc
@foodcouplelb
@foodcouplelb 4 жыл бұрын
love your channel!
@CompleteCoding
@CompleteCoding 4 жыл бұрын
Thank you so much!!
@gtanmoy
@gtanmoy 4 жыл бұрын
Please make a full blown web app using Amplify, AppSync, GraphQL (usage of Query - Mutations-Subscriptions etc), customize Resolver with some special features like sending SMS, Email and uploading files in S3. Also, It would be very helpful if you can make a front-end using Angular.
@CompleteCoding
@CompleteCoding 4 жыл бұрын
The Amplify and AppSync video is on the list.
@gtanmoy
@gtanmoy 4 жыл бұрын
@@CompleteCoding ok. Thanks
@gtanmoy
@gtanmoy 4 жыл бұрын
@@CompleteCoding Please provide the url
@privymassage3458
@privymassage3458 4 жыл бұрын
Hello Sam, still enjoying your easy to understand videos. Thank you once again. Just a quick question. In this video you show how to set up the primary key for your dynamo db table under resources in your yaml file. I note that the primary key is also the partion key. My question is; is there a way to set up sort key as well?
@CompleteCoding
@CompleteCoding 4 жыл бұрын
Yes there is. This leads onto a very interesting topic of table design. You can do some really cool stuff with sort keys that would work well for your multi game question in the other video. I'll be putting out a video soon but you can Google for dynamo table key design if you're interested
@skythelimitis202
@skythelimitis202 3 жыл бұрын
Why this guy is saying lying on the floor in the beginning? haha. Great lecture Thanks a bunch!
@CompleteCoding
@CompleteCoding 3 жыл бұрын
haha I've definitely upgraded by background a bit by now!
@cristianecheverria3995
@cristianecheverria3995 4 жыл бұрын
So far I'm loving your content... What about a tutorial of how use instead of DynamoDB a Relational DB with AWS Aurora DB? Because I'm concerned about the cost of having a LOT of data using DynamoDB, that's my only concern.
@CompleteCoding
@CompleteCoding 4 жыл бұрын
I've chosen Dynamo as it is far cheaper until you get to a pretty large scale. Doing a video on Aurora is going to be more expensive to follow along and try yourself. You would have to be storing a huge amount of data for dynamo to become prohibitively expensive. I have a table that has 28 million writes a month and it costs a total of about $16/month. If you are storing years worth of data then the storage costs could build up as the storage is $0.306/GB/month. The cheapest Aurora DB is $0.048/hr = $34.56/month for a db.t3.small.
@cristianecheverria3995
@cristianecheverria3995 4 жыл бұрын
@@CompleteCoding Oh wow.. That's amazing! Then problem solved. Thanks again!
@TheSimpGatsby
@TheSimpGatsby 2 жыл бұрын
please make a serie like this but with python, I really need that :( thanks bro
@CompleteCoding
@CompleteCoding 2 жыл бұрын
The serverless.yml would be exactly the same with Python. With the lambda code it should be relatively simple to 'translate' the code. You'll just use Boto3 instead of 'aws-sdk'
@TejaSwaroopArukoti
@TejaSwaroopArukoti 4 жыл бұрын
nice explanation :) Thank you.
@CompleteCoding
@CompleteCoding 4 жыл бұрын
My pleasure :)
@AmruAshik
@AmruAshik 4 жыл бұрын
hey could you please add episode number , so that its easy to find the next video . Thanks!!
@CompleteCoding
@CompleteCoding 4 жыл бұрын
This is part of a series with all the videos in order. Here's the link kzbin.info/aero/PLmexTtcbIn_gP8bpsUsHfv-58KsKPsGEo
@joaoricardi5000
@joaoricardi5000 3 жыл бұрын
Hi there, love your videos and channel!!!! Could u make a video about sis architecture and patterns ? Or how to create an qa/prod environments in a project ? tsk
@CompleteCoding
@CompleteCoding 3 жыл бұрын
I have one video on a sls architecture here kzbin.info/www/bejne/qoDQnptjequrh7s I'll hopefully be doing more of these in the future. I can definitely do some videos about environment management with Serverless projects. That's a great topic.
@1BestPahad
@1BestPahad 4 жыл бұрын
It will be very good if code editor background color is white
@CompleteCoding
@CompleteCoding 4 жыл бұрын
I'll have to do a poll to find out which people prefer. Great idea
@neosarchizo
@neosarchizo 4 жыл бұрын
Why did you input 'serverless-webpack'?? You didn't explain it.
@CompleteCoding
@CompleteCoding 4 жыл бұрын
I have a video that I recorded almost 6 months ago and forgot to upload. Here it is: kzbin.info/www/bejne/hGaZd6ecjc53aqM
@neosarchizo
@neosarchizo 4 жыл бұрын
@@CompleteCoding I'm sorry. Because I watch all your videos from oldest one so I didn't watch it yet. I will watch it later!
Create an API to get data from your DynamoDB Database
20:17
Complete Coding - Master AWS Serverless
Рет қаралды 23 М.
Adding New Data to your DynamoDB Database
14:45
Complete Coding - Master AWS Serverless
Рет қаралды 10 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Creating an API with Serverless - API Gateway and AWS Lambda
14:23
Complete Coding - Master AWS Serverless
Рет қаралды 31 М.
How to Query your DynamoDB tables with Serverless
21:00
Complete Coding - Master AWS Serverless
Рет қаралды 10 М.
This Minion Prince Army is TAKING OVER Clash of Clans
15:23
Aky16 Gaming
Рет қаралды 3,3 М.
Serverless Offline for testing on your local machine. Tutorial with DynamoDB
18:16
Complete Coding - Master AWS Serverless
Рет қаралды 35 М.
AWS Route53 CloudFront CertficateManager
15:00
Bryan Witkowski
Рет қаралды 19
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН