Amazon DynamoDB - A Crash Course (Demos Included)
HTML-код
- Опубликовано: 6 июл 2024
- ⭐️ Course Content
⌨️ (00:00) Introduction
⌨️ (09:06) DynamoDB Database Design
⌨️ (34:41) DynamoDB Database Design - Demos with JavaScript SDK
⌨️ (49:33) Modeling Many-to-Many relationships with Inverted Indexes (with Demos)
⌨️ (1:02:50) DynamoDB GSI Overloading (with Demos)
🚀 Join my "The Complete Guide to Build Serverless Applications on AWS" course here👇
www.udemy.com/course/building...
★ Links & Resources ★
How to install AWS CLI
docs.aws.amazon.com/cli/lates...
★ Recommended tool ★
Use Dynobase to accelerate your AWS DynamoDB workflow:
bit.ly/3C7CzuP
Welcome to my channel on AWS Cloud Computing. I create videos on serverless architectures, containerization technologies, cloud-native databases, machine learning services, web and mobile development, and AWS Certifications.
★ AWS Crash Courses ★
AWS Fargate Crash Course
• AWS Fargate - Running ...
AWS AppSync Crash Course
• AWS AppSync - Crash Co...
AWS DynamoDB Crash Course
• Amazon DynamoDB - A Cr...
AWS LEX - Build & Deploy Chatbots Crash Course
• AWS LEX - Build & Depl...
AWS IAM Crash Course
• AWS IAM - Crash Course...
AWS VPC Crash Course
• AWS VPC - A Crash Cour...
💖 Become a Patron: Show Support 💖
/ cloudtutorials
★ Recommended playlists ★
AWS Cloud Workshop ✅
• AWS Workshop
Artificial Intelligence and Machine Learning ✅
• AWS AI & ML
Building a complete app with AWS Amplify ✅
• AWS Amplify
Building an E-Commerce Application with AWS ✅
• Web & Mobile Apps with...
AWS AppSync Series ✅
• AWS AppSync
Building intelligent chatbot series ✅
• AWS Lex Chatbots
Containers on AWS ✅
• Containers on AWS
Serverless Application Development ✅
• Serverless Applications
Blog - enlear.academy
#AWS #DynamoDB #CrashCourse #Tutorial #Example #Code #Demo #Complete #Enlear
Thanks for watching! If you like this content we need your support to grow our channel. Please subscribe and share it with your friends. If you have any suggestions, please share with us too 🙂
Ты супер круто обьясняешь. Ты просто находка. Я из Казахстана
quite good
underrated channel, deserves alot more views. No fluff, to the point, decent pace. Keep on adding more crash courses on all services. Thank you !
I am preparing for my system design interview, and trying to understand how NoSQL databases work. This video is of great help! A couple of points:
- You keep alternating between "partition key" and "primary key". I have suspicion that "PK" always means "partition key" in this context
- There is probably a typo on the slide around the 25:00 mark, I think it should say ORG#org-id#EMP#emp-id in the bottom right corner. Typos in the educational videos are much worse than regular typos, as the viewer does not have enough context to figure out whether it's a typo, or they simply don't understand the material
Wow! I have been struggling with DynamoDB modeling for weeks and for the first time I was a to find your channel with such a simple and concise explanation about the topic. AMAZING! Keep up the great work and thanks a lot for sharing your knowledge with us.
Thank you so much for the kind words Luiz
Thank you! This is such a good video. I really appreciate the effort that you made to put this video for free on internet when everyone is just trying to sell courses.
There were some concepts which I wanted to understand for so long and they just got covered here.
Excellent course design , you have explained so nicely. I am glad that found your video channel.
Thank you so much.. This is best video on dynamodb on the net. To the point, nice flow, easy to terrain in memory
Great presentation! Initial design steps were very useful and worth memorizing. Thanks.
thanks, very well explained, this is what I searched for since a longtime, I have also a multitenant database for events / ticketing system
Thanks! Great sample on how to map relational data to single NoSQL table.
This is the best Dynamo Db tutorial.
Great tutorial, taught extremely well. Congratulations and Thanks.
Great Presentation. A hidden gem. Thanks a lot for sharing this knowledges.
Thank you for uncluttered way of explaining the topics. As many users said, it’s underrated unfortunately. Kudos to all the efforts. I will subscribe to your udemy and help you in my own way to continue what you doing.
Thank you very much Krishnaraj! Much appreciated.
Incredible content!
Awesome course. Thanks @manoj.
very detailed explanation of DynamoDB with demo..easy to understand
I was really looking forward to the appsync series which is terminated midway! And nice crash course!
Excellent video! Thank you for sharing
Great Tutorial . Thank You !!
Fantastic Course. Thank you @Manoj
Great tutorial, really professional, and easy to follow!
You may want to annotate an error I found here: ruclips.net/video/OfZgHXsYqNE/видео.html about inverting indexes because I do not feel the `Project-Employee-Index` are accurate. PK should refer to "#ORG#org-id#EMP#emp-id" and SK should refer to "#ORG#org-id#PRO#project-id", what do you think?
Thank you so much for this video! It helped a lot
Thank you for the video! still relavant in 2023
most helpful!!
Best explanation. Just amazing. Thank You for the videoes
You're very welcome!
Let's up this channel it's deserve more subscribers
Impressive!
very good, thanks
At 26:10, there seems to be typo in GSI Partition Key (PK) (& possibly in GSI Sort Key).
It should be ORG##EMP# (and possibly GSI Sort Key (SK) should be ORG##PRO#). Or have I missed something?
Great!
Well explained! Thank You!
Great video, Explains well, @ 28:10 - slide - Identify Secondary index - What will happen if in one oraganisation there are 2 employees with same name. ex. PK=ORG#123 and SK=EMP#John Smith (as there could be 2 John Smith in one Org.
keep in mind, PK and SK can not be changed once it created and also while creating a table be aware of reserved keys, those will affects to querying the table data in the future
Awesome Thank you so much
You are very welcome
Thanks Manoj....Great Explanation! Can we achieve the same though AppSync schemas? since each Type creates a table there
thanks a lot for very very good tutorial.
Glad it was helpful Plabon!
Thanks lot
Thanks for video! I wanted to know can we do data masking for PII data in dynamo DB? If yes, how can we do it?
Great
Thanks Enlear, great content! I have a issue, how to find all orgs? Scan?
Can you please tell me what are the professional issue relevant to code of
conduct in DynamoDb ?
While deciding PK and SK for Projects and Employees, why did we not use org-id in the SK as well? Isn't it possible that two organisations org-id map to the same partition? And if it is possible, how will we be able to bifurcate between two organisations in the same partition?
can we use single table data modeling for Graph QL ? If you can make some video using amplify, graphql using dynamo DB modeling so it would be really helpful.
Everywhere you're assuming IDs will be available for you to query the data. In reality, you mostly work with email. A user logs in with their email, you query Dynamo to get the user item and from then point on you have access to org id, project ID and so on.
Keep in mind that petition-key and sort-key cannot be modified. According to the example, you cannot easily change a project type in the sort-key. So put attributes into the sort-key requires careful plan.
interesting.. well how to find an organization by name as the GSI index PK is org_id itself.. ?
Actually i am new in could
Please can you tell Which language you used to write code for dynamoDB ?
Can we use python for same purpose as well ?
Why do you want to duplicate data. As if that is correct? If indexes ate correct then rdbms also performs very good
Hello, kindly help me out, I am following this tutorial and I got stock after execution the first command. I got 'getaddrinfo ENOTFOUND dynamodb.us-east'. Thanks
Can link me AWS crach course complete in one go for data analytics
thanks sir good explanation
Can I use dynamo dB in my node project as I am using Mongo now please tell me and which one is better...
what did u use finally ?
Can we get code you used in this example ?
Good content. Can you share the nodejs code.
Hi sir. Good effort.
Do u mind fixing slide @ 26:28.
Gsi pk and sk have typo for project id and emp id.
26:07 GSI - SK of the table will be the PK and vice-versa
@@anandgaddamu
In the slides
------------------------+--------------------------------+-------------------------------+
GSI Name | GSI Partition Key(PK) | GSI Sort Key (SK) |
------------------------+--------------------------------+-------------------------------+
Project-Employee-Index | ORG#EMP# | ORG##ORG# |
------------------------+--------------------------------+-------------------------------+
Requested correction :-)
------------------------+--------------------------------+-------------------------------+
GSI Name | GSI Partition Key(PK) | GSI Sort Key (SK) |
------------------------+--------------------------------+-------------------------------+
Project-Employee-Index | ORG#EMP# | ORG##PRO# |
------------------------+--------------------------------+-------------------------------+
@@airesearch0844 looks everyone is copying same examples and same slides, hence same mistakes!!!
Great tutorial. However, coming from Firebase, DynamoDB feels very antiquated. It's not very reasuring to have to rely on haking primary keys to keep your data organized.
28:40 finding employees projects and organizations by name, in ur design they all require org id. Is there a way to search just on the name and without org id.
That doesn't make sense in a multi tenant project.
yeah, that's confused, since I already knew the org id, why do I still need to search that org by name? :)
Can we get copy of the source code?
is mongodb inside of ec2 instance a good idea??
Hi Jivan, if you are familiar with MongoDB clustering and internals it should be fine. But you will have to manage the cluster and operations including the updates, security & etc. Typically these costs are high long term so if you already have expertise internally I think it should be fine. Otherwise would recommend to go for a manage service.
@@EnlearAcademy what managed service to mongodb does aws provide(documentdb)but I have seen most api of mongodb not compatible for documentdb
@@jivanmainali1742 We use documentdb heavily. Almost all the features for mongodb are included and AWS keeps on adding new features. So far we didn't face any issue with docdb.
@@piby1802 If you give some suggestion on ec2 instance type for nodejs type application server
Dynamodb is so complex and has so many limitations that it is not a good option for anybody serious
Hi ArchiTECHt Vinit. I would like to hear more on your reasoning. There are different database offerings from AWS (Relational, Document & Graph) which suits different use cases.
@@EnlearAcademy with other databases you can create index on any field and search using that. With dynamo db only sorting key can be used. BTW, I am looking for a database to store chat messages of groups of a chatting app. There isn't any database optimised for this
confusing as hell
Tbh it is very confusing explanation and it shouldn't be. Also, you didn't explain what is what. You are saying ""we need to switch this ID to etc etc." and there are 2 IDs, which one do you mean? Please be more precise when you want to explain.