SlideShare una empresa de Scribd logo
1 de 49
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Rick Houlihan, Senior Practice Manager - NoSQL
February 2018
Whats New for DynamoDB
Q1 2018
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon DynamoDB
F a s t a n d f l e x i b l e N o S Q L d a t a b a s e s e r v i c e f o r a n y s c a l e
Fast, consistent performanceHighly scalable Fully managed Business critical
reliability
Consistent single-digit millisecond
latency; DAX in-memory
performance reduces response
times to microseconds
Auto-scaling to hundreds of
terabytes of data, that serve
millions of requests per second
Automatic provisioning
and infrastructure
management
Data is replicated across
fault tolerant availability
zones, with fine-grained
access control
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon DynamoDB
1 0 0 , 0 0 0 + C u s t o m e r s
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
“You build it,
you run it.”
-- Werner Vogels
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Developer DBA
Systems
Engineer
You
DevOps
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Security
OS Patching
DB Patching
Access Control
Audit
Encryption
Compliance
Durability
Sustain server, rack, and datacenter outages
Re-replicate data quickly upon HW failure
Manage backup & restore
Availability
High Availability Configuration
Monitoring
Cross-region Replication
Performance
Performance Tuning
Indexing
In-Memory Caching
Scalability
Capacity Planning
Host Provisioning
Host Repair & Retirement
DBA and System Engineer
Responsibilities
And need to do all of this with no downtime!
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DynamoDB handles
DevOps
So that you can focus on
DevOps
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Availability
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DynamoDB Global Tables ( G A )
F u l l y m a n a g e d , m u l t i - m a s t e r, m u l t i - r e g i o n d a t a b a s e
NEW!
Build high performance, globally distributed applications
Low latency reads & writes to locally available tables
Multi-region redundancy for DR/HA applications
Easy to setup and no application re-writes required
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Security
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Virtual Private Cloud (VPC)
Endpoints
• Access DynamoDB via secure Amazon VPC
endpoint
• Control access to tables via each VPC endpoint
with unique IAM roles and permissions
Features
Key Benefits
• Turn off access from public internet gateways
enhancing privacy and security
• Fast, secure data transfer between Amazon
VPC and DynamoDB
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon DynamoDB
E n c r y p t i o n a t r e s t
NEW!
Server-side
encryption
Support
compliance
certifications
No application
code rewrites
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Industry Standard Encryption
A E S - 2 5 6 E n v e l o p e E n c r y p t i o n
NEW!
Fully integrated with KMS
Customer Master Key for DynamoDB
Encrypt both base tables and indexes
Transparent process with minimal performance impact
No modification to application
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Performance
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Consistent, High Performance
Request Volume Latency
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DynamoDB Accelerator (DAX)
• Fully managed, highly available: handles all software management,
fault tolerant, replication across multi-AZs within a region
• DynamoDB API compatible: seamlessly caches DynamoDB API
calls, no application re-writes required
• Write-through: DAX handles caching for writes
• Flexible: Configure DAX for one table or many
• Scalable: scales-out to any workload with up to 10 read replicas
• Manageability: fully integrated AWS service: Amazon CloudWatch,
Tagging for DynamoDB, AWS Console
• Security: Amazon VPC, AWS IAM, AWS CloudTrail, AWS
Organizations
Features
DynamoDB
Your Applications
DynamoDB Accelerator
Table #1
Table #2
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DynamoDB Accelerator (DAX)
Milliseconds to
microseconds
In-Memory performance and throughput
More than an order of magnitude faster!
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Durability
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
NEW!
Point in time restore
for short term
retention and data
corruption protection
(coming soon)
Backup hundreds of
TB instantly with NO
performance impact
On-demand backups
for long-term data
archival and
compliance
Amazon DynamoDB – Backup and Restore
O n l y c l o u d d a t a b a s e t o p r o v i d e o n d e m a n d a n d c o n t i n u o u s
b a c k u p s
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Demo: Backup and Restore
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Scalability
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Capacity Planning Is Important (and Hard)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Adaptive Capacity
Get it right, nobody notices.
Get it wrong, everybody will.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T1
Server 1
A
Dynamic Scaling—Throughput and Storage
500 WCU, 150K BURST, 1K PEAK
1500 RCU, 450K BURST, 3K PEAK
Up to 5 minutes of sustained 1K WCU or 3K RCU burst
500 WCU
1500 RCU
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Server 1
T1
Server 2
A B
Dynamic Scaling—Throughput and Storage
500 WCU, 150K BURST, 2K PEAK
1500 RCU, 450K BURST, 6K PEAK
250 WCU
750 RCU
250 WCU
750 RCU
Up to 100 seconds of sustained 2K WCU or 6K RCU burst
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Server 1
T1
Server 2
A B
Dynamic Scaling—Throughput and Storage
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Server 1
T1
Server 2 Server 3
A B C
Dynamic Scaling—Throughput and Storage
500 WCU, 150K BURST, 3K PEAK
1500 RCU, 450K BURST, 9K PEAK
250 WCU
500 RCU
125 WCU
375 RCU
125 WCU
375 RCU
Up to 1 minute of sustained 3K WCU or 9K RCU burst
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Server 1
T1
Server 2 Server 3
A B C
Dynamic Scaling—Throughput and Storage
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Server 1
T1
Server 4 Server 2 Server 3
A D B C
Dynamic Scaling—Throughput and Storage
500 WCU, 150K BURST, 4K PEAK
1500 RCU, 450K BURST, 12K PEAK
125 WCU
375 RCU
125 WCU
375 RCU
125 WCU
375 RCU
125 WCU
375 RCU
Up to 43 seconds of sustained 4K WCU or 12K RCU burst
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Adaptive Capacity
Partition soft limits exceeded
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Adaptive Throughput Kicks In
Helped more than 2,800 Amazon tables and indexes on
Prime Day!
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ID Name Size Expiry
1234 A 100 1456702305
2222 B 240 1456702400
3423 C 150 1459207905
• Automatically delete items from a table based on
expiration timestamp
• User defined TTL attribute in epoch time format
• TTL activity recorded in DynamoDB Streams
TTL Attribute
Features
Key Benefits
• Reduce costs by deleting items no longer
needed
• Optimize application performance by controlling
table size growth
• Trigger custom workflows with Streams and
Lambda
Scaling Storage: Time-to-live (TTL)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Scaling Throughput: Auto Scaling
$$$ Savings
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Scaling Throughput: Auto Scaling
Fully-managed, automatic
Scale up when you need it
Scale down when you don’t
On by default
Scheduled Auto Scaling
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC
Endpoints
April 2017
Auto
Scaling
June 2017
DynamoDB
Accelerator (DAX)
April 2017
Time to
Live (TTL)
February 2017
GlobalTables
(GA)
N E W !
On-demand
Backup (GA)
N E W !
Amazon DynamoDB
2 0 1 7
Encryption at rest
(Coming Soon)
N E W !
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Single tables serving…
Millions of requests per second
Trillions of items
Hundreds of terabytes of storage
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Customer Stories
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Migration from Cassandra:
Backup & restore on mobile app for 300M users
Almost 1 PB in DynamoDB, 130M daily API requests
Migrated from Cassandra to DynamoDB
Consistent performance and 70% cost savings (TCO)
DynamoDB provided consistent
high performance at a drastically
lower cost than Cassandra.”
Seongkyu Kim
Samsung
“
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Migration from MongoDB:
Stores data on over 125M patents in DynamoDB.
Benefits of migrating from MongoDB to DynamoDB:
1) Fast and stable response time with unlimited
capacity
2) Less time spent on maintenance, monitoring,
backups
3) Easy to manage scaling and security settings
4) 50% cost savings over our MongoDB cluster
Ruiying Wu
Head of Operations. PatSnap
“Thanks to DynamoDB, providing and updating 125M+
Patents from over 100+ countries requires zero effort.
DynamoDB provides very consistent performance and
scalability, thus we are capable of making search and
analysis usable and accessible to non-IP experts,
helping them innovate.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Migration from Oracle:
Every time you buy something on amazon.com, behind-the-scenes
coordinator: Herd - supports 100s of millions of active workflows
which need to start within a couple of seconds
Migrated from Oracle to DynamoDB:
1) Workflow processing delays dropped from 1s to 100ms
2) Scaling and maintenance effort dropped 10x
3) Retired over 300 Oracle hosts
Our internal customers saw processing delays decrease
from 1 second to 100 milliseconds; those latency
reductions ultimately translate into Amazon customers
getting their orders faster. That’s really a testament to the
performance of Amazon DynamoDB. It shows how it can
serve as the foundation of a highly efficient, mission-
critical system.”
Mike Thomas
Amazon
“
Work Item Storage
Partition Assigner
Timer Router
Timer
Node
s
Timer
Node
s
Timer
Node
s
Timer
Node
s
Timer
Hosts
View Router
Timer
Node
s
Timer
Node
s
Timer
Node
s
Timer
Node
s
View
Hosts
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Migrate to DynamoDB using DMS
Minimal downtime
Secure
Replication
support
DMS
Amazon
DynamoDB
2. Relational Databases
1. Non-Relational Databases
3. Other sources
Amazon S3
DMS usage is now
free for 6 months!
For more information:
https://aws.amazon.com/dms/free-dms/
NEW!
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
No Servers
No Administration
Highly Available
All AWS Regions
Extreme Scale
Consistent Performance
AWS Lambda Integration
DynamoDB & Serverless
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
By:ArturoPardavilaIII
https://www.flickr.com/photos/apardavila/albums/72157674624352641
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Snap’s DB writes peak
seconds after Chicago Cubs World Series win
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Prime Day 2017:
Biggest Global Shopping Event in Amazon History
Thousands of Amazon Teams using DynamoDB
Peak @ 12.9 MM RPS to DynamoDB
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Closing Thought…
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Security
OS Patching
DB Patching
Access Control
Audit
Encryption
Compliance
Durability
Sustain server, rack, and datacenter outages
Re-replicate data quickly upon HW failure
Manage backup & restore
Availability
High Availability Configuration
Monitoring
Cross-region Replication
Performance
Performance Tuning
Indexing
In-Memory Caching
Scalability
Capacity Planning
Host Provisioning
Host Repair & Retirement
Think of all the other things you can do
If you let
Manage all this for you
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Advanced Continuous Delivery Best Practices (DEV317-R1) - AWS re:Invent 2018
Advanced Continuous Delivery Best Practices (DEV317-R1) - AWS re:Invent 2018Advanced Continuous Delivery Best Practices (DEV317-R1) - AWS re:Invent 2018
Advanced Continuous Delivery Best Practices (DEV317-R1) - AWS re:Invent 2018
 
SRV207 Orchestrating AWS Lambda with Step Functions
 SRV207 Orchestrating AWS Lambda with Step Functions SRV207 Orchestrating AWS Lambda with Step Functions
SRV207 Orchestrating AWS Lambda with Step Functions
 
Amazon GuardDuty Threat Detection and Remediation
Amazon GuardDuty Threat Detection and RemediationAmazon GuardDuty Threat Detection and Remediation
Amazon GuardDuty Threat Detection and Remediation
 
ProTips for Scaling AWS Training to Accelerate Adoption (DVC203) - AWS re:Inv...
ProTips for Scaling AWS Training to Accelerate Adoption (DVC203) - AWS re:Inv...ProTips for Scaling AWS Training to Accelerate Adoption (DVC203) - AWS re:Inv...
ProTips for Scaling AWS Training to Accelerate Adoption (DVC203) - AWS re:Inv...
 
AWS, I Choose You: Pokemon's Battle against the Bots (SEC402-R1) - AWS re:Inv...
AWS, I Choose You: Pokemon's Battle against the Bots (SEC402-R1) - AWS re:Inv...AWS, I Choose You: Pokemon's Battle against the Bots (SEC402-R1) - AWS re:Inv...
AWS, I Choose You: Pokemon's Battle against the Bots (SEC402-R1) - AWS re:Inv...
 
SRV314 Containerized App Development with AWS Fargate
SRV314 Containerized App Development with AWS FargateSRV314 Containerized App Development with AWS Fargate
SRV314 Containerized App Development with AWS Fargate
 
Capacity Management Made Easy with Amazon EC2 Auto Scaling (CMP377) - AWS re:...
Capacity Management Made Easy with Amazon EC2 Auto Scaling (CMP377) - AWS re:...Capacity Management Made Easy with Amazon EC2 Auto Scaling (CMP377) - AWS re:...
Capacity Management Made Easy with Amazon EC2 Auto Scaling (CMP377) - AWS re:...
 
SRV328 Designing and Implementing a Serverless Media-Processing Workflow
SRV328 Designing and Implementing a Serverless Media-Processing WorkflowSRV328 Designing and Implementing a Serverless Media-Processing Workflow
SRV328 Designing and Implementing a Serverless Media-Processing Workflow
 
AWS Storage Leadership Session: What's New in Amazon S3, Amazon EFS, Amazon E...
AWS Storage Leadership Session: What's New in Amazon S3, Amazon EFS, Amazon E...AWS Storage Leadership Session: What's New in Amazon S3, Amazon EFS, Amazon E...
AWS Storage Leadership Session: What's New in Amazon S3, Amazon EFS, Amazon E...
 
Serverless SaaS apllications on AWS
Serverless SaaS apllications on AWSServerless SaaS apllications on AWS
Serverless SaaS apllications on AWS
 
Thomson Reuters Shows How It Hosted a .NET App on Amazon ECS Using Windows Co...
Thomson Reuters Shows How It Hosted a .NET App on Amazon ECS Using Windows Co...Thomson Reuters Shows How It Hosted a .NET App on Amazon ECS Using Windows Co...
Thomson Reuters Shows How It Hosted a .NET App on Amazon ECS Using Windows Co...
 
Migrating to AWS Fargate (CON311-R1) - AWS re:Invent 2018
Migrating to AWS Fargate (CON311-R1) - AWS re:Invent 2018Migrating to AWS Fargate (CON311-R1) - AWS re:Invent 2018
Migrating to AWS Fargate (CON311-R1) - AWS re:Invent 2018
 
Another Week, Another Million Containers on Amazon EC2 (CMP376) - AWS re:Inve...
Another Week, Another Million Containers on Amazon EC2 (CMP376) - AWS re:Inve...Another Week, Another Million Containers on Amazon EC2 (CMP376) - AWS re:Inve...
Another Week, Another Million Containers on Amazon EC2 (CMP376) - AWS re:Inve...
 
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...
 
How Amazon WorkSpaces Powers the Hands-On Labs (BAP317) - AWS re:Invent 2018
How Amazon WorkSpaces Powers the Hands-On Labs (BAP317) - AWS re:Invent 2018How Amazon WorkSpaces Powers the Hands-On Labs (BAP317) - AWS re:Invent 2018
How Amazon WorkSpaces Powers the Hands-On Labs (BAP317) - AWS re:Invent 2018
 
SRV321 Deep Dive on Amazon EBS
 SRV321 Deep Dive on Amazon EBS SRV321 Deep Dive on Amazon EBS
SRV321 Deep Dive on Amazon EBS
 
Building Microservices with the Twelve Factor App Pattern on AWS
Building Microservices with the Twelve Factor App Pattern on AWSBuilding Microservices with the Twelve Factor App Pattern on AWS
Building Microservices with the Twelve Factor App Pattern on AWS
 
Analyze Slide Images and Process Phenotypic Assays at Scale on AWS (CMP358) -...
Analyze Slide Images and Process Phenotypic Assays at Scale on AWS (CMP358) -...Analyze Slide Images and Process Phenotypic Assays at Scale on AWS (CMP358) -...
Analyze Slide Images and Process Phenotypic Assays at Scale on AWS (CMP358) -...
 
使用 AWS 無伺服器化應用程式模型 (SAM) 釋放您的 "敏捷" 能量 (Level 300)
使用 AWS 無伺服器化應用程式模型 (SAM) 釋放您的 "敏捷" 能量 (Level 300)使用 AWS 無伺服器化應用程式模型 (SAM) 釋放您的 "敏捷" 能量 (Level 300)
使用 AWS 無伺服器化應用程式模型 (SAM) 釋放您的 "敏捷" 能量 (Level 300)
 
Driving DevOps Transformation in Enterprises (DEV320) - AWS re:Invent 2018
Driving DevOps Transformation in Enterprises (DEV320) - AWS re:Invent 2018Driving DevOps Transformation in Enterprises (DEV320) - AWS re:Invent 2018
Driving DevOps Transformation in Enterprises (DEV320) - AWS re:Invent 2018
 

Similar a What’s New for Amazon DynamoDB - 2018 Q1 Update - AWS Online Tech Talks

Similar a What’s New for Amazon DynamoDB - 2018 Q1 Update - AWS Online Tech Talks (20)

What's New with Amazon DynamoDB
What's New with Amazon DynamoDBWhat's New with Amazon DynamoDB
What's New with Amazon DynamoDB
 
Database NoSQL gestiti
Database NoSQL gestitiDatabase NoSQL gestiti
Database NoSQL gestiti
 
The Non-Relational Revolution
The Non-Relational RevolutionThe Non-Relational Revolution
The Non-Relational Revolution
 
How Amazon Video Uses DynamoDB Global Tables to Support Tens of Millions of G...
How Amazon Video Uses DynamoDB Global Tables to Support Tens of Millions of G...How Amazon Video Uses DynamoDB Global Tables to Support Tens of Millions of G...
How Amazon Video Uses DynamoDB Global Tables to Support Tens of Millions of G...
 
Managed NoSQL databases
Managed NoSQL databasesManaged NoSQL databases
Managed NoSQL databases
 
DynamoDB and DAX | AWS Floor28
DynamoDB and DAX | AWS Floor28DynamoDB and DAX | AWS Floor28
DynamoDB and DAX | AWS Floor28
 
Building low latency apps with a serverless architecture and in-memory data I...
Building low latency apps with a serverless architecture and in-memory data I...Building low latency apps with a serverless architecture and in-memory data I...
Building low latency apps with a serverless architecture and in-memory data I...
 
Non-Relational Revolution
Non-Relational RevolutionNon-Relational Revolution
Non-Relational Revolution
 
DynamoDB & DAX: Database Week SF
DynamoDB & DAX: Database Week SFDynamoDB & DAX: Database Week SF
DynamoDB & DAX: Database Week SF
 
AWS re:Invent recap
AWS re:Invent recapAWS re:Invent recap
AWS re:Invent recap
 
DynamoDB & DAX: Database Week San Francisco
DynamoDB & DAX: Database Week San FranciscoDynamoDB & DAX: Database Week San Francisco
DynamoDB & DAX: Database Week San Francisco
 
DynamoDB - What's new - DAT304 - re:Invent 2017
DynamoDB - What's new - DAT304 - re:Invent 2017DynamoDB - What's new - DAT304 - re:Invent 2017
DynamoDB - What's new - DAT304 - re:Invent 2017
 
Managed NoSQL databases
Managed NoSQL databasesManaged NoSQL databases
Managed NoSQL databases
 
Lessons Learned from a Large-Scale Legacy Migration with Sysco (STG311) - AWS...
Lessons Learned from a Large-Scale Legacy Migration with Sysco (STG311) - AWS...Lessons Learned from a Large-Scale Legacy Migration with Sysco (STG311) - AWS...
Lessons Learned from a Large-Scale Legacy Migration with Sysco (STG311) - AWS...
 
Nonrelational Revolution
Nonrelational RevolutionNonrelational Revolution
Nonrelational Revolution
 
How GumGum Migrated from Cassandra to Amazon DynamoDB (DAT345) - AWS re:Inven...
How GumGum Migrated from Cassandra to Amazon DynamoDB (DAT345) - AWS re:Inven...How GumGum Migrated from Cassandra to Amazon DynamoDB (DAT345) - AWS re:Inven...
How GumGum Migrated from Cassandra to Amazon DynamoDB (DAT345) - AWS re:Inven...
 
DynamoDB and Dax - Miguel Cervantes
DynamoDB and Dax - Miguel CervantesDynamoDB and Dax - Miguel Cervantes
DynamoDB and Dax - Miguel Cervantes
 
Non-Relational Revolution - Joseph Idziorek
Non-Relational Revolution - Joseph IdziorekNon-Relational Revolution - Joseph Idziorek
Non-Relational Revolution - Joseph Idziorek
 
DynamoDB & DAX
DynamoDB & DAXDynamoDB & DAX
DynamoDB & DAX
 
Best of AWS re:Invent 2017
Best of AWS re:Invent 2017Best of AWS re:Invent 2017
Best of AWS re:Invent 2017
 

Más de Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

Más de Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

What’s New for Amazon DynamoDB - 2018 Q1 Update - AWS Online Tech Talks

  • 1. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Rick Houlihan, Senior Practice Manager - NoSQL February 2018 Whats New for DynamoDB Q1 2018
  • 2. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon DynamoDB F a s t a n d f l e x i b l e N o S Q L d a t a b a s e s e r v i c e f o r a n y s c a l e Fast, consistent performanceHighly scalable Fully managed Business critical reliability Consistent single-digit millisecond latency; DAX in-memory performance reduces response times to microseconds Auto-scaling to hundreds of terabytes of data, that serve millions of requests per second Automatic provisioning and infrastructure management Data is replicated across fault tolerant availability zones, with fine-grained access control
  • 3. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon DynamoDB 1 0 0 , 0 0 0 + C u s t o m e r s
  • 4. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. “You build it, you run it.” -- Werner Vogels
  • 5. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Developer DBA Systems Engineer You DevOps
  • 6. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Security OS Patching DB Patching Access Control Audit Encryption Compliance Durability Sustain server, rack, and datacenter outages Re-replicate data quickly upon HW failure Manage backup & restore Availability High Availability Configuration Monitoring Cross-region Replication Performance Performance Tuning Indexing In-Memory Caching Scalability Capacity Planning Host Provisioning Host Repair & Retirement DBA and System Engineer Responsibilities And need to do all of this with no downtime!
  • 7. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DynamoDB handles DevOps So that you can focus on DevOps
  • 8. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Availability
  • 9. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DynamoDB Global Tables ( G A ) F u l l y m a n a g e d , m u l t i - m a s t e r, m u l t i - r e g i o n d a t a b a s e NEW! Build high performance, globally distributed applications Low latency reads & writes to locally available tables Multi-region redundancy for DR/HA applications Easy to setup and no application re-writes required
  • 10. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Security
  • 11. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Virtual Private Cloud (VPC) Endpoints • Access DynamoDB via secure Amazon VPC endpoint • Control access to tables via each VPC endpoint with unique IAM roles and permissions Features Key Benefits • Turn off access from public internet gateways enhancing privacy and security • Fast, secure data transfer between Amazon VPC and DynamoDB
  • 12. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon DynamoDB E n c r y p t i o n a t r e s t NEW! Server-side encryption Support compliance certifications No application code rewrites
  • 13. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Industry Standard Encryption A E S - 2 5 6 E n v e l o p e E n c r y p t i o n NEW! Fully integrated with KMS Customer Master Key for DynamoDB Encrypt both base tables and indexes Transparent process with minimal performance impact No modification to application
  • 14. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Performance
  • 15. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Consistent, High Performance Request Volume Latency
  • 16. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DynamoDB Accelerator (DAX) • Fully managed, highly available: handles all software management, fault tolerant, replication across multi-AZs within a region • DynamoDB API compatible: seamlessly caches DynamoDB API calls, no application re-writes required • Write-through: DAX handles caching for writes • Flexible: Configure DAX for one table or many • Scalable: scales-out to any workload with up to 10 read replicas • Manageability: fully integrated AWS service: Amazon CloudWatch, Tagging for DynamoDB, AWS Console • Security: Amazon VPC, AWS IAM, AWS CloudTrail, AWS Organizations Features DynamoDB Your Applications DynamoDB Accelerator Table #1 Table #2
  • 17. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DynamoDB Accelerator (DAX) Milliseconds to microseconds In-Memory performance and throughput More than an order of magnitude faster!
  • 18. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Durability
  • 19. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. NEW! Point in time restore for short term retention and data corruption protection (coming soon) Backup hundreds of TB instantly with NO performance impact On-demand backups for long-term data archival and compliance Amazon DynamoDB – Backup and Restore O n l y c l o u d d a t a b a s e t o p r o v i d e o n d e m a n d a n d c o n t i n u o u s b a c k u p s
  • 20. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demo: Backup and Restore
  • 21. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Scalability
  • 22. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Capacity Planning Is Important (and Hard)
  • 23. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Adaptive Capacity Get it right, nobody notices. Get it wrong, everybody will.
  • 24. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T1 Server 1 A Dynamic Scaling—Throughput and Storage 500 WCU, 150K BURST, 1K PEAK 1500 RCU, 450K BURST, 3K PEAK Up to 5 minutes of sustained 1K WCU or 3K RCU burst 500 WCU 1500 RCU
  • 25. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Server 1 T1 Server 2 A B Dynamic Scaling—Throughput and Storage 500 WCU, 150K BURST, 2K PEAK 1500 RCU, 450K BURST, 6K PEAK 250 WCU 750 RCU 250 WCU 750 RCU Up to 100 seconds of sustained 2K WCU or 6K RCU burst © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 26. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Server 1 T1 Server 2 A B Dynamic Scaling—Throughput and Storage
  • 27. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Server 1 T1 Server 2 Server 3 A B C Dynamic Scaling—Throughput and Storage 500 WCU, 150K BURST, 3K PEAK 1500 RCU, 450K BURST, 9K PEAK 250 WCU 500 RCU 125 WCU 375 RCU 125 WCU 375 RCU Up to 1 minute of sustained 3K WCU or 9K RCU burst © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 28. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Server 1 T1 Server 2 Server 3 A B C Dynamic Scaling—Throughput and Storage
  • 29. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Server 1 T1 Server 4 Server 2 Server 3 A D B C Dynamic Scaling—Throughput and Storage 500 WCU, 150K BURST, 4K PEAK 1500 RCU, 450K BURST, 12K PEAK 125 WCU 375 RCU 125 WCU 375 RCU 125 WCU 375 RCU 125 WCU 375 RCU Up to 43 seconds of sustained 4K WCU or 12K RCU burst © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 30. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Adaptive Capacity Partition soft limits exceeded
  • 31. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Adaptive Throughput Kicks In Helped more than 2,800 Amazon tables and indexes on Prime Day!
  • 32. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ID Name Size Expiry 1234 A 100 1456702305 2222 B 240 1456702400 3423 C 150 1459207905 • Automatically delete items from a table based on expiration timestamp • User defined TTL attribute in epoch time format • TTL activity recorded in DynamoDB Streams TTL Attribute Features Key Benefits • Reduce costs by deleting items no longer needed • Optimize application performance by controlling table size growth • Trigger custom workflows with Streams and Lambda Scaling Storage: Time-to-live (TTL)
  • 33. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Scaling Throughput: Auto Scaling $$$ Savings
  • 34. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Scaling Throughput: Auto Scaling Fully-managed, automatic Scale up when you need it Scale down when you don’t On by default Scheduled Auto Scaling
  • 35. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC Endpoints April 2017 Auto Scaling June 2017 DynamoDB Accelerator (DAX) April 2017 Time to Live (TTL) February 2017 GlobalTables (GA) N E W ! On-demand Backup (GA) N E W ! Amazon DynamoDB 2 0 1 7 Encryption at rest (Coming Soon) N E W !
  • 36. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Single tables serving… Millions of requests per second Trillions of items Hundreds of terabytes of storage
  • 37. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Customer Stories
  • 38. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Migration from Cassandra: Backup & restore on mobile app for 300M users Almost 1 PB in DynamoDB, 130M daily API requests Migrated from Cassandra to DynamoDB Consistent performance and 70% cost savings (TCO) DynamoDB provided consistent high performance at a drastically lower cost than Cassandra.” Seongkyu Kim Samsung “
  • 39. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Migration from MongoDB: Stores data on over 125M patents in DynamoDB. Benefits of migrating from MongoDB to DynamoDB: 1) Fast and stable response time with unlimited capacity 2) Less time spent on maintenance, monitoring, backups 3) Easy to manage scaling and security settings 4) 50% cost savings over our MongoDB cluster Ruiying Wu Head of Operations. PatSnap “Thanks to DynamoDB, providing and updating 125M+ Patents from over 100+ countries requires zero effort. DynamoDB provides very consistent performance and scalability, thus we are capable of making search and analysis usable and accessible to non-IP experts, helping them innovate.
  • 40. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Migration from Oracle: Every time you buy something on amazon.com, behind-the-scenes coordinator: Herd - supports 100s of millions of active workflows which need to start within a couple of seconds Migrated from Oracle to DynamoDB: 1) Workflow processing delays dropped from 1s to 100ms 2) Scaling and maintenance effort dropped 10x 3) Retired over 300 Oracle hosts Our internal customers saw processing delays decrease from 1 second to 100 milliseconds; those latency reductions ultimately translate into Amazon customers getting their orders faster. That’s really a testament to the performance of Amazon DynamoDB. It shows how it can serve as the foundation of a highly efficient, mission- critical system.” Mike Thomas Amazon “ Work Item Storage Partition Assigner Timer Router Timer Node s Timer Node s Timer Node s Timer Node s Timer Hosts View Router Timer Node s Timer Node s Timer Node s Timer Node s View Hosts
  • 41. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Migrate to DynamoDB using DMS Minimal downtime Secure Replication support DMS Amazon DynamoDB 2. Relational Databases 1. Non-Relational Databases 3. Other sources Amazon S3 DMS usage is now free for 6 months! For more information: https://aws.amazon.com/dms/free-dms/ NEW!
  • 42. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. No Servers No Administration Highly Available All AWS Regions Extreme Scale Consistent Performance AWS Lambda Integration DynamoDB & Serverless
  • 43. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. By:ArturoPardavilaIII https://www.flickr.com/photos/apardavila/albums/72157674624352641
  • 44. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Snap’s DB writes peak seconds after Chicago Cubs World Series win
  • 45. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 46. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Prime Day 2017: Biggest Global Shopping Event in Amazon History Thousands of Amazon Teams using DynamoDB Peak @ 12.9 MM RPS to DynamoDB
  • 47. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Closing Thought…
  • 48. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Security OS Patching DB Patching Access Control Audit Encryption Compliance Durability Sustain server, rack, and datacenter outages Re-replicate data quickly upon HW failure Manage backup & restore Availability High Availability Configuration Monitoring Cross-region Replication Performance Performance Tuning Indexing In-Memory Caching Scalability Capacity Planning Host Provisioning Host Repair & Retirement Think of all the other things you can do If you let Manage all this for you
  • 49. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.