Professional Documents
Culture Documents
Tony Petrossian
GM Amazon Aurora
Amazon Web Services
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Aurora
Enterprise database at open source price
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Database layers
SQL
Transactions
Multiple layers
Caching of processing
Logging & Storage
all in a single
engine
Aurora decouples storage and query processing
SQL Database
Transactions node
Caching
Amazon Aurora Storage
Processing
Storage
nodes
Scale-out, distributed storage processing architecture
Purpose-built log-structured distributed Availability Zone 1 Availability Zone 2 Availability Zone 3
Instance nodes
storage system designed for databases
SQL SQL SQL
Transactions Transactions Transactions
Storage volume is striped across hundreds
of storage nodes distributed over 3 Caching Caching Caching
different Availability Zones
Storage nodes
Shared storage volume
Availability Zone to protect against AZ+1
failures
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Aurora: Why re-imagine the RDBMS
Customers
Aurora: Why re-imagine the RDBMS
Aurora: Why re-imagine the RDBMS
Database snapshots
Performance Availability
Highly secure Fully managed
and scalability and durability
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Aurora Global Database
Faster DR and enhanced data locality
Subsecond data
replication cross-Region
Aurora Global Database
Faster DR and enhanced data locality
Northern Virginia
(Secondary Region)
Inbound replication
Oregon Ohio
(Secondary Region) (Primary Region)
R R
R R
Storage
Ireland
Storage
Outbound replication (Secondary Region)
Inbound replication
High throughput: Up to 200K writes/sec R R
Low replica lag: < 1-sec cross-Region lag
Fast recovery: < 1-min. downtime after Region unavailability Storage
Dev/test
Create a copy of a database without applications
duplicate storage costs
• Creation of a clone is nearly instantaneous— Clone
we don’t copy data
Production
• Data copy happens only on write—when applications
original and cloned volume data differ Clone
https://aws.amazon.com/blogs/aws/amazon-aurora-fast-database-cloning/
Aurora Serverless for PostgreSQL and MySQL
Application
Request routers
DB storage
Challenges with integrating machine learning (ML) with
your database
Select and train the model
Select * from
user_feedback where
aws_comprehend.detect
_sentiment(review_text,
‘EN’)' = ‘POSITIVE'"
user_feedback
ID Feedback
1 Great product!
Good job
Mediocre
I didn’t like it
Loved it
Terrible service
50 Great service
Amazon RDS Proxy (preview)
Fully managed, highly available database proxy for Amazon RDS
RDS Database Deployed across multiple AZs and fails over without
Instance
losing a connection
RDS
Proxy
Integrates with AWS Secrets Manager and IAM
• Analyze and tune Database Performance • Database Load is determined by Average Active
• Available through AWS Management Console Sessions (AAS)
and AWS API SDK • Categorized data by Wait Events, SQL, Hosts,
• Set up alarms for key issues and Users
• SQL statistics for queries new!
SQL statistics in Aurora
Database Activity Streams
DAS architecture
AWS Cloud
Amazon Kinesis
Users Partner Database Alerts
Amazon RDS Security Apps
Database Instance
/Replica
Amazon Kinesis
Data Firehose
Aurora read scaling options
Read
Master
replica
Master Master
Amazon DynamoDB
Amazon DocumentDB
Amazon Redshift federated query (preview)
Visit aws.training
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you!
Tony Petrossian
tonypet@amazon.com
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.