This document provides an overview of Amazon Aurora including:
- Aurora is a database service that provides the performance and availability of high-end commercial databases at a lower cost.
- It uses a distributed, fault-tolerant storage system across 3 Availability Zones for data durability.
- Aurora provides up to 5x better performance than MySQL and 3x better than PostgreSQL through optimized storage, caching, processing and parallelism.
- It offers high availability with zero downtime and the ability to survive the loss of up to 2 Availability Zones through 6 way data replication.
41. What if you could have a relational database that
• Starts up on demand, shuts down when not in use?
• Seamlessly scales with no servers to manage?
• Is billed per second for the database capacity you use?
• Is compatible with existing database applications?
Introducing Amazon Aurora Serverless
On-demand, automatically scaling database for applications with variable workloads
42. Aurora Serverless Use Cases
• Infrequently used applications (e.g., low-
volume blog site)
• Applications with variable load - peaks of
activity that are hard to predict (e.g.,
news site)
• Development or test databases not
needed on nights or weekends
44. DATABASE TRAFFIC
ROUTERS
Automatic Scaling Up and Down
• Aurora monitors the application
load on the database (CPU,
memory, connections)
• When scaling thresholds are
reached, instance auto-scales up or
down (usually under 5 seconds)
• Scaling operations are transparent
to the application
• You can configure minimum and
maximum capacity for scaling
DATABASE STORAGE
INSTANCE
WARM POOL
NEW
INSTANCE
APPLICATION
45. Automatic Pause and Resume
• If wanted, instances are
removed after a period of
inactivity
• While database is paused, you
only pay for storage
• A database request triggers
instance provisioning (usually
around 20 seconds)
• Applications don’t need to
know when database is paused
INSTANCE
DATABASE
STORAGE
APPLICATION
WARM POOL
DATABASE TRAFFIC ROUTERS
46. Aurora Serverless Pricing
• You pay for capacity your database consumes while it is active
• Database capacity is measured in Aurora Capacity Units
(ACUs)
• Flat rate per second of ACU usage, with a minimum of 5
minutes of usage each time the database is activated
• Storage and I/O are billed the same as with Aurora instances
49. AZ 1 AZ 3
Primary
Instance
AZ 2
Aurora
Replica
Aurora
Replica
ReplicationServer
ReplicationAgent
Aurora
Replica
(optional
)
Region 1: Primary Aurora Cluster Region 2: Read Replica Cluster
AZ 1
Async
.
REDO LOG FRM FILES
TYPE OF WRITE
Global Physical Replication
• Replication server streams redo logs and data pages from the primary instance to the replication agent.
• Replication agent applies the redo logs to the storage nodes and updates read replica buffer pool.
• Server/agent are responsible for restoring replication through page transfers in the event of network
interruptions – primary database remains unaffected.