migration in aws - amazon web services

77
Author & Cloud Expert Aryan AWS Expert Atul Kumar Migration in AWS

Upload: others

Post on 24-May-2022

11 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Migration in AWS - Amazon Web Services

Author & Cloud Expert

AryanAWS Expert

Atul Kumar

Migration in AWS

Page 2: Migration in AWS - Amazon Web Services

➢ 20+ Years working in IT & Certified Cloud Architect

➢ Help Customers Migrating to Cloud & Integrations

➢ Author & Speaker

➢ Helped 5000+ individuals to learn Cloud

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

2

Atul Kumar

Page 3: Migration in AWS - Amazon Web Services

⮚ Working on AWS since 2013⮚ Certified AWS Architect⮚ Work for the Top Cloud Professional Services provider

in the world as AWS Solution Architect & AWS DevOps Professionals.

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

3

Aryan: AWS Expert

Page 4: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021 | K21 Academy | All Rights Reserved

Making Most Of Training

Page 5: Migration in AWS - Amazon Web Services

[email protected]

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

5

Getting Help

Page 6: Migration in AWS - Amazon Web Services

⮚ Live Interactive Session⮚ FREE Unlimited Retake for Next 1 Years

⮚ FREE On-Job Support for next 1 Years

⮚ Ask Questions & Make Session Interactive

⮚ Add Yourself in WhatsApp Group

⮚ Live Session Details http://k21academy.com/live

⮚ Ask as Many Questions as you can & make session interactive

⮚ Do Lots of Hands-On

⮚ Learn at your own Pace & Look How Far You have come

⮚ Share WIN

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

6

Making Best of Your Training

Page 7: Migration in AWS - Amazon Web Services

AWS Migration Module

Agenda

Page 8: Migration in AWS - Amazon Web Services

➢ What is Migration?➢ Advantages of Cloud Migration➢ Migration to AWS➢ What is Cloud Adoption Framework (CAF)➢ 6R Migration Pattern➢ AWS Migration Best Practices➢ What is Application Migration to AWS➢ Types of AWS Migration Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

8

Agenda: Module

Page 9: Migration in AWS - Amazon Web Services

➢ Migration is the process of moving from one platform to another, it can be migrating web-based application,

➢ databases, virtual machines and so on.➢ Database migration is a complex, multiphase process,

which usually includes the following: ➢ Assessment of the migration task ➢ Database Schema Conversion ➢ Script Conversion ➢ Data Migration ➢ Functional Testing ➢ Performance Tuning

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

9

What is Migration?

Page 10: Migration in AWS - Amazon Web Services

➢ Cloud migration is the process of moving data, applications or other business elements from an organization's on-premise computers to the cloud, or moving them from one cloud environment to another

➢ Successful migration to a cloud environment requires the use of cloud integration tools and other middleware

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

10

Cloud Migration

Page 11: Migration in AWS - Amazon Web Services

➢ Scalability - Inherent scalability and flexibility, which enables planning without worrying about future IT infrastructure and allocate resources accordingly.

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

11

Advantages of Cloud Migration -Scalability

Page 12: Migration in AWS - Amazon Web Services

➢ Reduced Costs - Cloud migration helps reduce both operating expense and capital expense by acquiring and paying for the resources only when required.

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

12

Advantages of Cloud Migration –Reduced Costs

Page 13: Migration in AWS - Amazon Web Services

➢ Better Storage - Vast amounts of highly secure data storage at a fraction of the price to store the data on premise. Data storage capacity can also be expanded or shrunk based on the necessity.

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

13

Advantages of Cloud Migration –Better Storage

Page 14: Migration in AWS - Amazon Web Services

➢ Automated Tasks - All cloud applications are updated in the backend without interference, thereby resulting in improved organization-wide stability.

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

14

Advantages of Cloud Migration –Automated Tasks

Page 15: Migration in AWS - Amazon Web Services

➢ Automated Tasks - All cloud applications are updated in the backend without interference, thereby resulting in improved organization-wide stability.

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

15

Advantages of Cloud Migration –Operational Flexibility

Page 16: Migration in AWS - Amazon Web Services

➢ Extensive Mobility - Important applications can be accessed on the move with full security available at all times

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

16

Advantages of Cloud Migration –Extensive Mobility

Page 17: Migration in AWS - Amazon Web Services

➢ Normally the following types of resources are migrated to AWS:

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

17

Migration to AWS

Page 18: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

18

Business Case for Migration to AWS

Page 19: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

19

Business Case for Migration to AWS

Page 20: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

20

Business Case for Migration to AWS

Page 21: Migration in AWS - Amazon Web Services

➢ Cloud Adoption Framework helps the organization to understand the way a Cloud Adoption Transformation works

➢ It provides a pre-defined structure, so that an individual unit in organization can identify and address gaps and skills in the processes

➢ Applying this in organization helps them in an actionable plan with the defined streams of work that guides the organization a path to acquire for a cloud adoption

➢ It guides whether to upgrade, update or adapt new skills in order to grow an advantage for the organization

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

21

What is Cloud Adoption Framework (CAF)

Page 22: Migration in AWS - Amazon Web Services

➢ In order to successfully migrate your data/applications and adopt cloud computing, the following six points must be kept in perspective:

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

22

6 Major Points in CAF

Page 23: Migration in AWS - Amazon Web Services

➢ It is based upon Value Realization

➢ It helps in understanding for the stakeholders about how they should update the staff skills and organizational processes that will help in optimize the business while they are moving into cloud

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

23

Business Perspective - Business

Page 24: Migration in AWS - Amazon Web Services

➢ Provides guidance to stakeholders for development of people, training and communications

➢ Updates staff skills & optimizes the organization's workforce

➢ Ensuring competencies are in place at appropriate time https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

24

Business Perspective - People

Page 25: Migration in AWS - Amazon Web Services

➢ Prioritize and Control ➢ Gives a guidance to stakeholders who are responsible for

supporting business processes with technology ➢ Helps stakeholders to understand the way to update staff skills

and organizational processes ➢ These processes are necessary for ensuring business governance

in the cloud, to manage and measure cloud investments for evaluation of resources used

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

25

Business Perspective - Governance

Page 26: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

26

Technical Perspective - Platform

Page 27: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

27

Technical Perspective - Security

Page 28: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

28

Technical Perspective - Operations

Page 29: Migration in AWS - Amazon Web Services

➢ The journey to the cloud usually involves 4 phases: ➢ Project ➢ This is the proof of concept (POC) stage

➢ Foundation ➢ After gaining some experience with AWS by doing POC, we create the foundation for our cloud

journey ➢ Creating a landing zone (A Pre-configured, secure multi account AWS target environment)

➢ Migration ➢ In this stage the customer starts to migrate the applications, databases to AWS

➢ Reinvention ➢ This is an optimization phase where the customer can repeatedly improve their cloud resource to

get the best value from the cloud

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

29

Customer AWS Cloud Journey

Page 30: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

30

AWS Cloud Adoption Journey

Page 31: Migration in AWS - Amazon Web Services

6R Migration Pattern

Page 32: Migration in AWS - Amazon Web Services

➢ While migrating to AWS we follow the 6R migration Pattern:

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

32

AWS Cloud Adoption – 6R Migration Pattern

Page 33: Migration in AWS - Amazon Web Services

➢ Rehost ( Lift & Shift) is a strategy of Rehosting applications to AWS without making any changes to the on-premise application.

➢ One can use AWS server migration service and AWS migration hub, containerize the application and then migrate it to AWS.

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

33

AWS Cloud Adoption – 6R Migration Pattern

Page 34: Migration in AWS - Amazon Web Services

➢ Replatform (Lift, Tinker & Shift) when organization have outdated structures to move into laaS cloud platforms. Instead of changing core of the applications they are emulated through a VM so that systems become compatible with modern day cloud technologies without restructuring the systems.

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

34

AWS Cloud Adoption – 6R Migration Pattern

Page 35: Migration in AWS - Amazon Web Services

Repurchasing is the fastest way possible to access the cloud-based SaaS, it takes your company's existing data & applications and perform them clearly in a cloud-based product in order to manage operations such as HR, CRM or CMS

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

35

AWS Cloud Adoption – 6R Migration Pattern

Page 36: Migration in AWS - Amazon Web Services

Refactor/Rearchitect is a strategy used for a need to add new features or in order to increase the scalability of the application or in order to boost your business continuity and productivity, most expensive strategy usually executed after the initial migration via one of the approaches like Rehosting.

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

36

AWS Cloud Adoption – 6R Migration Pattern

Page 37: Migration in AWS - Amazon Web Services

Retain is to keep some elements in your on-premise which are not ready to migrate, focuses on Migrating what makes sense for the business.

➢ OS and Applications which are not supported ➢ Applications which do not have any

compatibility or need of migrating to cloud ➢ Applications which are outdated, upgrade

them accordingly and then migrate them to the cloud

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

37

AWS Cloud Adoption – 6R Migration Pattern

Page 38: Migration in AWS - Amazon Web Services

Retire is to identify the assets that are no longer useful and can be removed which helps in boosting your business case and giving attention towards maintaining the needful resources which can be widely used.

➢ Due to Mergers and Acquisitions (M&A) duplicate assets are present

➢ Due to clustered hosts ➢ Due to Alternative High Availability Hosts

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

38

AWS Cloud Adoption – 6R Migration Pattern

Page 39: Migration in AWS - Amazon Web Services

➢ Start small and simple: Use AWS services to get simple tasks done quick and quick, the more your staff becomes comfortable with AWS services, and the faster your stakeholders see the benefits, the easier it is to convince them of the benefits of AWS

➢ Automate: Automate extensively to realize the speed of cloud computing, spend time revisiting processes and establishing new ones that can be automated as you migrate

➢ Adaptive: Adjust your internal processes so that the stakeholders can embrace this technological change and align themselves with this new paradigm

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

39

AWS Migration Best Practices

Page 40: Migration in AWS - Amazon Web Services

⮚ Leverage fully managed services wherever possible ⮚ Let AWS handle the day-to-day maintenance activities and free up your team to focus on

customers ⮚ You can Monitor everything comprehensively and have data-driven insights into how the

environment performance and use them to make business decisions when considering trade-offs between performance and costs

⮚ Use cloud-native monitoring tools New Relic, APPDYNAMICS, AWS CloudWatch Logs etc., that provide application-level insights and monitoring on AWS

⮚ Leverage AWS enterprise support like the AWS Technical Account Managers (TAMs) and billing concierges, which can provide a central point of contact and escalation path with AWS, as well as an invaluable source of technical information and guidance

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

40

AWS Migration Best Practices

Page 41: Migration in AWS - Amazon Web Services

⮚ It is the process of moving an application from an

on-premises enterprise server to AWS

environment, to experience benefits like Elasticity,

Disaster Recovery, Enhanced Cost Management

and many more .

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

41

What is Application Migration To AWS ?

Page 42: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

42

Application Migration Phase 1

Page 43: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

43

Application Migration Phase 2

Page 44: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

44

Application Migration Phase 3

Page 45: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

45

Application Migration Phase 4

Page 46: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

46

Application Migration Phase 5

Page 47: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

47

Application Migration Phase 6

Page 48: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

48

Types Of AWS Migration Services

Page 49: Migration in AWS - Amazon Web Services

⮚ Application Discovery Service Collects configuration, usage and behavioral data from

on-premise servers and helps to plan the migration to AWS cloud

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

49

Application Discovery Service

Page 50: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

50

Application Discovery Service -Benefits

Page 51: Migration in AWS - Amazon Web Services

➢ AWS Discovery ConnectorTo collect performance information and system specification for all VMS in one vCenter, deploy an AWS Agentless Discovery Connector in each VMware vCenter

➢ AWS Discovery AgentTo collect system specification, performance, processes and network dependencies, install an AWS Application Discovery Service Agent on each VM

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

51

Application Discovery Tools

Page 52: Migration in AWS - Amazon Web Services

Agentless Server Discovery ➢ Agentless Discovery Connector is

deployed on VMware vCenter ➢ Connector identifies VM's and host

associated with it ➢ Collects static configuration and

computes average and peak utilization- CPU, RAM, Disk utilization

Agent Based Server Discovery ➢ Agent is deployed on on-premise

server ➢ Agent collects information like static

config data, system performance, running processes and many more

➢ Collected data can be used to analyze and identify the network connection

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

52

Types Of Application Discovery

Page 53: Migration in AWS - Amazon Web Services

➢ It helps to track the progress of the application by providing a single location dashboard. It allows you to choose the AWS and partner migration tools and provides key matrices and progress for each application

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

53

AWS Migration Hub

Page 54: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

54

AWS Migration Hub Dashboard

Page 55: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

55

AWS Migration Hub Dashboard

Page 56: Migration in AWS - Amazon Web Services

➢ Automates an incremental replication of live Provide end-to-end server

➢ Provide end-to-end server migration process for on-premise VMS

➢ Supports all widely used operating systems

➢ It is cost effective ➢ Provides UI to track the progress of

the server

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

56

Server Migration Services

Page 57: Migration in AWS - Amazon Web Services

Step 1: Scheduling ➢ Schedule Migration job

Step 2: Uploading ➢ Take a Snapshot ➢ Export VM to OVF template ➢ Upload VMDK to S3 Bucket ➢ Clean the Snapshot

Step 3: Converting ➢ Convert VMDK file to an Amazon EBS Snapshot➢ Delete the VMDK file in the S3 Bucket

Step 4: Creating AMI ➢ Create an AMI

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

57

Server Migration Services – How Does It Work?

Page 58: Migration in AWS - Amazon Web Services

➢ Helps in quick and secure migration of database➢ Migrate data to and from commercial and open-source databases➢ Supports homogenous(For e.g. Oracle to Oracle) as well as heterogenous(For e.g. Oracle to

Amazon Aurora) migration ➢ Allows you to stream data to Amazon Redshift, Amazon DynamoDB and Amazon S3 ➢ Used for continuous data replication with high-availability

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

58

AWS Database Migration

Page 59: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

59

AWS Database Migration - Features

Page 60: Migration in AWS - Amazon Web Services

Following are the challenges that occurs during Database Migration:

➢ Identifying and prioritizing Database(DB) Migration

➢ Migration of large database in Tera Bytes(TBs) & Peta Bytes(PB’s)

➢ Live Migration with Zero Data Loss

➢ Schema Migration

➢ Secured database Migration

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

60

AWS Database Migration Challenges

Page 61: Migration in AWS - Amazon Web Services

➢ One should have a good understanding about the source

database

➢ Planning time and resources would be involved in the

Migration

➢ Better understanding of the Network

➢ Better understanding of the Exact Requirements

➢ Use Schema Conversion Tool to check if Heterogeneous

Database Migrations are possible

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

61

Overcoming AWS Database Migration Challenges

Page 62: Migration in AWS - Amazon Web Services

➢ A web service used to migrate data from on-premise databases, DB instance or database running on an Amazon Elastic Compute Cloud (Amazon EC2) instance

➢ Use the AWS Schema Conversion Tool (AWS SCT) to translate your database schema to the new platform and then use AWS DMS to migrate the data

➢ AWS DMS and AWS Snowball Edge Integration enables mass Database Migrations and Migration of Large Databases

➢ AWS Migration Hub helps to keep track of the progress of DB Migrations and provides key metrics

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

62

AWS Database Migration Services (DMS)

Page 63: Migration in AWS - Amazon Web Services

➢ Starts the first migration in 10 minutes or less ➢ Keeps the apps running during the migration➢ Replicates within, to or from Amazon EC2 or RDS➢ Moves database to the same or different database engine

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

63

Type Of Database Migrated Using AWS Services

Page 64: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

64

How Is AWS DMS Different?

Page 65: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

65

AWS Schema Conversion Tool (SCT)

Page 66: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

66

AWS Schema Conversion Tool (SCT)

Page 67: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

67

DB Conversions Supported By SCT

Page 68: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

68

AWS SCT Project Window

Page 69: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

69

AWS Schema Conversion Tool (Oracle To Aurora)

Page 70: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

70

Sample SCT Assessment Report

Page 71: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

71

How DMS Works?

Page 72: Migration in AWS - Amazon Web Services

DB Migration – From Source To Target

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

72

Page 73: Migration in AWS - Amazon Web Services

DB Migration Type - Homogenous

Source and Destination have same DB engines( For Example: MySQL to MySQL)

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

73

Page 74: Migration in AWS - Amazon Web Services

Source and Destination have different DB engines( For Example: MySQL to Aurora DB)

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

74

DB Migration Type – Heterogenous

Page 75: Migration in AWS - Amazon Web Services

It is the process of moving data from onsite computer to AWS

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

75

What Is Data Migration To AWS

Page 76: Migration in AWS - Amazon Web Services

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

76

Data Migration Services

Page 77: Migration in AWS - Amazon Web Services

https://www.facebook.com/K21Academy

http://twitter.com/k21Academy

https://www.linkedin.com/company/k21academy

https://www.youtube.com/k21academy

https://instagram.com/k21academy

https://k21academy.com/youtube © Copyright 2021| K21 Academy | All Rights Reserved

77

Find Us