AcademyCloudFoundations Module 08
AcademyCloudFoundations Module 08
Module 8: Databases
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Module overview
Topics Lab
• Amazon Relational Database • Lab 5: Build Your DB Server and
Service (Amazon RDS) Interact with Your DB Using an
• Amazon DynamoDB App
• Amazon Redshift Activity
• Amazon Aurora • Database case studies
Demos
• Amazon RDS console
• Amazon DynamoDB console
Knowledge check
© 2019 Amazon Web Services, Inc. or its Affiliates. All rights
2
reserved.
Module objectives
Amazon Relational
Database Service (Amazon
RDS)
© 2019 Amazon Web Services, Inc. or its Affiliates. All rights
5
reserved.
Unmanaged versus managed
services
Unmanaged Managed:
:
Scaling, fault tolerance, Scaling, fault tolerance,
and availability are and availability are
managed by you. typically built in to the
service.
AWS Cloud
Users Application
Servers Amazon RDS
You manage:
• Application optimization
AWS manages:
• OS installation and patches
• Database software installation and patches
• Database backups
• High availability
• Scaling
Amazon RDS
• Power and racking and stacking servers
• Server maintenance
© 2019 Amazon Web Services, Inc. or its Affiliates. All rights
10
reserved.
Amazon RDS DB instances
Amazon RDS
=
MySQL
M
• Memory Microsoft SQL Server
• Network performance
PostgreSQL
Amazon RDS DB DB Instance Storage
main instance MariaDB
• Magnetic
• General Purpose (solid state drive, or SSD)
• Provisioned IOPS Oracle
DB engines
VPC
Public subnet
Internet
Users gateway Amazon EC2
Private subnet
Amazon RDS
VPC
Public subnet
M Synchronous S
Amazon RDS
RDS Standby
instance
instance
VPC
Public subnet
M Synchronous S
Amazon RDS
RDS Standby
instance
instance
High throughput
Web and mobile
Massive storage scalability
applications
High availability
Low-cost database
Ecommerce applications Data security
Fully managed solution
Database characteristics –
• Physical capacity of database:
• Engine
• Size
• Memory class
DB purchase type –
• On-Demand Instances
• Compute capacity by the hour
• Reserved Instances
• Low, one-time, upfront payment for database instances that are
reserved with a 1-year or 3-year term
Number of DB instances –
• Provision multiple DB instances to handle peak loads
Provisioned storage –
• No charge
• Backup storage of up to 100 percent of database storage for an
active database
• Charge (GB/month)
• Backup storage for terminated DB instances
Additional storage –
• Charge (GB/month)
• Backup storage in addition to provisioned storage
Data transfer –
• No charge for inbound data transfer
• Tiered charges for outbound data transfer
© 2019 Amazon Web Services, Inc. or its Affiliates. All rights
21
reserved.
Build Your DB
Server and
Interact with
Your DB Using
an App
Security group
Create a VPC security group.
AWS Cloud
Availability Zone A Availability Zone B
VPC: 10.0.0.0/16
Public subnet 1: Public subnet 2:
Internet 10.0.1.0/24 10.0.2.0/24
Security group
NAT Web
Internet
gateway gateway Server
• Scalable read/write
© 2019 Amazon Web Services, Inc. or its Affiliates. All rights 32
reserved.
Amazon DynamoDB core
components
• Tables, items, and attributes are the core DynamoDB
components
Amazon Redshift
Amazon Redshift
Leader node
Dense compute
node Dense compute
nodes
• Virtual Core
• RAM
• Local disk Amazon DynamoDB
Amazon S3
Manage
Monitor
Scale
• 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
PostgreSQL
AWS Cloud
??? Metadata
??? database
Configuratio
Corporate n
data database
center
Amazon EC2 Amazon Simple Amazon Simple
Storage Service Storage Service
(Amazon S3) Glacier
Database
???
AWS AppSync
AWS Lambda AWS Lambda
Database
??? AWS Identity and
Access Management
Elastic Load (IAM)
Internet Balancing
Banks
AWS SDK
AWS Key
Amazon EC2 Read replicas Management Service
(AWS KMS)
instances
© 2019 Amazon Web Services, Inc. or its Affiliates. All rights
57
reserved.
Module 8: Databases
Module wrap-up
© 2019 Amazon Web Services, Inc. or its Affiliates. All rights reserved. 61
Additional resources
© 2019 Amazon Web Services, Inc. or its affiliates. All rights reserved. This work may not be reproduced or redistributed, in whole or in part, without prior
written permission from Amazon Web Services, Inc. Commercial copying, lending, or selling is prohibited. Corrections or feedback on the course, please email
us at: [email protected]. For all other questions, contact us at: https://aws.amazon.com/contact-us/aws-training/. All trademarks are the
property of their owners.