Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

What's New with Amazon DynamoDB

745 views

Published on

Amazon DynamoDB is a serverless database for applications that need a flexible data model with high performance at any scale. In this session, we cover newly announced features and provide an end-to-end view of recent innovations. We also share some of our successful customer stories and use cases. Come to this session to learn all about what’s new with DynamoDB!

  • Be the first to comment

  • Be the first to like this

What's New with Amazon DynamoDB

  1. 1. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Jason Laschewer Business Development Manager, Amazon DynamoDB What’s New with Amazon DynamoDB Puneet Agarwal Senior Manager, AWS Solutions Architecture
  2. 2. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon DynamoDB Fully managed nonrelational database for any scale High performance Fast, consistent performance Virtually unlimited throughput Virtually unlimited storage Secure Encryption at rest and transit Fine-grained access control PCI, HIPAA, FIPS140-2 eligible Fully managed Maintenance-free Serverless Auto scaling Backup and restore Global tables
  3. 3. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon DynamoDB More than 100,000 Customers
  4. 4. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  5. 5. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  6. 6. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  7. 7. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Be Careful What You Wish For…
  8. 8. © 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 data center 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!
  9. 9. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. “You build it, you run it.” -- Werner Vogels
  10. 10. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Developer DBA Systems Engineer You DevOps
  11. 11. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. DynamoDB handles DevOps So that you can focus on DevOps
  12. 12. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Security
  13. 13. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Virtual Private Cloud (Amazon 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
  14. 14. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon DynamoDB Encryption at rest Server-side encryption Support compliance certifications No application code rewrites • Table-level encryption • Same performance as an unencrypted table • Integrated with AWS KMS • Launched in February, available in 16 regions
  15. 15. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Durability
  16. 16. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Point in time restore for short-term retention and data corruption protection Backup hundreds of TB instantly with NO performance impact On-demand backups for long-term data archival and compliance Amazon DynamoDB – Back up and Restore
  17. 17. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Performance
  18. 18. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Consistent, High Performance Request Volume Latency
  19. 19. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon 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
  20. 20. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon DynamoDB Accelerator (DAX) Milliseconds to microseconds In-Memory performance and throughput More than an order of magnitude faster!
  21. 21. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Scalability
  22. 22. © 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 DynamoDB Streams and Lambda. Scaling Storage: Time-to-live (TTL)
  23. 23. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Scaling Throughput: Auto Scaling $$$ Savings
  24. 24. © 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
  25. 25. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  26. 26. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  27. 27. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Snap’s database writes peak seconds after Chicago Cubs World Series win
  28. 28. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Availability
  29. 29. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon DynamoDB Global Tables Fully managed, multi-master, multi-region database Build high performance, globally distributed applications Low latency reads & writes to locally available tables Disaster proof with multi-region redundancy Easy to setup and no application re-writes required
  30. 30. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon DynamoDB VPC Endpoints April 2017 Auto Scaling June 2017 DynamoDB Accelerator (DAX) April 2017 Time to Live (TTL) February 2017 Global Tables (GA) On-demand Backup (GA) Encryption at rest November 2017 November 2017 February 2018 Continuous Backups March 2018
  31. 31. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Customer Stories
  32. 32. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Common Adoption Patterns • Ease of Manageability • TCO • Fully Supported NoSQL to DynamoDB • Developer Flexibility • Scale • Performance RDBMS to DynamoDB
  33. 33. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. NoSQL Migration from Cassandra: • Migrated from Cassandra to DynamoDB • Backup and restore on mobile app for 300 M users • Almost 1 PB in DynamoDB, 130 M daily API requests • Consistent performance and 70% cost savings (TCO) “DynamoDB provided consistent high performance at a drastically lower cost than Cassandra.” Seongkyu Kim Samsung
  34. 34. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. NoSQL Migration from MongoDB: • Profile, match, and swipe data • 25 TB data, 20 B matches, 190 countries • Migrated from MongoDB to DynamoDB • 60% cost savings (TCO) JunYoung Kwak Tinder “DynamoDB helps us achieve greater developer efficiency…at a lower cost.”
  35. 35. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. RDBMS Migration from Mainframe: • Retail business ran on mainframe— a bottleneck for developers • Migrated financial transaction data to DynamoDB • Unbound scale for app developers “We built a secure and resilient cloud infrastructure that could solve the scalability and reliability problems with a serverless architecture.” S r i n i U p p a l a p a t i C a p i t a l O n e
  36. 36. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. RDBMS Migration from MySQL: Serving more than three billion GIFs a day to more than 300 million dail active users. Migrated from MySQL to DynamoDB: • MySQL had a scaling bottleneck • DynamoDB automatically scales as the business grows • Improvement in read responsiveness by 25%, and overall system performance “For any company experiencing rapid user growth, scaling data can be a hard and daunting task. In our case, Amazon RDS with a DynamoDB/DAX solution was the perfect combination to alleviate our growing pains.” Nima Khoshini Giphy
  37. 37. © 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
  38. 38. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Migrate to DynamoDB using AWS 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!
  39. 39. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Closing Thought…
  40. 40. © 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 this all for you
  41. 41. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Submit session feedback 1. Tap the Schedule icon. 2. Select the session you attended. 3. Tap Session Evaluation to submit your feedback.
  42. 42. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. THANK YOU!

×