Time
2 hours 49 minutes
Difficulty
Beginner
CEU/CPE
3

Video Transcription

00:00
Hello, everybody. And welcome to this lecture. And it's like, Sure, we're gonna be covering the introduction to eight of US data basis
00:07
and let's go ahead and dive right into it.
00:10
So databases and Amazon Cloud start with R. D s R DEA stands for relational database service.
00:19
It basically is going to handle SQL Server Oracle, my SQL Post grad ask you, Aurora and Maria de be Now many of you probably recognize a lot of these database types, one that stands out, that you may not recognize his Aurora
00:36
Aurora's actually AWS is baby product. When it comes to already. Yes, that is their proprietary alternative to some of the other more popular names, and they have their own separate pricing model. You don't need to know a whole lot about Aurora aside from the fact that it is it of, yes, this stuff.
00:56
But if you are interested, I will make sure to attach an Aurora
01:00
uh, f A Q link so you can read a little bit more information about their product. But this is basically what RGs is as a whole. So if you have any experience with relational databases, this, um, Artie s AWS already s is actually what the service would be called and that it's a service that handles
01:21
that relation. All databases in the cloud. So what is a relational database? Well, if you're not familiar with data basing, the best example that I could give you is a spreadsheet. Ah, if you're familiar with Microsoft Excel or Google Sheets, chances are you've created tables or at least seeing
01:40
tables, any of altered rose and looked at, you know, the columns and the data that's within it.
01:44
That's basically what a relational database is is basically just a large table with
01:49
lots of data within it within the rose on the columns that help you organize,
01:55
um, whatever type of data that you're trying to keep track of it could be for business reasons. It could be for personal reasons. It could be for personal finance or what have you. It's just the database type.
02:07
And when we're talking about relational databases, you know it goes from personal finance to, you know, where you're calculating dollars and subtracting dollars to actually holding. You know, the information behind a website or an application,
02:23
and they can grow to very massive size is We've been using relational databases for decades now, and, uh, as if lates, we've actually advanced those relational databases to the cloud. So there are two things that I want to talk about when it comes to Eight of us are D s, and that is multi ese and re replicas.
02:44
So
02:44
multi ese is actually the built in fail over backup system for the RGs databases. So
02:52
for those of you who are not familiar with data basing, imagine you have a website. It's a very big website. Let's say it's like Amazon and you have a ton of products and the products are the product information, the pricing, the shipping location from which warehouse they're gonna be shipped from so they can be sent over to your doorstep. All that stuff all these,
03:13
uh, intricacies with the transaction
03:15
are held within these many, many databases. And let's say
03:19
all of a sudden one of the databases fail.
03:22
Well,
03:23
multi easy, basically is going to say, OK,
03:27
one database just fell. We're gonna go ahead and switch over to the other database and another availability zone that is not failed. It's still running, We're good and we're going to stay on that one until the original one spends back up
03:44
essentially what multi ese does. It just keeps the data flowing. It keeps the application moving. That way. Your business doesn't lose money,
03:52
things. They're still available. You can still continue operating in your business.
03:55
Um, but that's what multi ese is. It basically just keeps things flowing, making sure that your organization isn't losing money and that the application is still able to access the data necessary in order to keep clients and customers happy.
04:11
Read replicas Air a little bit different from multi ese. They actually don't deal with data fail over like multi ese. Instead,
04:17
what they're going for is performance. So
04:21
you know you have your mean database and let's say you had an influx of traffic on your website. All of a sudden, that database is just getting hammered because everybody's on the website. They are just, you know, checking on all the products. Let's say it's like Black Friday or something like that.
04:39
That database is likely just gonna act super sluggish. It's just not gonna be able Thio send the data fast enough, and what happens is,
04:47
you know, the clients are gonna end up bleeding the website because it's just not working. They're gonna get frustrated. They're going to go somewhere else. And ultimately your organization loses money.
04:57
Well, we don't want that. So
04:59
where you could do is you can assign a read replica
05:01
and basically share that traffic so that not everybody's being
05:08
sent to the master database. In that master databases and being hammered instead
05:14
the the
05:15
The requirements on the databases are now being shared across two or three or multiple, and it's able to offer the amount of information necessary, and profit margins are still running.
05:30
The website, still running everything is, is doing much better, so it's is aiming for performance. It's optimizing the data performance by sharing the request, and there is no automatic fail over. But like I said, we're not really working. We're not really worried about fail over here. We're really worried about performance.
05:48
And so that's what Reed Replica
05:51
is going to dio for the certified cloud practitioner. You basically just need to understand the difference between multi ese and read replicas. Make sure you understand the difference is you probably will be asked a question or two on these these different components within our T s.
06:09
Make sure you d'oh memorize these two features of our DNC. There
06:14
is a good chance you will be asked questions on it in your exam.
06:18
So moving on, I want to talk about something that is not relation a land that is a
06:25
non relation all database. Uh, AWS the service is Dynamo Devi, actually, that that is their service that is their non relation all database service. And basically, it's another form of data basing kind of like R d s. It does have, you know, tables and cells and things like that.
06:45
However, it's a lot more scalable
06:47
that's operate differently. When you're adding information into a ah dynamodb or a non relation A ll database, you're actually adding in the form of Jason, which is actually beyond the scope of this exam. When you're moving on to the associate level exams, you will need to understand
07:06
how dynamo TV works a little bit more,
07:10
but a ce faras the CCP exam. Really. The only thing you need to understand is that dynamodb is the non relation all database service. If you are interested in learning more, I encourage you to go to AWS is Web site and read up on the service. The next component that I want to talk about for interview s data basing his Amazon red shift.
07:30
So
07:30
red shift contains two different components. You have only transaction processing, which is O L T P. And then you have online analytics processing, which is all a p. They are different.
07:41
Let's start off with online transactions processing first. So basically, the best way to think of oil T p
07:47
is
07:49
when you go to a large e commerce site like eBay or Amazon,
07:55
you're gonna enter in your information. And all of a sudden everything is there like you enter your password and your user name, and all of a sudden you're all your purchases, said you created your accounts are available to you so you can go on Dhe. Find out what you bought two years ago.
08:09
Ah, your credit card information is stored. Your addresses, they're all these. All these things were there for you.
08:16
And they're not all stored on one on one server. There's no way that's possible. First large e commerce site
08:22
to, you know, be able to service people across the world. You have to have many, many servers, probably hundreds of thousands of servers in order to handle. Ah, you know, customers of that scale. So
08:37
what data warehousing is gonna be doing is basically
08:41
taking the information from all these different servers from all these different places that are around the world
08:46
and aggregating it into one place, so that when you log in to your
08:52
portal when you log into your your eBay account or your Amazon account,
08:56
all your information's there.
08:58
It's not all stored on one server, but it is all being aggregated into one place for you. And that's kind of what well TP focuses on. It basically says, All right,
09:07
this user just logged in. Let's go ahead and get everything that we need and put it into the portal so that they can access it.
09:15
Online Analytics processing is a little bit different.
09:18
Basically, what it's gonna be doing is performing intense queries across multiple databases to provide very valuable information to the right people so they can make the right decisions.
09:28
A good example of this is, you know, every year around the holidays and United States, we have a beverage that's called the Pumpkin Spice lattes that you know, Starbucks and other popular coffee shops. They offer that
09:43
well, if these coffee shops, we're gonna be selling the product every year. One thing that the large conglomerates like Starbucks and Dunkin Donuts and other coffee shops they're gonna have to do is they're going to have to analyse which coffee shops last year ended up selling out which ones you know, we're not able to deliver on demands,
10:01
and they want to make sure that they are delivering
10:05
the right amount of products to those shops this year. Biggest chances are if last year there was such a demand, maybe this year there'll be even more for demands, or at least the same amount of demands.
10:16
That's something that online analytics process and can do is that it's going to just basically
10:22
calculate the pros and cons. It's gonna be calculating
10:26
all these different intricacies when it comes to the data
10:28
in order to make a profitable decision, and and ultimately this
10:33
benefits the company and it'll benefit Starbucks, and it'll benefit other coffee shops because
10:39
they're able to provide the supply for the demands and exceed that. If necessary,
10:46
so is usually used by management to perform these advanced queries. And I would encourage you to take a look
10:54
at the Amazon red shift. F ake us learn a little bit more about the service's. But as faras thes certified cloud practitioner, I would make sure that you understand what oh L t p stands for what it is and what Oh, l A P is as well.
11:11
And the last service that I want to talk about for Amazon rd s and
11:16
data basing is the last to cash. So, alas, the cash is a Web service that's gonna perform in memory cache in the cloud.
11:24
It's basically a service that provides performance for your web baths by cashing the frequently queried items and data. So what does that mean?
11:33
Let's say you're going to Amazon. We're gonna go back to that example. Let's say you're going to have a song and
11:39
you're checking the products. You know, there's the hot items, right? You go to the home page, you see frequently search for items,
11:46
and what you're seeing, actually, is
11:50
the cashing
11:52
of users in the area who searched for
11:56
these items and what they're doing is they're saying, Hey, 100 people in your city. We're searching for umbrellas,
12:03
so we're going to send this to us. Well, because chances are you might be interested in an umbrella.
12:09
And
12:11
this way we can optimize our server resource is because our resource is aren't being constantly pulled from thes air things that are constant search for based on your location.
12:22
And also we have a better chance of making a sale on a profit because
12:28
maybe it's raining a lot where you're located. So that's basically what a last the cash is doing. A last. The cash is basically going to provide the information that is frequently queried frequently access by you or by people in your region. And that way they can
12:46
save on the resource is of the servers and the two
12:50
offerings the to open source cash engines that, alas, the cashews. This is ma'am, cash, T and readiness. Basically, these are two things that you want to remember going in. Remember last. The cash is part of the data basing service, and the two open source cashing engines will be ma'am, cash, tea and read this.
13:09
Those
13:09
are likely to be on the exam. All right, everybody, that about finishes of this lecture? If you have any questions, please feel free to reach out to me. And if not, then I will see you in the next lecture.

Up Next

AWS Certified Cloud Practitioner

The AWS Certified Cloud Practitioner training course will prepare students to pass the related certification exam. In this course, students will learn the foundational principles of the AWS cloud platform to develop a solid understanding of the AWS cloud.

Instructed By

Instructor Profile Image
Nicolas Moy
Senior Cloud Security Engineer
Instructor