CloudFoundations - 08b - Databases - Dynamo DB, Redshift, Aurora
CloudFoundations - 08b - Databases - Dynamo DB, Redshift, Aurora
CloudFoundations - 08b - Databases - Dynamo DB, Redshift, Aurora
Module objectives
2
Module 8: Databases
4
What is Amazon DynamoDB?
• DynamoDB supports two different kinds of primary keys: Partition key and
partition and sort key
6
Partitioning
7
Items in a table must have a key
8
Amazon DynamoDB:
Section 2 key • Runs exclusively on SSDs.
takeaways • Supports document and key-value store models.
• Replicates your tables automatically across your
choice of AWS Regions.
• Works well for mobile, web, gaming, adtech, and
Internet of Things (IoT) applications.
• Is accessible via the console, the AWS CLI, and API
calls.
• Provides consistent, single-digit millisecond latency
at any scale.
• Has no limits on table size or throughput.
9
Module 8: Databases
Amazon Redshift
11
Introduction to Amazon Redshift
12
Parallel processing architecture
Amazon Redshift
DC Leader node
DC
Dense compute
node DC DC DC Dense compute nodes
• Virtual Core
• RAM
• Local disk Amazon DynamoDB
Amazon S3
13
Automation and scaling
Manage
Monitor
Scale
14
Compatibility
15
Amazon Redshift use cases
• Big data
• Low price point for small customers
• Managed service for ease of deployment and maintenance
• Focus more on data and less on database management
16
Amazon Redshift use cases 2
17
Amazon Redshift features:
Section 3 key
• Fast, fully managed data warehouse
takeaways service
• Easily scale with no downtime
• Columnar storage and parallel
processing architectures
• Automatically and continuously
monitors cluster
• Encryption is built in
18
Module 8: Databases
20
Amazon Aurora service benefits
21
High availability
22
Resilient design
23
Amazon Aurora features:
Section 4 key
• High performance and scalability
takeaways
• High availability and durability
• Multiple levels of security
• Compatible with MySQL and
PostgreSQL
• Fully managed
24
The right tool for the right job
Fast and flexible NoSQL database service for any scale Amazon DynamoDB
AWS Cloud
??? Metadata database
???
Configuration
Corporate
data center
database
26
Database case study activity 2
Case 2: A commercial shipping company that uses an on-premises legacy data management system. They must migrate
to a serverless ecosystem while they continue to use their existing database system, which is based on Oracle. They are
also in the process of decomposing their highly structured relational data into semistructured data. The following
diagram illustrates their architecture.
Database
???
AWS AppSync
AWS Lambda AWS Lambda
27
Database case study activity 3
Case 3: An online payment processing company that processes over1 million transactions per day. They must provide
services to ecommerce customers who offer flash sales (sales that offer greatly reduced prices for a limited time), where
demand can increase by 30 times in a short time period. They use IAM and AWS KMS to authenticate transactions with
financial institutions. They need high throughput for these peak loads. The following diagram illustrates their
architecture.
AWS Cloud
Database
??? AWS Identity and Access
Management (IAM)
Elastic Load Balancing
Internet
Banks
AWS SDK
AWS Key Management
Read replicas Service (AWS KMS)
Amazon EC2
instances
28
Module 8: Databases
Module wrap-up
Module summary
30
Complete the knowledge check
31
Sample exam question
32
Additional resources
33