BeSA - Week 03 - Storage and Databases
BeSA - Week 03 - Storage and Databases
Understanding Storage
on AWS
Storage Types
Block Storage File Storage Object Storage
A Piece of Land An Apartment Storage Unit
Storage Types
Block Storage File Storage Object Storage
Unit of Transaction Blocks Files Objects (files with metadata)
Laptop Disk Windows Share OneDrive / Google Drive /
Dropbox
Example
Amazon EBS
Volume
• GP2 • io1
• GP3 • io2
• io2 Block Express
Amazon EFS
Amazon EFS Architecture
Region • Fully managed
VPC • Highly available and
AZ a AZ b AZ c
durable
Subnet Subnet Subnet • Dynamic elasticity
EC2 EC2 EC2 EC2 EC2 EC2 • Grow/Shrink
• Storage classes and
Mount Target Mount Target Mount Target lifecycle management
• NFS v4.0 and v4.1
• Can be accessed across
• VPC
Amazon EFS
• Regions
• Accounts
File system File system
fs- fs- • On-Prem
2ae32d1e 5be32d6f
Amazon FSx
Amazon FSx
• Use cases
• Home directories, Highly available Microsoft SQL Server deployments, Lift-and-shift Windows
applications
• Built on Windows Server
• integrates with your on-premises Microsoft Active Directory (AD) as well as with AWS Microsoft
Managed AD.
• Fully managed
• AWS manages updates and patches, failover and failback, backups
Amazon FSx for Windows Architecture
Region • Multi-AZ availability
VPC and durability
AZ a AZ b
• Can be accessed
across
Amazon FSx for • VPC
Windows File Server
• Regions
• Accounts
• On-Prem
Amazon Simple
Storage Service (S3)
Bucket and Objects
• S3 Name Space – Global Files (Objects) Objects
• Bucket – Regional
Folder
• Durability – 99.999999999 % (Bucket)
Bucket
• Availability – 99.9x %
S3 Pricing
• Max object size 5 terabytes Compute Number of requests
Storage Capacity used
• Can host a static website Network Data transfer out
S3 Features
$$$
$
$$
$$
$
$$$
City Center
S3 Glacier
• A storage service optimized for infrequently used data, or "cold data"
A C I D BA S E
Atomicity Consistency Isolation Durability Basically Available Soft state Eventual consistency
Transitions are all Only valid data Transactions do not Written data System does System may system will become
or nothing is saved affect each other won’t be lost guarantee availability change over time consistent over time
Databases on AWS
Databases on AWS – Relational DB – RDS
✓ Amazon Aurora
✓ MySQL
✓ Oracle,
✓ MS SQL Server
✓ PostgreSQL
✓ MariaDB
✓ IBM Db2
Databases on AWS – Non-Relational Databases
✓ Amazon DynamoDB
✓ Amazon ElastiCache
✓ Amazon Neptune
✓ Amazon Redshift
✓ Amazon Timestream
✓ Amazon QLDB
Databases on AWS – Summary
https://aws.amazon.com/products/databases/
Additional Resources
• Amazon Databases [Product Page]
• https://aws.amazon.com/products/databases/
• Getting started tutorials [Databases]
• https://aws.amazon.com/products/databases/learn/#Getting_started_tutorials
• Purpose-built databases on AWS
• https://aws.amazon.com/blogs/publicsector/purpose-built-databases-model-building-applications-cloud/
• AWS DynamoDB Features
• https://aws.amazon.com/dynamodb/features/
• AWS Purpose-built Databases workshop
• https://catalog.us-east-1.prod.workshops.aws/workshops/93f64257-52be-4c12-a95b-c0a1ff3b7e2b/en-
US
Questions?