Slide 1

Slide 1 text

COMMUNITY DAY MENA Your Database Journey to AWS

Slide 2

Slide 2 text

Diaa Radwan AWS Specialist Solutions Architect - Databases @DiaaRadwan

Slide 3

Slide 3 text

Agenda Modernize and break free Database Migration Patterns AWS migration partners Database freedom program AWS migration resources Q & A

Slide 4

Slide 4 text

Rapid expansion of data requirements Explosion of data Microservices change data and analytics requirements Accelerated rate of change driven by DevOps Data grows 10x every 5 years driven by network- connected smart devices Microservices architecture decreases need for “one size fits all’ databases and increases need for real-time monitoring and analytics Dev Ops Transition from IT to DevOps increases rate of change

Slide 5

Slide 5 text

The thorns of legacy databases Costly Proprietary Lock-in Punitive licensing You’ve got mail Audit

Slide 6

Slide 6 text

Hardware and software installation Database configuration, patching, and backups Cluster setup and data replication for high availability Capacity planning, and scaling clusters for compute and storage Managing databases on-premises: Time-consuming and complex

Slide 7

Slide 7 text

You You Fully managed services on AWS Spend time innovating and building new applications, not managing infrastructure AWS Self-managed Fully managed Schema design Query construction Query optimization Automatic failover Backup and recovery Isolation and security Industry compliance Push-button scaling Automated patching Advanced monitoring Routine maintenance Built-in best practices

Slide 8

Slide 8 text

Broad database and analytics services portfolio Relational databases Nonrelational databases Data warehouses Hadoop and Spark Amazon Redshift Amazon EMR Operational analytics Amazon Elasticsearch Service Amazon Aurora Amazon DynamoDB Business Intelligence Amazon QuickSight Amazon RDS Amazon DocumentDB Amazon ElastiCache Real-time analytics Amazon Managed Streaming for Apache Kafka PostgreSQL Logstash Elasticsearch Kibana Microsoft SQL Server Microsoft SQL Server

Slide 9

Slide 9 text

Amazon Relational Database Service (RDS) Managed relational database service with a choice of six popular database engines Easy to administer Available and durable Highly scalable Fast and secure No need for infrastructure provisioning, installing, and maintaining DB software Automatic Multi-AZ data replication; automated backup, snapshots, failover Scale database compute and storage with a few clicks with no app downtime SSD storage and guaranteed provisioned I/O; data encryption at rest and in transit

Slide 10

Slide 10 text

Amazon RDS database engines Commercial Open source Cloud native Amazon Elastic Block Store (Amazon EBS)-based storage Amazon Aurora storage system MySQL compatible PostgreSQL compatible

Slide 11

Slide 11 text

COMMUNITY DAY MENA Database Migration Patterns

Slide 12

Slide 12 text

Rehost Automate Manual Install Config Deploy App code development Refactor Redesign ALM/SDLC Integration Migration strategies Retire Retain Re-platform Determine platform Modify infrastructure Determine Discover VALIDATION Transition Production Assess/ Prioritize Repurchase Buy COTS/SaaS Install/setup Relocate (VMware Cloud on AWS) Automate Use migration tools

Slide 13

Slide 13 text

Discover the right migration pattern for your apps Disconnected and incomplete data Discover and organize data 7 Rs Applications Performance Infrastructure Level of effort Retire Retain Relocate Rehost Repurchase Re-platform Refactor Tribal knowledge SLA/OLA App configuration data Asset inventories CMDB Architecture Performance Information Automation and guidance AWS Application Discovery Service Amazon Athena

Slide 14

Slide 14 text

Database Freedom program: Migration workflow Portfolio discovery Migration Workload analysis and pilot ASSESSMENT ANALYSIS AND PILOT WORKLOAD MIGRATIONS Directional business case Rapid discovery Landing zone Skills/CoE Discovery & planning Migration expertise Migration business case Migration plan Migrate Integrate Test Transform Monitor Optimize

Slide 15

Slide 15 text

Typical three tier: How would you move this? Presentation tier Application tier Database tier

Slide 16

Slide 16 text

Which option is right for you? Rehost: Run servers on Amazon Elastic Compute Cloud (Amazon EC2) Replatform: Migrate to a managed service Amazon Relational Database Service (Amazon RDS) Refactor: Modernize application/migrate to cloud-native solution Amazon Elastic Kubernetes Service (Amazon EKS), AWS Lambda, Amazon DynamoDB, and others)

Slide 17

Slide 17 text

Rehost: Run servers on Amazon EC2 • Familiar administration experience • Full control over the environment • COTS applications • For database servers • All features available • All versions supported • Full administrative access Amazon EC2

Slide 18

Slide 18 text

Typical three tier: Rehost Presentation tier Application tier Database tier Presentation tier Application tier Database tier AWS DMS Rehost

Slide 19

Slide 19 text

Replatform: Migrate to a managed service • Optimized architecture • Automated patching • Automated backups • Proven high availability • COTS applications AWS Directory Service Amazon RDS Amazon FSx Replatform

Slide 20

Slide 20 text

AWS Cloud AWS Region VPC Availability zone 1 Availability zone 2 Generic database Generic database Generic database On-Premises Replatform Replatform: Databases

Slide 21

Slide 21 text

Refactor: Modernize app/adopt cloud-native services • Containers/microservices • Amazon EKS • Amazon Elastic Container Service (Amazon ECS) • AWS Lambda • Amazon API Gateway • Aurora: SQL/OLTP • DynamoDB: NoSQL AWS Lambda Amazon Elastic Kubernetes Service Amazon Elastic Container Service Amazon API Gateway Amazon Aurora Amazon DynamoDB

Slide 22

Slide 22 text

Typical three tier: Refactor Presentation tier Application tier Database tier Presentation tier Application tier Database tier AWS DMS Amazon API Gateway AWS Lambda Amazon Aurora Amazon DynamoDB Amazon Simple Storage Service (Amazon S3) Containers Containers

Slide 23

Slide 23 text

COMMUNITY DAY MENA Database Migration Tools

Slide 24

Slide 24 text

Database Migration Service & Schema Conversion Tool AWS SCT Development tooling to convert schemas between databases and data warehouses Native tooling Migration options included with the engine Open source Ora2Pg and others Commercial Attunity, Golden Gate, Informatica, Talend, and others Benefit • Automates schema conversion including database structure and code • Minimizes manual effort of performing a schema re-write • Allows conversion from commercial to open source platforms Benefit • Leverage a familiar environment • Full support for native features Benefit • Tailored solution for a specific problem • Multiple tools can offer a more complete solution than any one product • Free Benefit • Commercial solutions are available for a wide range of migration sources and targets including legacy mainframe systems AWS DMS Database migration and replication managed service Benefit • Easily and securely migrate and/or replicate your databases and data warehouses to AWS • Migrate between different database engines • Low cost and global availability

Slide 25

Slide 25 text

AWS Database Migration Service & AWS Schema Conversion Tool AWS Database Migration Service (AWS DMS) easily and securely migrates and/or replicates your databases and data warehouses to AWS AWS Schema Conversion Tool (AWS SCT) converts your commercial database and data warehouse schemas to open-source engines or native AWS services, such as Amazon Aurora and Amazon Redshift Modernize Migrate Replicate

Slide 26

Slide 26 text

Flexible, powerful migration tooling Most sources and targets, higher conversion automation AWS DMS AWS SCT For heterogeneous migrations, such as: • Oracle to Aurora PostgreSQL or Aurora MySQL • Cassandra to Amazon DynamoDB

Slide 27

Slide 27 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Schema Conversion Tool (AWS SCT) • Client-side tool • Database schema and code conversion service • OLTP schema or data warehouse schema • Converts embedded SQL statements too • Creates a conversion report • Helps choose the best target engine

Slide 28

Slide 28 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS SCT Assessment Report • Assessment of migration compatibility of source databases with open-source database engines – RDS MySQL, RDS PostgreSQL and Aurora • Recommends best target engine • Provides details level of efforts to complete migration

Slide 29

Slide 29 text

Database migration process Step 1: Convert or copy your schema Source DB or DW AWS SCT Native tool Destination DB or DW Step 2: Move your data Source DB or DW AWS SCT Destination DB or DW AWS DMS Copy or convert Copy DB DW

Slide 30

Slide 30 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS DMS Components • Replication instance • Tasks • Endpoints Source Target

Slide 31

Slide 31 text

Customer Premises Application Users AWS Internet VPN • Start Replication Instance • Connect to Source & Destination • Select Tables, Schemas or Databases Keep your apps running during the migration AWS Database Migration Service • Let DMS create tables, load data, and keep them in sync • Switch applications to new target at your convenience

Slide 32

Slide 32 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What else I can do? – Fan In Source Target Source Source

Slide 33

Slide 33 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What else I can do? – Fan Out Source Target Target Target

Slide 34

Slide 34 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What else I can do? – Take it all or not Source Target

Slide 35

Slide 35 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What else I can do? SQL Server MySQL Oracle Oracle Oracle Aurora

Slide 36

Slide 36 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. General Workflow—Full Load + CDC • Migrate schema with SCT • Drop all FK constraints/indexes on target • Initiate full load using DMS • Stop task (can do this automatically with task settings) • Create secondary indexes • Resume task to apply cached changes • Enable foreign keys • Start change data capture

Slide 37

Slide 37 text

Legacy databases to AWS migration playbooks Resources to help guide your migration • Topic-by-topic overview of how to migrate databases and data warehouses to AWS services • Covers all proprietary features and the different database objects • Migration best practices • Oracle to Aurora PostgreSQL • SQL Server to Aurora MySQL • SQL Server to Aurora PostgreSQL • Oracle to Aurora MySQL • Cassandra to DynamoDB, data warehouses to Amazon Redshift, and Db2 LUW to Aurora PostgreSQL AWS SCT AWS DMS Playbook Schema Data Best practices

Slide 38

Slide 38 text

More than 200,000 databases migrated with AWS DMS

Slide 39

Slide 39 text

Learn more Purpose-built databases aws.amazon.com/products/databases/ AWS Database Migration Service resources aws.amazon.com/dms/resources/ Database Freedom aws.amazon.com/solutions/databasemigrations/database- freedom/ AWS Database Migration Service Partners aws.amazon.com/dms/partners/ Database Migrations Resources aws.amazon.com/solutions/database-migrations/resources/

Slide 40

Slide 40 text

Learn databases with AWS Training and Certification 25+ free digital training courses cover topics and services related to relational and nonrelational databases Resources created by the experts at AWS to help you build and validate database skills Validate expertise with the AWS Certified Database – Specialty exam The classroom offering, Planning and Designing Databases on AWS, features AWS expert instructors and hands-on activities Visit the databases learning path at aws.amazon.com/training/path-databases