AWS Quick Start
AWS Purpose-Built Database Strategy:
The Right Tool for The Right Job
Blair Layton, Business Development Manager, AWS, ASEAN
The Database Market is Changing
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Traditional Database Architecture
Client Tier
one database for
all workloads App/Web Tier
RDBMS
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Traditional Database Architecture
Client Tier
• key-value access
• complex queries
App/Web Tier
• transactions
• analytics
RDBMS
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Data categories and common use cases
Relational Key-value Document In-memory Graph Search Time-series Ledger
Referential Low-latency, Indexing and Microseconds Creating and Indexing and Collect, store, and Complete,
integrity, ACID key lookups storing latency, key-based navigating searching semi- process data immutable, and
transactions, with high documents with queries, and data relations structured logs sequenced by time verifiable history
schema- throughput and fast support for specialized data easily and quickly and data of all changes to
on-write ingestion query on any structures application data
of data attribute
Lift and shift, EMR, Real-time bidding, Content Leaderboards, Fraud detection, Product catalog, IoT applications, Systems
CRM, finance shopping cart, social management, real-time analytics, social networking, help and FAQs, event tracking of record, supply
personalization, caching recommendation full text chain, health
mobile engine care,
registrations,
financial
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Application Architecture is Changing
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Microservices at Amazon
Service-Oriented Architecture
(SOA)
Single-purpose
Connect only through APIs
Connect over HTTPS
“Microservices”
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Monolithic vs. SOA vs. Microservices
Monolithic SOA Microservices
Single Unit Coarse-grained Fine-grained
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Microservices…
Eliminates any long-term commitment to a technology stack
Polyglot ecosystem
Polyglot persistence
• Decompose Databases
• Database per microservice pattern
Allows easy use of Canary and Blue-Green deployments
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Purpose-Built Databases
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Our portfolio
Broad and deep portfolio, purpose-built for builders
Business Intelligence & Machine Learning
QuickSight SageMaker
Analytics Databases Blockchain
Aurora DynamoDB QLDB
Redshift EMR Athena MySQL, PostgreSQL Key value, Document Ledger Database
Managed
Data warehousing Hadoop + Spark Interactive analytics Blockchain
RDS ElastiCache Timestream
MySQL, PostgreSQL, MariaDB, Redis, Memcached Time Series
Oracle, SQL Server
Elasticsearch Service Kinesis Data Analytics Real Blockchain
Operational Analytics time Neptune DocumentDB Templates
RDS on VMware Graph Document
Data Lake
Lake Formation Glue
S3/Glacier Data Lakes ETL & Data Catalog
Data Movement
Database Migration Service | Snowball | Snowmobile | Kinesis Data Firehose | Kinesis Data Streams
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS: Purpose-built databases
Relational Key-value Document In-memory Graph Search Time-series Ledger
Amazon RDS Amazon Amazon Amazon Amazon Amazon
DynamoDB Amazon Amazon
DocumentDB ElastiCache Neptune Elasticsearch
Timestream Quantum
Service
Ledger
Aurora Community Commercial Database
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Relational Databases
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon RDS
Managed relational database service with a choice of popular database engines
Easy to administer Available & durable Highly scalable Fast & secure
No need to provision Automatic Multi-AZ Scale DB compute and storage SSD storage and
infrastructure, install, and data replication; with a few clicks; minimal guaranteed provisioned
maintain DB software automated backup, snapshots, downtime for your application I/O; data encryption at rest and
and failover in transit
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Aurora
MySQL and PostgreSQL compatible relational database built for the cloud
Performance and availability of commercial-grade databases at 1/10th the cost
Performance Availability Highly secure Fully managed
& scalability & durability Network isolation, Managed by RDS: no
encryption at hardware provisioning,
5x throughput of standard Fault-tolerant, self-healing
rest/transit software patching, setup,
MySQL and 3x of standard storage; six copies of data
configuration, or backups
PostgreSQL; scale-out up to across three AZs; continuous
15 read replicas backup to S3
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Aurora: Fastest Growing Service in AWS History
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Aurora Serverless
On-demand, auto-scaling database for applications with variable workloads
Starts up on demand, shuts down when not in use
Application
Database Endpoint Automatically scales with no instances to manage
Scalable Database Capacity Warm
(Compute + Memory) Capacity Pool Pay per second for the database capacity you use
Shared Distributed Storage
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Non-Relational Databases
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon DynamoDB
We needed to adapt to power Amazon.com
Needed to power
Amazon.com
Required massive scalability
and reliability
DynamoDB designed to meet
this need
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Many Applications Require Millisecond Latency at Any Scale
Example: Amazon Prime Day 2017
Biggest shopping event in
Amazon history
Thousands of Amazon teams
using DynamoDB
3.34 trillion requests
Peaked at 12.9 million
requests per second
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon DynamoDB
Fully-managed nonrelational database for any scale
Fully managed High performance Secure
Maintenance-free Fast, consistent performance Encryption at rest and transit
Serverless Virtually unlimited throughput Fine-grained access control
Auto scaling Virtually unlimited storage PCI, HIPAA, FIPS140-2 eligible
Backup and restore
Global tables
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
DynamoDB Global Tables
Build high-performance,
globally distributed
applications
Low latency reads and writes
to locally available tables
Multi-region redundancy
and resiliency
Easy to set up and
no application
rewrites required
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon ElastiCache
Fully-managed, Redis or Memcached compatible, low-latency, in-memory data
store
Extreme performance Fully managed Easily scalable
In-memory data store and cache AWS manages all hardware Read scaling with replicas
for sub-millisecond response times and software setup, Write and memory scaling
configuration, monitoring with sharding
Non-disruptive scaling
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Graph Use Cases
Social news feed Recommendations Retail fraud detection
Uses Email Uses
address
Purchased Knows
Like Like Paid Paid
Purchased
Use Connect with with
People Known Credit
who also Product Knows fraud card
follow sports
Friends purchased…
Approve
Purchased purchase?
Play Read Do you
know…
Check in
Follows Paid with
Follows
Credit Purchased
Product
card
Sport
Follows
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Challenges Building Apps with Highly-Connected Data
Relational databases Existing graph databases
Unnatural for Inefficient graph Rigid schema Difficult to scale Difficult to Too expensive Limited support
querying graph processing inflexible for maintain high for open
changing graphs availability standards
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Neptune
Fully managed graph database
Gremlin
SPARQL
Open Fast & scalable Reliable Easy
Supports Apache TinkerPop and Store billions of relationships; Six replicas of your data across Build powerful queries
W3C RDF graph models query with millisecond latency three AZs with full backup and easily with Gremlin and SPARQL
restore
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon DocumentDB
Fast, scalable, and fully managed MongoDB-compatible database service
Fast Scalable Fully managed MongoDB compatible
Millions of requests per second Separation of compute and Managed by AWS: Compatible with MongoDB 3.6;
with millisecond latency; twice the storage enables both layers to no hardware provisioning; auto use the same SDKs, tools, and
throughput of MongoDB scale independently; scale out patching, quick setup, secure, applications with Amazon
to 15 read replicas in minutes and automatic backups DocumentDB
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Database Migration Service
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Database Migration Service
Migrate between on-premises and AWS
Migrating
Databases to AWS Migrate between databases
100,000+ Automated schema conversion
Databases migrated
Data replication for zero-downtime migration
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
100,000+ Databases Migrated with DMS
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank You for Attending AWS Quick Start
We hope you found it interesting! A kind reminder to complete the survey.
Let us know what you thought of today’s event and how we can improve the event experience for
you in the future.
[email protected]
twitter.com/AWSCloud
facebook.com/AmazonWebServices
youtube.com/user/AmazonWebServices
slideshare.net/AmazonWebServices
twitch.tv/aws
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.