comment choisir sa base de données dans le cloud...comment choisir sa base de données dans le...
TRANSCRIPT
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Comment choisir sa base de données dans le cloud
Purpose-built databasesThe right tool for the right job
Two fundamental areas of focus
“Lift and shift” existing
apps to the cloud
Quickly build new
apps in the cloud
“Lift and shift” existing apps to the cloud
“Lift and shift” existing
apps to the cloud
Quickly build new
apps in the cloud
Amazon Relational Database Service (RDS)
• Managed relational database service with a choice of six popular database engines
Easy to administer Available and durable Highly scalable Fast and secure
No need for infrastructure
provisioning, installing, and
maintaining DB software
Automatic Multi-AZ data
replication; automated backup,
snapshots, failover
Scale database compute
and storage with a few
clicks with no app
downtime
SSD storage and guaranteed
provisioned I/O; data
encryption at rest and in
transit
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
If you host your databases on-premises…
Power, HVAC, net
Rack & stack
Server maintenance
OS patches
DB s/w patches
Database backups
Scaling
High availability
DB s/w installs
OS installation
you
App optimization
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
If you choose Amazon RDS…
Power, HVAC, net
Rack & stack
Server maintenance
OS patches
DB s/w patches
Database backups
High availability
DB s/w installs
OS installation
Scaling
Power, HVAC, net
Rack & stack
Server maintenance
OS patches
DB s/w patches
Database backups
Scaling
High availability
DB s/w installs
OS installation
App optimization
you
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
and scalability
Availability
and durabilityHighly secure Fully managed
5x throughput of standard
MySQL and 3x of standard
PostgreSQL; scale-out up to
15 read replicas
Fault-tolerant, self-healing
storage; six copies of data
across three Availability Zones;
continuous backup to Amazon S3
Network isolation,
encryption at
rest/transit
Managed by RDS:
No hardware provisioning,
software patching, setup,
configuration, or backups
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Scale-out, distributed, multi-tenant architecture
Availability
Zone 1
Availability
Zone 2
Availability
Zone 3
Shared storage volume
Storage nodes with SSDs
Master
SQL
Transactions
Caching
• Purpose-built log-structured
distributed storage system
designed for databases
Replica Replica
SQL
Transactions
Caching
SQL
Transactions
Caching• Storage volume is striped across
hundreds of storage nodes
distributed over 3 different
Availability Zones
• Master and replicas all point to the
same storage
• Six copies of data, two copies in
each Availability Zone to protect
against AZ+1 failures
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Starts up on demand, shuts down when not in use
Automatically scales with no instances to manage
Pay per second for the database capacity you use
Aurora ServerlessOn-demand, auto-scaling database for applications with variable workloads
Warm Capacity
Pool
Application
Database Endpoint
Scalable Database Capacity
(Compute + Memory)
Shared Distributed Storage
Quickly build new apps in the cloud
“Lift and shift” existing
apps to the cloud
Quickly build new
apps in the cloud
Modern apps create new requirements
Users: 1 million+
Data volume: TB–PB–EB
Locality: Global
Performance: Milliseconds–microseconds
Request rate: Millions
Access: Web, mobile, IoT, devices
Scale: Up-down, Out-in
Economics: Pay for what you use
Developer access: No assembly requiredSocial mediaRide hailing Media streaming Dating
Let’s take a closer look at…
Key-value
&
Document
Graph Memory Time-series
Gamers
Primary KeyAttributes
Gamer Tag Type
Hammer57
RankLevel Points Tier
87 4050 Elite
StatusHealth Progress
90 30
WeaponClass Damage Range
Taser 87% 50
FluffyDuffy
Rank Level Points Tier
5 1072 Trainee
StatusHealth Progress
37 8
Key-value use case
// Status of Hammer57 GET {
TableName:"Gamers",Key: {"GamerTag":"Hammer57","Type":"Status” } }
// Return all Hammer57
Gamers
GamerTag = :a
:a Hammer57
Amazon DynamoDBFast and flexible key value database service for any scale
Comprehensive
security
Encrypts all data by
default and fully integrates
with AWS Identity and
Access Management for
robust security
Performance at scale
Consistent, single-digit
millisecond response times at
any scale; build applications with
virtually unlimited throughput
Global database for
global users and apps
Build global applications with
fast access to local data by easily
replicating tables across multiple
AWS Regions
Serverless
No server provisioning,
software patching, or
upgrades; scales up or down
automatically; continuously
backs up your data
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Document use case
Mobile
Retail and
MarketingUser profilesCatalog
Content
ManagementPersonalization
Amazon DocumentDBFast, scalable, highly available MongoDB-compatible database
Highly Available
Automatic Multi-AZ data
replication; automated
backup, snapshots,
failover;
Performance at scale
2X the throughput of currently
available MongoDB managed
services; scale read capacity to
millions of requests per second
by adding up to 15 low latency
read replicas across three AZs in
minutes, regardless of data size
MongoDB-compatible
Implements the Apache 2.0 open
source MongoDB 3.6 API by
emulating the responses that a
MongoDB client expects from a
MongoDB server
Durable
Fault-tolerant, self-healing
storage; six copies of data
across three Availability Zones;
continuous backup to Amazon
S3
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Graph use case
• Social networking
• Recommendations
• Knowledge graphs
• Fraud detection
• Life sciences
• Network and IT operations
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon NeptuneFully managed graph database for highly connected data
Fast & Scalable ReliableOpen
Store billions of relationships;
query with millisecond latency
6 replicas of your data
across 3 AZs with full
backup and restore
Build powerful queries
easily with Gremlin and
SPARQL
+
GRAPHQL with AppSync
Supports Apache
TinkerPopTM & W3C RDF
graph models
Gremlin
SPARQL
Easy
Time-series use case
Application events
IoT Sensor
Readings
DevOps data
Humidity
% WATER VAPOR
91.094.086.093.0
Amazon Timestream (Preview)
• Fast, scalable, fully managed time-series database
1,000x faster and 1/10th the
cost of relational databases
Collect data at the rate of
millions of inserts per
second (10M/second)
Trillions of
daily events
Adaptive query processing
engine maintains steady,
predictable performance
Time-series analytics
Built-in functions for
interpolation, smoothing,
and approximation
Serverless
Automated setup,
configuration, server
provisioning, software patching
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Common data categories and use cases
Relational
Referential
integrity, ACID
transactions,
schema-
on-write
Lift and shift, ERP,
CRM, finance
Key-value
High
throughput, low-
latency reads
and writes,
endless scale
Real-time bidding,
shopping cart,
social, product
catalog, customer
preferences
Document
Store
documents and
quickly access
querying on
any attribute
Content
management,
personalization,
mobile
In-memory
Query by key
with
microsecond
latency
Leaderboards,
real-time analytics,
caching
Graph
Quickly and
easily create
and navigate
relationships
between
data
Fraud detection,
social networking,
recommendation
engine
Time-series
Collect, store,
and process
data sequenced
by time
IoT applications,
event tracking
Ledger
Complete,
immutable, and
verifiable history
of all changes to
application data
Systems
of record, supply
chain, health care,
registrations,
financial
Thank you!
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.