Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

Day 2 - Amazon RDS - Letting AWS run your Low Admin, High Performance Database

Amazon Relational Database Service (Amazon RDS) makes it easy to set up, operate, and scale a relational database in the cloud. It provides cost-efficient and re-sizable capacity while managing time-consuming database administration tasks, freeing you up to focus on your applications and business. In this webinar we review the different types of Amazon RDS available and how to move your existing databases to Amazon RDS with minimum disruption.

Reasons to attend:
- Learn how Amazon RDS can reduce the overhead of running high performance mission critical databases.
- Learn how to migrate your existing database workloads into Amazon RDS running on the AWS Cloud.
- Learn how to scale up and scale down your Amazon RDS instance and save money with reserved instances.

  • Soyez le premier à commenter

Day 2 - Amazon RDS - Letting AWS run your Low Admin, High Performance Database

  1. 1. RDS - Letting AWS run your Low Admin, High Performance Database Ganesh Raja, Solutions Architect Amazon Internet Services Private Ltd.
  2. 2. AWS Database Services v Amazon RDS DynamoDB Amazon Redshift ElastiCache
  3. 3. Why do we offer 4 database services…?
  4. 4. v
  5. 5. How Do We Decide What to Build? v • Start with the customer and work backwards • Enable new things that customers couldn’t do before… • Make things customers could already do much cheaper, simpler and better
  6. 6. Relational Databases MySQL, Aurora, PostgreSQL, Oracle, SQL Server Fully managed; zero admin Amazon RDS Aurora
  7. 7. Why Did We Create Amazon RDS? v • All existing apps use relational databases • Many new apps will need relational databases • But you can already run databases on Amazon EC2…
  8. 8. Key Insight: Relational Databases are Complex v • Our experience running Amazon.com taught us that relational databases can be a pain to manage and operate with high availability • Poorly managed relational databases are a leading cause of lost sleep and downtime in the IT world!
  9. 9. Why choose Amazon RDS? v Schema design Query construction Query optimization Migration Backup and recovery Patching Configuration Software upgrades Storage upgrades Server upgrades Hardware issues Focus your team here Let AWS focus here
  10. 10. We Made Things Cheaper, Easier and Better v • Push button provisioning. Automated scaling, patching, security, backups, restores and general care and feeding • Lower TCO because we manage the muck • Get more leverage from your teams • Focus on the things that differentiate you • Built-in High Availability and Cross Region replication across multiple data centers • Now even a small startup can leverage multiple data centers to design highly available apps with over 99.95% availability
  11. 11. RDS Database instances: scalable CPU, memory, storage v • Database instance types offer a range of CPU and memory selections • Scale up or down among instance types on demand • Database storage is scalable on demand • Choose standard storage for lower cost at low IOPS • Choose Provisioned IOPS for high, predictable performance and online scaling
  12. 12. How RDS backups work v • Automated backups • Restore your database to a point in time • Enabled by default • Choose a retention period, up to 35 days • Manual snapshots • Initiated by you • Persist until you delete them • Stored in Amazon Simple Storage Service (Amazon S3) • Build a new database instance from a snapshot when needed
  13. 13. High Availability Multi-AZ Deployments Enterprise-grade fault tolerance solution for production databases v
  14. 14. Choose Multi-AZ for greater availability, durability v • An availability zone is a physically distinct, independent infrastructure • With Multi-AZ operation, your database is synchronously replicated to another AZ in the same AWS Region • Failover occurs automatically in response to the most important failure scenarios • Planned maintenance is applied first to backup
  15. 15. Customers Love Multi-AZ Multi-AZ Instances as a share of all RDS Instances v 26% 40% 45% 40% 35% 30% 25% Oct-12 Jan-13 Apr-13 Jul-13 Oct-13 Jan-14 Apr-14 Jul-14 Oct-14
  16. 16. Choose Read Replicas for greater scalability v • Help your app scale by offloading read traffic to an automatically maintained read replica • Create multiple read replicas, load-share traffic • Easy to set up
  17. 17. Choose cross-region snapshot copy for even greater durability, ease of migration v • Copy a database snapshot to a different AWS Region • Warm standby for disaster recovery • Or use it as a base for migration to a different region
  18. 18. Choose cross-region read replicas for enhanced data locality, even more ease of migration v • Even faster recovery in the event of disaster • Bring data close to your customers • Promote to a master for easy migration
  19. 19. How RDS billing works Monthly bill = + GB + db.m3.xlarge; MySQL; Oregon; Single-AZ; On-Demand 100 GB Provisioned IOPS = 720 hrs * $0.60 + 100 GB * $0.125 + 1,000 IOPS * $0.10 = $544.50 Assumes DB instance accessed only from EC2 Further details at http://aws.amazon.com/rds/pricing/ Provisioned 1,000 IOPS
  20. 20. Save money with RDS Reserved Instances v • Pay a low up-front fee to get a lower hourly price on database instances for a 1- or 3-year term • The lower-price entitlement applies to any running instance matching its description • Choose among Heavy, Medium, Light RIs Month 1 Month 2 Month 3 Month 4 Month 5 Month 6 Month 7 Month 8 Month 9 Month 10 Month 11 Month 12 On-demand 544.50 1,089.00 1,633.50 2,178.00 2,722.50 3,267.00 3,811.50 4,356.00 4,900.50 5,445.00 5,989.50 6,534.00 Heavy RI 1-yr 1,508.10 1,750.20 1,992.30 2,234.40 2,476.50 2,718.60 2,960.70 3,202.80 3,444.90 3,687.00 3,929.10 4,171.20 Start saving here
  21. 21. How to scale with Amazon RDS v • Scale up or down with resizable instance types • CPU to 32 vCPUs, RAM to 244 GiB • Scale your storage up with a few clicks • Scale while online • Easy conversion from standard to Provisioned IOPS storage • Offload read traffic to Read Replicas • Put a cache in front of Amazon RDS • Amazon ElastiCache for Memcached or Redis • Or your favorite cache, self-managed in Amazon EC2 • Amazon RDS takes some of the pain out of sharding
  22. 22. Best practices for Amazon RDS v • Strongly consider Provisioned IOPS storage • Strongly consider Multi-AZ deployments • Make maximum use of ability to rapidly provision test environments • Create regular DB Snapshots • Test recovery from them • Configure CloudWatch alerts and DB Event notifications
  23. 23. How to migrate data into RDS v • Basic technique: dump and restore • Simple, but requires downtime RDS for MySQL RDS for Oracle RDS for SQL Server RDS for PostgreSQL mysqldump Data Pump Generate/ Publish scripts pgdump mysqlimport SQL Loader Bulk Copy (bcp) copy
  24. 24. How to migrate data into RDS, continued • Advanced technique: apply the deltas v • Replay transactions against the migration target RDS for MySQL RDS for Oracle RDS for SQL Server RDS for PostgreSQL mysqlbinlog Mview replication Linked servers Use row metadata to capture modified rows Tungsten Replicator Golden Gate, Dbvisit, Attunity, Dell SharePlex SSIS
  25. 25. Selected Amazon RDS Customers v
  26. 26. Changing the Game in Databases
  27. 27. Our Pace of Innovation is Increasing v Amazon RDS MySQL launched RDS MySQL Multi-AZ, Reserved Instances, DUB, SFO Expansion Amazon RDS for Oracle Amazon ElastiCache for Memcached ElastiCache global expansion Amazon DynamoDB RDS VPC Support DynamoDB in Japan and EU ElastiCache global expansion continues RDS for Oracle Multi- AZ Amazon RDS for SQL Server RDS Provisioned IOPS Amazon Redshift limited Preview Amazon ElastiCache auto-discovery Amazon Redshift RDS support for 3TB & 30,000 IOPS RDS Oracle TDE DynamoDB Local Secondary Indexes Redshift global expansion RDS SLA (99.95% for Multi-AZ) Amazon ElastiCache for Redis DynamoDB GSI 42 new Redshift features DynamoDB Local DynamoDB cross-region support Amazon RDS for PostgreSQL RDS Oracle time zone support Redshift SSD Node types Golden Gate Support ElastiCache Redis backup/restore RDS SQL Server Multi-AZ support Redshift cross region support, HSM support and direct integration with EMR & Kinesis Redshift Free Trial RDS PostgreSQL SLA RDS MySQL buffer pool caching DynamoDB JSON Support ElastiCache Multi-AZ Amazon RDS for Aurora
  28. 28. In a connected world, data volume is going up and response times are going down…
  29. 29. One Size Does Not Fit All
  30. 30. Which Database to Use? v • Existing App • Uses MySQL  RDS MySQL  Amazon RDS for Aurora • Uses PostgreSQL  RDS PostgreSQL • Uses Oracle or SQL Server  RDS Oracle or RDS SQL Server • New App • Can avoid relational features  DynamoDB • Must use relational features  RDS MySQL  RDS for Aurora • Need a Data Warehouse • Amazon Redshift
  31. 31. Use The Right Tool for the Job v Amazon RDS DynamoDB Amazon Redshift ElastiCache
  32. 32. Let us manage the muck and keep your databases running
  33. 33. So you can focus on your business and the things that differentiate you
  34. 34. Try Amazon RDS for free v • For your first year, at no charge… • Enough free instance-hours to run a “micro” instance continuously • 20 GB of database instance storage • 20 GB for automated backups • 10 million I/O operations per month • Learn more about the AWS free tier: http://aws.amazon.com/free/
  35. 35. Learn more about Amazon RDS v • Amazon RDS home page: http://aws.amazon.com/rds/ • Amazon RDS Frequently Asked Questions: http://aws.amazon.com/rds/faqs/ • Links to Import Guides for each engine: http://aws.amazon.com/rds/faqs/#9
  36. 36. v
  37. 37. AWS Training & Certification AWS offers Training and Certification to help you develop your skills and gain recognition for your technical experience with AWS services and solutions. v Online Training Gain confidence and hands-on experience with AWS. Watch free Instructional Videos and explore Self- Paced Labs Instructor Led Classes Learn how to design, deploy and operate highly available, cost-effective and secure applications on AWS in courses led by qualified AWS instructors AWS Certification Validate your technical expertise with AWS and use practice exams to help you prepare for AWS Certification http://aws.amazon.com/training
  38. 38. v Thank You