AWS ofrece una gran variedad de servicios de base de datos que se adaptan a los requisitos de su aplicación. Los servicios de bases de datos están totalmente administrados y se pueden implementar en cuestión de minutos con tan solo unos clics. Los servicios de AWS incluyen Amazon Relational Database Service (Amazon RDS), compatible con 6 motores de bases de datos comunes, Amazon Aurora, base de datos relacional compatible con MySQL con un desempeño 5 veces superior, Amazon DynamoDB, servicio de bases de datos NoSQL rápido y flexible, Amazon Redshift, almacén de datos a escala de petabytes, y Amazon Elasticache, servicio de caché en memoria compatible con Memcached y Redis. AWS también proporciona AWS Database Migration Service, un servicio que permite migrar las bases de datos a la nube de AWS de forma sencilla y rentable.
3. Amazon Relational Database Service
• Managed service for MySQL, Oracle, Microsoft SQL
Server, PostgreSQL, and Amazon Aurora
• Handles time-consuming database management tasks,
such as backups, patch management, and replication
• MySQL, PostgreSQL, and Amazon Aurora support one
or more read replicas
• Works with existing code, applications, and tools
6. backup & recovery,
data load & unload
performance tuning
25%40%
5% 5%
scripting & coding
security
planning
install, upgrade,
patch and migrate
documentation,
licensing & training
Why Managed Databases?
7. 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
8. 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
If You Host Your Databases On-premises
9. If You Host Your Databases in EC2
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
10. OS patches
DB s/w patches
Database backups
Scaling
High availability
DB s/w installs
you
App optimization
Power, HVAC, net
Rack & stack
Server maintenance
OS installation
If You Host Your Databases in EC2
11. If You Choose a Managed Database Service
Power, HVAC, net
Rack & stack
Server maintenance
OS patches
DB s/w patches
Database backups
App optimization
High availability
DB s/w installs
OS installation
you
Scaling
17. Amazon RDS for Aurora
• Amazon Aurora is a MySQL-compatible
relational database engine
– The speed and availability of high-end commercial databases
– The simplicity and cost-effectiveness of open source databases
• Up to five times better performance than MySQL
• At a price point 1/10 of a commercial database
• Amazon RDS for Aurora provides administration
for Aurora by handling routine database tasks
19. Details: Amazon RDS for Aurora
• Key Features
– Designed for compatibility with MySQL 5.6.10
– Auto-scaling storage, so no need to pre-allocate
– Data is transparently replicated 6 ways among 3 Availability Zones
– Add up to 15 Replicas
• Single-digit millisecond replica lag times
• Replicas are also Multi-AZ failover candidates
– Encryption at rest and in transit
20. ü Move data to the same or different database engine
ü Keep your apps running during the migration
ü Start your first migration in 10 minutes or less
ü Replicate within, to, or from Amazon EC2 or RDS
AWS Database
Migration Service
21. Migrate from Oracle and SQL Server
Move your tables, views, stored procedures,
and data manipulation language (DML) to
MySQL, MariaDB, and Amazon Aurora
Highlight where manual edits are needed
AWS Schema
Conversion Tool
22. Amazon ElastiCache
• In-memory managed cache cluster
• Supports two open-source caching engines:
Memcached and Redis
• Automatically detects and replaces failed nodes
• Redis engine supports replication and Multi-AZs
• Great fit for read-heavy applications and often deployed
in front of Amazon RDS
23. Amazon Redshift
• Fast, fully managed, petabyte-scale relational data
warehouse solution
• Columnar storage technology to improve I/O and
parallelizing queries across multiple nodes (SSD & HDD)
• Uses familiar SQL-based clients and business intelligence
(BI) tools using standard JDBC and ODBC drivers
• Costs less than a tenth of most other cloud data
warehouse solutions: $1,000/TB/Year; starts at $0.25/hour
24. Amazon Redshift architecture
Leader Node
Simple SQL end point
Stores metadata
Optimizes query plan
Coordinates query execution
Compute Nodes
Local columnar storage
Parallel/distributed execution of all queries, loads,
backups, restores, resizes
Start at just $0.25/hour, grow to 2 PB (compressed)
DC1: SSD; scale from 160 GB to 326 TB
DS2: HDD; scale from 2 TB to 2 PB
Ingestion/Backup
Backup
Restore
JDBC/ODBC
10 GigE
(HPC)
27. Amazon DynamoDB
• Fast and flexible NoSQL database service
• Provides a schema-less, no joins, no complex
transactions managed database
• Single-digit millisecond latency at any scale for items
ranging from 1byte to 400KB
• Great fit for mobile, web, games, ad-tech, IoT, and many
other applications
29. Why NoSQL?
Optimized for storage Optimized for compute
Normalized/relational Denormalized/hierarchical
Ad hoc queries Instantiated views
Scale vertically Scale horizontally
Good for OLAP Built for OLTP at scale
SQL NoSQL
30. Amazon DynamoDB
Document or Key-Value Scales to Any WorkloadFully Managed NoSQL
Access Control Event Driven ProgrammingFast and Consistent
31. AWS offers a complete set of database services
Your apps Amazon RDS
Managed SQL
32. AWS offers a complete set of database services
Your apps
Amazon
DynamoDB
Managed NoSQL
Amazon RDS
Managed SQL
33. AWS offers a complete set of database services
Your apps
Amazon
DynamoDB
Managed NoSQL
Amazon RDS
Managed SQL
Amazon ElastiCache
Managed in-memory caching
34. AWS offers a complete set of database services
Your apps
Amazon
DynamoDB
Managed NoSQL
Amazon RDS
Managed SQL
Amazon ElastiCache
Managed in-memory caching
Amazon Redshift
Managed data warehouse
Your BI tools