Moving to Managed Databases
Total Page:16
File Type:pdf, Size:1020Kb
Moving to Managed Databases Sohan Maheshwar Developer Advocate, AWS © 2020, Amazon Web Services, Inc. or its Affiliates. Agenda Why move to managed services? Managed database services Flexible ways to move to AWS databases Resources Q&A © 2020, Amazon Web Services, Inc. or its Affiliates. � TRIVIA TIME � © 2020, Amazon Web Services, Inc. or its Affiliates. Why Move to Managed Databases? © 2020, Amazon Web Services, Inc. or its Affiliates. Self-managing databases is time-consuming, complex, and expensive Hardware and software installation, configuration, patching, backups Performance and high availability issues Capacity planning and scaling clusters for compute and storage Security and compliance © 2020, Amazon Web Services, Inc. or its Affiliates. Fully managed services on AWS Spend time innovating and building new applications, not managing infrastructure Self-managed Fully managed Schema design Query construction You Query optimization Automatic failover Backup and recovery Isolation and security You Industry compliance Push-button scaling AWS Automated patching Advanced monitoring Routine maintenance Built-in best practices © 2020, Amazon Web Services, Inc. or its Affiliates. Answer: Airbnb © 2020, Amazon Web Services, Inc. or its Affiliates. Challenge They experienced service admin challenges with their original provider and wanted to scale business to the next level. Solution They moved from self-managed MySQL to Amazon Aurora MySQL. They use Aurora as the primary transactional database, Amazon DynamoDB for personalized search, and Amazon ElastiCache as in- memory store for sub-millisecond site rendering. Result Initially, the appeal of AWS was the ease of managing and “customizing the stack. It was great to be able to ramp up more servers without having to contact anyone and without having minimum usage commitments. AWS is the easy answer for any Internet business that wants to scale to the next level. —Nathan Blecharczyk, Cofounder and CTO of Airbnb ” © 2020, Amazon Web Services, Inc. or its Affiliates. Amazon Amazon Amazon MOVE TO MANAGED → Aurora DynamoDB ElastiCache Managed Database Services © 2020, Amazon Web Services, Inc. or its Affiliates. Broad database and analytics services portfolio Amazon Amazon Managed Amazon Amazon Amazon Amazon Amazon Amazon Amazon Elasticsearch Streaming for Amazon Aurora RDS DynamoDB DocumentDB ElastiCache Redshift EMR Service Apache Kafka QuickSight Relational Non-relational Data Hadoop Operational Real-time Business databases databases warehouses and Spark analytics analytics Intelligence elasticsearch logstash kibana PostgreSQL © 2020, Amazon Web Services, Inc. or its Affiliates. Move to managed relational databases Migrate on-premises or cloud-hosted relational databases to managed services Reduce database administrative burden No need to re-architect existing applications Get better performance, availability, scalability, and security Amazon Aurora MySQL, PostgreSQL PostgreSQL Amazon RDS MySQL, PostgreSQL, MariaDB, Oracle, SQL Server © 2020, Amazon Web Services, Inc. or its Affiliates. Amazon RDS Managed relational database service with a choice of popular database engines PostgreSQL Easy to administer Performant & scalable Available & durable Secure and compliant Easily deploy and maintain Scale compute Automatic Multi-AZ data Data encryption at rest and in hardware, OS and DB and storage with a few clicks; replication; automated transit; industry compliance software; built-in monitoring minimal downtime for your backup, snapshots, and and assurance programs application failover © 2020, Amazon Web Services, Inc. or its Affiliates. 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 Availability Highly secure Fully managed and scalability and durability 5x throughput of standard MySQL Fault-tolerant, self-healing storage; Network isolation, Managed by RDS: and 3x of standard PostgreSQL; six copies of data encryption at rest/transit, No server provisioning, software scale-out up to across three Availability Zones; compliance and assurance patching, setup, configuration, or 15 read replicas continuous backup to Amazon S3 programs backups © 2020, Amazon Web Services, Inc. or its Affiliates. � TRIVIA TIME � © 2020, Amazon Web Services, Inc. or its Affiliates. Instacart offers its customers a new way to order same-day groceries online. Challenge Building and maintaining a production database on PostgreSQL was challenging for a fast-growing startup. Solution The company turned to AWS to run its database on Amazon RDS for PostgreSQL. Result The company can now add millions of new items to its database every month, allowing engineering to improve the customer experience. PostgreSQL MOVE TO MANAGED → Amazon RDS for © 2020, Amazon Web Services, Inc. or its Affiliates. PostgreSQL Move to managed non-relational databases Migrate on-premises or cloud-hosted non-relational databases to managed services Reduce database administrative burden No need to re-architect existing applications Get better performance, availability, scalability, and security Amazon DocumentDB MongoDB Amazon ElastiCache Redis, Memcached © 2020, Amazon Web Services, Inc. or its Affiliates. Amazon DocumentDB Fast, scalable, highly available, fully managed MongoDB-compatible database service Millions of requests per second, Same code, drivers, and tools you Simple and millisecond latency use with MongoDB fully managed Secure and 2x throughput of managed Deeply integrated compliant MongoDB services with AWS services © 2020, Amazon Web Services, Inc. or its Affiliates. Amazon ElastiCache Fully compatible with In-memory data store AWS manages all hardware Scale writes and open source Redis and cache for microsecond and software setup, reads with sharding and Memcached response times configuration, monitoring and replicas © 2020, Amazon Web Services, Inc. or its Affiliates. Answer: MySQL & MariaDB Image source: https://www.informatik-aktuell.de/betrieb/datenbanken/mariadb-und-mysql-vergleich-der-features.html © 2020, Amazon Web Services, Inc. or its Affiliates. Challenge: Solution: They moved from self managed Redis to fully managed Amazon ElastiCache for Redis as a caching layer on RDS for MySQL Result: ElastiCache provides sub-millisecond latency even in times of peak traffic of hundreds of thousands of cab requests per minute Self managed MOVE TO MANAGED → Amazon © 2020,Redis Amazon Web Services, Inc. or its Affiliates. ElastiCache for Redis Managed Databases in on-premises environment Easy to administer Performant & scalable Available & durable Leverages existing infrastructure Easily deploy and maintain Scale compute Health monitoring detects hardware, OS and DB and storage with a few clicks; and recovers unhealthy Uses familiar infrastructure software; built-in monitoring minimal downtime for your instances; automated backup, and operations tooling application snapshots, and failover © 2020, Amazon Web Services, Inc. or its Affiliates. Flexible ways to migrate and modernize © 2020, Amazon Web Services, Inc. or its Affiliates. We offer flexible ways to help you migrate AWS Migration AWS Professional Services AWS Database Freedom Tools and migration partners Program © 2020, Amazon Web Services, Inc. or its Affiliates. Migration Tools © 2020, Amazon Web Services, Inc. or its Affiliates. Migration Tools AWS Database Migration Service (AWS DMS) easily and securely migrates and/or replicates your databases and data warehouses to AWS AWS Schema Conversion Tool converts your commercial database and data warehouse schemas to open-source engines or AWS- native services, such as Amazon Aurora and Amazon Redshift © 2020, Amazon Web Services, Inc. or its Affiliates. Flexible, powerful migration tooling Database Migration Service (DMS) Schema Conversion Tool (SCT) Source DB AWS SCT Target database © 2020, Amazon Web Services, Inc. or its Affiliates. verisk © 2020, Amazon Web Services, Inc. or its Affiliates. � TRIVIA TIME � © 2020, Amazon Web Services, Inc. or its Affiliates. Migrate with AWS Professional Services and Partners © 2020, Amazon Web Services, Inc. or its Affiliates. AWS Database Migration Partners © 2020, Amazon Web Services, Inc. or its Affiliates. DHI © 2020, Amazon Web Services, Inc. or its Affiliates. AWS Database Freedom Program © 2020, Amazon Web Services, Inc. or its Affiliates. Database Freedom Database Freedom is an AWS database and analytics modernization initiative focused on accelerating enterprise migrations from Oracle, Microsoft SQL Server platforms to AWS cloud-native database services © 2020, Amazon Web Services, Inc. or its Affiliates. Migration Customer Journey ASSESSMENT ANALYSIS AND PILOT WORKLOAD MIGRATIONS Portfolio Discovery Workload Analysis and Pilot Migration Migrate Optimize Integrate Discovery Landing Skills/CoE & Planning Zone Monitor Test Transform Rapid Directional Migration Migration Migration Discovery Business Case Expertise Plan Business Case © 2020, Amazon Web Services, Inc. or its Affiliates. © 2020, Amazon Web Services, Inc. or its Affiliates. Answer: MongoDB © 2020, Amazon Web Services, Inc. or its Affiliates. Move to AWS services to break free Broad Fully Highly Most portfolio managed available secure with support and durable for compliance © 2020, Amazon Web Services, Inc. or its Affiliates. AWS Database Services aws.amazon.com/products/databases/ AWS Database Migration Service Learn more aws.amazon.com/dms/resources/ Database Freedom aws.amazon.com/solutions/databasemigrations /database-freedom/ AWS Database Migration partners aws.amazon.com/dms/partners/ © 2020, Amazon Web Services, Inc. or its Affiliates. Thank you! Sohan Maheshwar @soganmageshwar © 2020, Amazon Web Services, Inc. or its Affiliates. .