0% found this document useful (0 votes)
169 views132 pages

Advanced Migrating To AWS - Complete

Uploaded by

jarg200690
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
169 views132 pages

Advanced Migrating To AWS - Complete

Uploaded by

jarg200690
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 132

AWS Solutions Training for Partners

Advanced Migrating to AWS –


Technical
Module 1

Introduction
In this course, you will learn how to:

Course objectives • Identify how re-host and re-platform migration


strategies apply to customer migration use cases
• Describe how to plan and perform large-scale
rehosting migrations
• Identify scenarios for modernizing enterprises
through migrating to reliable, secure, cloud
infrastructures
• Identify scenarios for migrating applications to run in
container environments
• Use CloudEndure Migration Factory (CEMF) to
automate large-scale migrations that involve
rehosting
• Use AWS App2Container (A2C) to migrate
applications to container-based platforms

3 © 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved.
Course overview

1. Introduction
Lab: Setup

2. Modernize the enterprise


3. Implement AWS CloudEndure Migration Factory
Lab: CloudEndure Migration Factory

4. Containerize applications with AWS App2Container


Lab: App2Container

5. Course review and additional resources


© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 4
Objectives

In this module, you will learn how to:

• Identify course goals and objectives, agenda, and prerequisites


• Describe re-host and re-platform migration methodologies
• Identify migration opportunities to help customers realize a lower total cost of
ownership (TCO) and overcome the migration bubble
• Navigate the hands-on labs environment

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 5
Prerequisites

AWS Solutions Training


AWS Technical for Partners (STP):
Accreditations

Professional Foundations (Technical)


Assess AWS Well-Architected
Framework, TCO, business

Previous knowledge
AWS STP:
AWS Cloud Economics case
Well-Architected Best
Practices (Technical) Mobilize Application discovery,

Courses
Landing Zone,
database migration
AWS STP: Migrate and
AWS Certified CloudEndure Migration
Migrating to AWS Modernize
Solutions Architect
Certifications

(Technical)
Associate
or
AWS Certified AWS STP:
SysOps Administrator Containers on AWS
Associate (Technical)

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 6
Common migration strategies

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 7
Migration strategies review (match)

A. Lift and shift


1 REHOST
2 minutes
2 REPLATFORM

3 REPURCHASE
Type in chat
B. Rewrite
application
4 REFACTOR

5 RETIRE

C. Lift, tinker,
and shift
6 RETAIN

7 RELOCATE
© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 8
Migration strategies
4 Manual Install Config Deploy
Rehost
1 Automated Migration
tools

Determine Modify
Replatform
Discover platform infrastructure

Validation

Transition
2 3
Assess/ App code Production
Refactor Redesign ALM/SDLC Integration
Prioritize development
Determine
Buy
Repurchase Install/setup
COTS/SaaS

5 Relocate Automated

Retain
• COTS: Commercial “off-the-shelf” software
Retire • SaaS: Software as a service
• ALM: Application lifecycle management
© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. • SDLC: Software development lifecycle 9
Help customers realize cost savings

Payback period
Cost

Migration bubble
Current /
TCO Do nothing
(with growth)
Cost optimizing /
modernizing

AWS
environment
Time

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 10
Activity: Experience and feedback

Classroom feedback:

• What is your experience with AWS? 2 minutes


• What are your goals for the course?
• What type of migration situations do you face?

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 11
Lab 1: Setup

1. Access AWS accounts.


20 minutes
2. Navigate and use the lab environment.
3. Open the lab instructions by following this link:

Hands-on lab

https://advancemigrationtraining.s3.amazonaws.com/public/index.html

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 12
Summary

In this module, you learned how to:

• Identify course goals and objectives, agenda, and prerequisites


• Describe re-host and re-platform migration methodologies
• Identify migration opportunities to help customers realize a lower total cost of
ownership (TCO) and overcome the migration bubble
• Navigate the hands-on labs environment

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 13
Module 2

Modernize the Enterprise


Objectives

In this module, you will learn how to:

• Define enterprise modernization and its benefits


• Describe modernization as a continuous cycle
• Identify options for modernizing applications
• Modernize enterprise systems with rehosting
• Modernize applications with containers
• Identify applications for containers
• Describe how to host and run container-based applications
• Explain how to prepare for a migration

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 15
Enterprise modernization benefits

What is enterprise modernization?


• Maximizes resiliency, engineering
efficiency, and business agility – with
Architecture operational excellence
• Combines modern infrastructure,
Enterprise architecture, and organizational patterns
modernization • Replatform or refactor

Organizational
Benefits
patterns • Increases uptime, streamlines fixes
Infrastructure • Improves customer experience
• Reduces effort to support
© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 16
Innovation flywheel
Feedback
Gain availability, scalability,
business agility, cost optimization

• Track metrics to collect and analyze


feedback
Innovation • Fine-tune applications – always
flywheel evolve
Experiment Ideas • Go to market with new offerings
• Fund experimentation and new ideas

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 17
Options

Migration
automation
tools

Rehost

Replatform Infrastructure

Refactor Integration

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 18
Sample solution
AWS Cloud

Amazon
EC2
Users Amazon Elastic Load Amazon
CloudFront Balancing RDS

Amazon
EC2

Rehost Replatform
• Rehost to resilient, secure networks
• Replatform critical components
• Minimize changes
© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 19
Modernize with containers

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 20
Why containers

Implement leading technology for cloud-native applications – use the


same technology for existing applications

Deliver applications efficiently

Keep applications agile and portable

Provide standardized packaging

Reduce risks – defined and managed as code

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 21
Container benefits

Develop and deploy efficiently to


Agility achieve business goals

Build and operate with cloud-


Enterprise DevOps native tools

Enable portable, scalable, and isolated


Portability and isolation application deployment

Reduce IT overhead, optimize


Operational efficiency
compute infrastructures

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 22
Containerized example
AWS Cloud

Users Amazon Elastic Load Amazon Amazon


CloudFront Balancing Elastic RDS
Container
Service

Replatform/
Replatform
Refactor

• Migrate to resilient, secure networks


• Refactor and containerize to gain agility and cost savings
• Replatform critical components, such as databases
© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 23
Containerization complexity
Time/effort
to migrate
Attributes of application to migrate

Package or source install, single process, single file or folder,


static files secrets, HTTP/S, web interface, open-source license

Unattended install, multiple processes, several files, folders,


network secrets, TCP/UDP, services, background processing,
scheduled jobs, agent-daemon, proprietary source license

Interactive install, self-modifying processes, data


everywhere, dynamic secrets, IPsec (isolated), desktop client,
restrictive license
© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 24
Get started

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 25
Premigration tasks

Ensure that a landing Complete an initial


zone is ready, including portfolio assessment
networking, server
authentication, and
logging

Group servers and Grant permissions to AWS


applications into Professional Services or an
migration waves AWS Partner to run the
migration

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 26
Review

Question 1 Question 4

Question 2

Question 3 Proceed to Summary

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 27
Question 1

What are key elements of enterprise modernization?


1 minute
A. Allow enhanced security, reliable networks, and operational
efficiency
B. Combine modern infrastructure, architecture, and
organizational patterns Type in chat

C. Perform well-architected migrations to positively impact


performance of the business process
D. Use cookie-cutter approaches that leverage fast-paced
innovation to deliver agile IT processes

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 28
Question 1 answer

What are key elements of enterprise modernization?

A. Allow enhanced security, reliable networks, and operational


efficiency
B. Combine modern infrastructure, architecture, and
organizational patterns (Correct)
C. Perform well-architected migrations to positively impact
performance of the business process
D. Use cookie-cutter approaches that use fast-paced
innovation to deliver agile IT processes

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 29
Question 2

What are some benefits to modernizing applications?


1 minute

Type in chat

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 30
Question 2 answer

What are some benefits to modernizing applications?


• More uptime
• Streamlined fixes
• Improved response times
• Improved end-user experience
• Reduced headcount to support
• Less reliance on systems that are expensive to run, hard to maintain, and
difficult to find employees to support

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 31
Question 3

Which step in the innovation flywheel helps


businesses resolve issues before they impact the
business? 1 minute

Type in chat

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 32
Question 3 answer

Which step in the innovation flywheel helps


businesses resolve issues before they impact the
business?

Track metrics to collect and monitor log files and


analyze feedback.
The more efficiently businesses collect and analyze
feedback, the more responsive they can be to their
customers’ needs.

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 33
Question 4

What are the attributes of applications that are


easier to migrate to containers?
1 minute
• Installation methods
• Application modes
• Storage Type in chat
• Security, authentication, connectivity
• Networking
• User interface
• Source license

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 34
Question 4 answer

What are some attributes of applications that are


easier to migrate to containers?
• Installation methods: Package or source installer
• Application modes: Single process
• Storage: Single file, single folder
• Security, authentication, connectivity: Static file secrets
• Networking: HTTP or HTTPS
• User interface: Web interface
• Source license: Open-source licensing

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 35
Summary

In this module, you learned how to:


• Define enterprise modernization and its benefits
• Describe modernization as a continuous cycle
• Identify options for modernizing applications
• Modernize enterprise systems with rehosting
• Modernize applications with containers
• Identify applications for containers
• Describe how to host and run container-based applications
• Explain how to prepare for a migration

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 36
Module 3

Implement AWS CloudEndure


Migration Factory
Objectives

In this module, you will learn how to:


• Describe the benefits of using automation to perform large-scale migrations
• Identify the tasks required to plan, test, perform, and switch to a large-scale
migration
• Describe a framework for large-scale migrations
• Describe the CloudEndure Migration Factory workflow
• Identify the steps to prepare, perform, and monitor an CloudEndure Migration
Factory migration

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 38
Migration tasks

Typical tasks
• Verify prerequisites
• Install CloudEndure agents
• Verify replication status
• Launch servers for boot test
• Schedule application cutover time frame

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 39
Migration at scale

Migrate thousands of servers


efficiently

Challenges:
• Multiple tools are not integrated
• Slow, cumbersome manual processes
can be error prone

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 40
Migration activities

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 41
Migration phases

Build Validate Test Cutover

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 42
Build phase
1 2 3

Install Push post-


Check source CloudEndure
prerequisites launch script to
agent on each source
source

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 43
Validate phase
1 2 3

Create local Perform


Monitor administrator CloudEndure
replication (optional) dry run

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 44
Test phase
1 2 3

Perform
Test launch instance 2/2 Terminate
check test instances

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 45
Cutover phase
1 2 3

Shut down Launch Verify


server cutover applications

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 46
Automate migrations with a
factory

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 47
Automation benefits

• High efficiency
• Less prone to error
• Large-scale migrations
with less effort
• Reduced cost

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 48
Automation example – 1

Automate CloudEndure agent installations


• One server: 5 minutes
• 100 servers, different platforms, manually: 500 minutes
• 100 servers, automated: 5 minutes

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 49
Automation example – 2

Orchestrate CloudEndure cutover

• Process involves checking status, updating


blueprints, launching servers, verifying job status,
and cleaning up server
• Automation manages the entire cutover process

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 50
Automation example – 3

Customer example: Migrated hundreds of


servers in one day
• 418 servers in 1 day
• One week later, 626 servers in one day

Tips
• Minimize network changes
• Automate as much as
possible
• Prepare application owners
© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 51
CloudEndure Migration Factory (CEMF)

AWS solution powered


by CloudEndure

• Rehosting
• Integrates with AWS Managed Services
• Solves integration, automation, and
orchestration problems
• Offers simplicity, speed, and cost reduction

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 52
Migration metadata pipeline
Pre-migration Discover Build Validate Test Cutover
Configuration
CSV file Management
Database Automation
API API API

Migration metadata integration pipeline


API-driven pipeline: Frontend UI + backend database

API API API

CloudEndure AWS Managed


Migration Services

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 53
Migration Factory workflow

Cutover Build
Pre- Wave Post-
migration 0-n migration
Test Validate

Migration implementation

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 54
Premigration requirements

1. Complete AWS landing zone design


and build.
2. Complete portfolio assessment.
3. Complete wave planning.
4. Deploy migration factory to your
AWS account.
5. Increase Amazon EC2 limits in your
AWS account.
6. Have a CloudEndure account.
7. Prepare source environments.
© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 55
Deploy CloudEndure Migration Factory

Access a Launch AWS Create the first Build a Test solution


domain CloudFormation user in migration migration server by using
user with stack with an factory and automation
local admin automation update schema scripts
permissions template

https://docs.aws.amazon.com/solutions/latest/aws-cloudendure-migration-factory-solution/deployment.html

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 56
Prepare the source environment

• Create (or enable) a user capable of connecting to the servers


• Open the following firewall ports:
• TCP 443 outbound from the source server to the CloudEndure console
• TCP 1500 outbound from the source server to the CloudEndure replication
server
• Verify that Windows servers run .NET Framework 3.5 or later
• Verify that Windows servers have a least 3 GB of free space on drive C
• Configure the migration server’s network settings

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 57
Migration waves
Migration implementation plan
Week 1 Week 2 Week 3 Week 4 Week 5 Week 6
Build Validate
Wave 1
Test Cutover

Build Validate
Wave 2
Test Cutover

Build Validate
Wave 3
Test Cutover

Build Validate
Wave 4
Test Cutover
© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 58
Migration implementation
Build Validate Test Cutover
Check prerequisites CloudEndure dry run Test launch App verification
Source Automated CE Automated CE Automated Source Automated

CE agent install Create local admin Instance 2/2 check Cutover launch
Source Automated Source Automated AWS Automated CE Automated

Push post-launch script Monitor replication Terminate test Server shutdown


Source Automated CE Automated AWS Automated Source Automated

CloudEndure Migration Factory (CEMF) - Automation


API-driven pipeline: Frontend UI + backend database

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 59
Migration wave automation
1. Check prerequisites. Corporate AWS Cloud
Build

2. Install CloudEndure agents. data centers

3. Push post-launch scripts. Migration wave 1

4. Monitor data replication.


Validate

5. Create local admin account. CEMF Amazon


application DynamoDB
6. CloudEndure cutover dry run. and APIs

7. Test launch. Migration wave 2


Migration
Test

8. EC2 instance 2/2 status check. server


9. Shut down test instance.

10. Shut down source machine.


Cutover

11. Cutover launch.

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 60
Example: Install CloudEndure agents
1. Check prerequisites. Corporate AWS Cloud
Build

2. Install CloudEndure agents. data centers

3. Push post launch scripts. Migration wave 1

4. Monitor data replication.


Validate

5. Create local admin account. CEMF Amazon


application DynamoDB
6. CloudEndure cutover dry run. and APIs

7. Test launch. Migration wave 2


Migration
Test

8. EC2 instance 2/2 status check. server


9. Shut down test instance.

10. Shut down source machine.


Cutover

11. Cutover launch.

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 61
Example: Monitor data replication
1. Check prerequisites. Corporate AWS Cloud
Build

2. Install CloudEndure agents. data centers

3. Push post launch scripts. Migration wave 1

4. Monitor data replication.


Validate

5. Create local admin account. CEMF Amazon


application DynamoDB
6. CloudEndure cutover dry run. and APIs

7. Test launch. Migration wave 2


Migration
Test

8. EC2 instance 2/2 status check. server


9. Shut down test instance.

10. Shut down source machine. Your


Cutover

automation
11. Cutover launch. scripts

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 62
Post-migration activities

Activities depend on specific scenarios


and requirements

Example tasks:
• Update servers in the source configuration
management database (CMDB)
• Decommission source machines
• Optimize Amazon EC2 instance
performance

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 63
Customers use Migration Factory

Energy • Intended to migrate 1,000 servers in a year, but


they only completed 25 servers. They deployed
company CloudEndure Migration Factory and migrated
1,200 servers in 5 months.

Hospitality • Used CloudEndure Migration Factory to rehost


1,400 servers to AWS. Successfully migrated 626
company servers in a single cutover.

• Migrated 621 servers within 4 months with an


IT company increasing velocity due to the automation: 100
servers in July, 140 servers in August, 160 servers
in September, and 211 servers in October.
© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 64
Migration Factory solution architecture
Solution deployment

Amazon Elastic Container Service


(front-end code)

Amazon Amazon S3
CloudFront
AWS Lambda Amazon Cognito
Migration (login functions)
server
Amazon DynamoDB
Amazon API Admin functions
Gateway
AWS Managed Services
User functions

Tool functions CloudEndure Migration


© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 65
Lab architecture
Corporate data center AWS Cloud

Public subnet
VPC
User CloudEndure
CloudEndure
Bastion replication subnet

Private subnet

Private subnet
Application Database
server server
Migrate here

Application Database
server server

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 66
Lab 2: CloudEndure Migration Factory

In this lab, you will:


1. Connect to the bastion host desktop. 120 minutes

2. Configure CloudEndure.
3. Create a user and log in to the migration factory.
4. Configure a CEMF endpoint. Hands-on lab
5. Configure migration factory.
6. Automate migration tasks.

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 67
Best practices

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 68
Best practices

Save time and avoid pitfalls

• Plan migration waves


• Develop the end-to-end process
• Minimize unnecessary change
• Automate as much as possible
• Prepare application teams

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 69
Review

Question 1 Question 4

Question 2

Question 3 Proceed to Summary

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 70
Question 1

Which application migration strategy is the focus of


CloudEndure Migration Factory?
1 minute

A. Repurchasing
B. Retain
C. Refactoring Type in chat

D. Rehosting

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 71
Question 1 answer

Which application migration strategy is the focus of


CloudEndure Migration Factory?

A. Repurchasing
B. Retain
C. Refactoring
D. Rehosting (correct)

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 72
Question 2

What are the benefits of CloudEndure Migration


Factory discussed in this module?
1 minute
A. Simplicity, speed, cost reduction
B. Speed, high availability, security
C. Ease of use, speed of implementation Type in chat
D. Support available, cost reduction, security

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 73
Question 2 answer

What are the benefits of CloudEndure Migration


Factory discussed in this module?

A. Simplicity, speed, cost reduction (correct)


B. Speed, high availability, security
C. Ease of use, speed of implementation
D. Support available, cost reduction, security

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 74
Question 3

Where must customers build the migration server?


(Select TWO.)
1 minute
A. On premises
B. In an AWS account
C. On all admin desktops Type in chat
D. Local networks
E. Virtual private networks

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 75
Question 3 answer

Where must customers build the migration server?


(Select TWO.)
A. On premises (correct)
B. In an AWS account (correct)
C. On all admin desktops
D. Local networks
E. Virtual private networks

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 76
Question 4

Which of the following is a build migration


automation step?
1 minute
A. Monitor replication, create local admin, CloudEndure
dry run
B. Check source prerequisites, create local admin,
CloudEndure agent install at source Type in chat

C. Check source prerequisites, CloudEndure agent install


at source, push postlaunch script at source
D. Check source prerequisites, CloudEndure agent install
at source, CloudEndure dry run

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 77
Question 4 answer

Which of the following is a build migration


automation step?
A. Monitor replication, create local admin, CloudEndure
dry run
B. Check source prerequisites, create local admin,
CloudEndure agent install at source
C. Check source prerequisites, CloudEndure agent install
at source, push postlaunch script at source (correct)
D. Check source prerequisites, CloudEndure agent install
at source, CloudEndure dry run

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 78
Summary

In this module, you learned how to:


• Describe the benefits of using automation to perform large-scale migrations
• Identify the tasks required to plan, test, perform, and switch to a large-scale
migration
• Describe a framework for large-scale migrations
• Describe the CloudEndure Migration Factory workflow
• Identify the steps to prepare, perform, and monitor an CloudEndure Migration
Factory migration

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 79
Module 4

Containerize applications with


AWS App2Container
Objectives

In this module, you will learn how to:

• Describe the benefits of replatforming applications to run in containers


• Identify considerations for migrating applications to containers
• Evaluate containerizing applications based on an application’s requirements
• Identify the tasks to switch to containers
• Describe AWS App2Container and its benefits
• Describe the AWS App2Container workflow
• Identify the steps in the containerization process

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 81
Container architecture comparison

On-premises servers Virtual machines (VMs) Containers

Container Container Container


App A App B App C
VM VM VM
App A App B App C Libraries Libs

Applications A, B, C Libs Libs Libs Libraries


Guest Guest Guest
Libraries OS OS OS Containerization platform

Operating system Virtualization platform Operating system

Server hardware Server hardware Server hardware

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 82
Containerizing benefits

Agility Portability Operational


efficiency

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 84
Containerizing challenges

Technology Staff Process

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 85
Application discovery

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 86
• Software applications that fit
Common design containerized solutions are
patterns designed to be:
• Portable between environments
• Deployed on modern cloud
platforms
• Run in maximum agility
deployments
• Scaled up without significant
changes in architecture

87 © 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved.
Before you containerize

Dependencies Compactness

Configuration Data storage

Logging External access

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 88
Determine containerization complexity

Installation

License

Programming language

more
© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 89
Containerization complexity factors

Application binary

Sessions

User interface (UI)

Network

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 90
AWS App2Container (A2C)

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 91
AWS App2Container
Modernize applications into containers

Create Deploy
Discover Extract and
deployment in the
and analyze containerize
artifacts AWS Cloud

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 92
A2C benefits

Accelerates
Streamlines Scales and
application
operations secures applications
modernization

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 93
Supported runtimes and middleware

Java ASP.NET
Frameworks Distributions Frameworks and system
requirements
• Tomcat • Ubuntu
• Windows Server Core 2016 or
• Spring Boot • CentOS 2019 (earlier OS do not
• JBoss* • RHEL support containers)
• WebLogic* • Amazon Linux • IIS 7.5 or later
• WebSphere* • .NET framework version 3.5
later
*In standalone mode

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 94
A2C limitations

Java application frameworks ASP.NET

• ASP.NET applications that


Cluster/HA mode depend on Windows
Communication
Foundation
• Non-IIS applications
• Pre-Windows Server Core
2016 applications

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 95
Containerize existing applications
Deployment source Application server AWS Cloud
(VM or EC2 instance)
Running
application Deployment target
Virtual
machine 4
.NET

On-premises IIS server App2Container Amazon Elastic Amazon Elastic Amazon Elastic
server Container Container Container Registry
1 Service Kubernetes

Amazon EC2
instance Java Lifecycle management
2 3 5
Other cloud Springboot
environments Tomcat Artifacts
Jboss AWS CodePipeline AWS CodeBuild AWS CodeDeploy
WebSphere
WebLogic
© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 96
Java (Linux) prerequisites

AWS Command Docker engine is One or more Customer has Server has
Line Interface installed Java applications root access GNU Tar
(AWS CLI) is are running installed and
installed 20 GB of free
space

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 97
.NET (Windows) prerequisites

AWS Tools for Docker engine is One or more IIS Customer is a Server has
PowerShell are installed application is Windows PowerShell v5.1
installed running administrator or later and
20–30 GB of
free space

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 98
Get started with A2C

1. Sign up for AWS 2. Grant 3. Decide where


permissions to containerization
IAM users will run

4. Configure the 5. Install the


AWS profile Docker engine

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 99
A2C tools
Application server AWS Cloud
• Command line (VM or EC2 instance)

interface run on an Running application Artifacts


application server
Java .NET
Amazon S3
• End-to-end workflow Docker image
on the application
server Amazon Elastic
Container Registry
• Same commands and App2Container

command options for


Task definition
Windows and Linux Artifacts Container
Amazon Elastic
Container
Service

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 100
Containerization steps

1. Install 2. Initialize 3. Analyze 4. Modify


App2Container App2Container application application

5. Transform 6. Deploy 7. Clean up


application application

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 101
Customers use App2Container

• A public sector customer with minimal container


Public sector expertise containerized two ASP.NET and deployed
to Amazon Elastic Container Service (Amazon ECS).

Financial • A financial services customer containerized one


services .NET and one Java application and deployed to
Amazon Elastic Kubernetes Service (Amazon EKS).
Manufacturing • Two Fortune 500 customers (in manufacturing and
banking banking sectors) containerized Java applications.

• A European retailer containerized five ASP.NET


Retail applications in a few hours.

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 102
Lab 3: App2Container

In this lab, you will:

1. Install AWS CLI. 60 minutes


2. Create a Docker base image.
3. Install App2Container.
4. Initialize App2Container. Hands-on lab
5. Analyze your application.
6. Transform your application.
7. Set up deployment artifacts.

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 103
Review

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 104
Review

Question 1 Question 3

Question 2 Proceed to Summary

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 105
Question 1

Put the App2Container workflow phases in the


correct order.
1 minute
A. Create deployment artifacts
B. Discover and analyze
C. Deploy in AWS Cloud Type in chat
D. Extract and containerize

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 106
Question 1 answer

Put the App2Container workflow phases in the


correct order.

A. Create deployment artifacts – 3


B. Discover and analyze – 1
C. Deploy in AWS Cloud – 4
D. Extract and containerize – 2

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 107
Question 2

Which of the following are benefits of containerization?

A. Accuracy, rigidity, portability 1 minute

B. Agility, portability, operational efficiency


C. Stability, scalability, strategic value
D. Accessibility, agility, risk aversion Type in chat

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 108
Question 2 answer

Which of the following are benefits of containerization?

A. Accuracy, rigidity, portability


B. Agility, portability, operational efficiency (correct)
C. Stability, scalability, strategic value
D. Accessibility, agility, risk aversion

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 109
Question 3

What is a benefit of using App2Container?

A. Disrupts operations 1 minute

B. Creates new practices to scale and secure applications


C. Accelerates application modernization
D. Complicates deployments Type in chat

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 110
Question 3 answer

What is a benefit of using App2Container?

A. Disrupts operations
B. Creates new practices to scale and secure applications
C. Accelerates application modernization (correct)
D. Complicates deployments

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 111
Summary

In this module, you learned how to:

• Describe the benefits of replatforming applications to run in containers


• Identify considerations for migrating applications to containers
• Evaluate containerizing applications based on an application’s requirements
• Identify the tasks to switch to containers
• Describe AWS App2Container and its benefits
• Describe the AWS App2Container workflow
• Identify the steps in the containerization process

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 112
Module 5

Course Review and Additional


Resources
Objectives

In this module, you will learn how to:

• Recap migration strategies to rehost enterprise fleets and containerize


applications
• Identify additional AWS Partner programs and resources to assist with large-scale
customer migrations
• Identify next steps to engage in large-scale migrations, and find AWS support
when needed

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 114
Learner path and accreditation
https://aws.amazon.com/partners/training/path-tech-pro/

AWS STP:
Migrating to AWS
(Technical)

AWS STP:
Containers on AWS
(Technical)

AWS STP:
Advanced Migration
(Technical)

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 115
Migration and container training

AWS Solutions Training for AWS Solutions Training for


Partners: Migrating to AWS – Partners: Migrating to AWS –
Technical (ILT) Technical (Digital)
https://partnercentral.awspartner. https://partnercentral.awspartner.co
com/LmsSsoRedirect?RelayState= m/LmsSsoRedirect?RelayState=/lea
/learningobject/curriculum?id=49 rningobject/wbc?id=51827
730

AWS Solutions Training for AWS Solutions Training for


Partners: Containers on AWS – Partners: Containers on AWS –
Technical (ILT) Technical (Digital)
https://partnercentral.awspartner. https://partnercentral.awspartner
com/LmsSsoRedirect?RelayState= .com/LmsSsoRedirect?RelayState
/learningobject/curriculum?id=38 =/learningobject/wbc?id=42827
777

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 116
Documentation

AWS CloudEndure Migration Factory


Solution
• Implementation guide
• Source code
https://docs.aws.amazon.com/solutions/latest/aws-cloudendure-
migration-factory-solution/welcome.html

AWS App2Container (A2C)


• User Guide
• Troubleshooting guide
• Command reference
https://docs.aws.amazon.com/app2container/latest/User
Guide/start-intro.html

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 117
Migration resources

Migrate with AWS


• Migration experience
• Comprehensive and mature migration solutions
• Faster time to business results
https://aws.amazon.com/cloud-migration/

AWS Migration Acceleration Program (MAP)


• Migration methodology
• Support, training, and services
• Migration competency acceleration Partners
https://aws.amazon.com/migration-acceleration-program/

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 118
AWS Migration resources

Download this migration


guide to help build your
skills and knowledge
https://d1.awsstatic.com/training-and-certification/ramp-
up_guides/Ramp-Up_Guide_Migration.pdf

Learn how to migrate your on-premises


applications and workloads to the AWS
Cloud
https://www.edx.org/course/migrating-to-the-aws-cloud

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 119
Tech for Tech for
discovery workload
and mobility
planning Total cost Tech for
Delivery of data
ownership migration
Tech for
Consulting application
profiling

AWS Migration Competency Partners


Helping customers move applications to the AWS Cloud
https://aws.amazon.com/migration/partner-solutions/

• Validated Partners with demonstrated expertise


• APN Consulting Partners offer consulting services for migrations
• APN Technology Partners have deep expertise with migrations to AWS

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 120
AWS App2Container resources

Demonstration of AWS App2Container (A2C) as a


command line tool for modernizing .NET and Java
applications into containerized applications
https://youtu.be/Wodiyv4HBFE

The Twelve-Factor App methodology for building apps


that are portable, scalable, and deployment friendly
https://12factor.net

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 121
AWS Partner resources

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 122
AWS Partner Network
APN Technical Baseline Review (TBR)
• Available to all AWS Partners across all tiers
• Provides one-on-one engagement with AWS Partner solutions architects
• Reviews product offerings and helps Partners optimize and refine processes to
improve quality and deliver successful customer outcomes

APN Navigate
• Provides prescriptive guidance from AWS experts
• Step-by-step instruction to build, market, and sell as an AWS Partner
• Equips Partners with a roadmap, enablement tools, and resources

AWS PartnerCast
Helps Partners:
• Create new client opportunities
• Enhance professional relationships
• Develop their AWS Cloud skills

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 123
Review

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 124
Match resources and descriptions

Combines migration methodology with


1. APN Partner
Partners who achieve migration
Resources competency

Programs to help APN Partners build,


2. AWS Migration market, and sell their AWS based
Competency Partners offerings

3. AWS Migration Validated Partners who help customers


Acceleration Program move to the AWS Cloud

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 125
Summary

In this module, you learned how to:

• Recap migration strategies to rehost enterprise fleets and containerize


applications
• Identify additional AWS Partner programs and resources to assist with large-scale
customer migrations
• Identify next steps to engage in large-scale migrations, and find AWS support
when needed

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 126
In this course, you learned how to:

Course review • Identify how re-host and re-platform migration


strategies apply to customer migration use cases
• Describe how to plan and perform large-scale
rehosting migrations
• Identify scenarios for modernizing enterprises
through migrating to reliable, secure, cloud
infrastructures
• Identify scenarios for migrating applications to run
in container environments
• Use CloudEndure Migration Factory (CEMF) to
automate large-scale migrations that involve
rehosting
• Use AWS App2Container (A2C) to migrate
applications to container-based platforms

127 © 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved.
• Engage with your AWS Partner
managers to accelerate your ramp
up to AWS

Call to action • Improve your skills with additional


training

• Learn about the available AWS


Partner programs that support you

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 128
Take the assessment!
End of course assessment
https://partnercentral.awspartner.com/LmsSsoRedirect?RelayState=%2flearningobject%2fw
bc%3fid%3d61579

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 129
Additional resources

AWS Prescriptive Guidance AWS Migration Competency


Consulting Partner Validation
Checklist
https://aws.amazon.com/prescriptiv
https://apn-
e-guidance/?apg-all-cards.sort-
checklists.s3.amazonaws.com/comp
by=item.additionalFields.sortText&a
etency/migration/consulting/CNIBv
pg-all-cards.sort-order=desc
7Tt8.html

AWS Competency Program AWS Partner Opportunity


Accelerating Funding

https://aws.amazon.com/partners
https://partnercentral.awspartner.co
/competencies/
m/apex/AccelHome

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 130
Additional resources

AWS Partner Training and


Certification
AWS Accelerate

https://aws.amazon.com/partners https://accelerate.amazonaws.com/
/training

AWS Managed Services AWS Migration Evaluator


Description (Formerly TSO Logic); Build a
business case for AWS.
https://s3.amazonaws.com/am
s.contract.docs/AWS+Managed https://www.youtube.com/watch
+Services+Service+Description. ?v=xkKMtEwPicg&feature=youtu.
pdf be

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 131
Application containerization
level of complexity
Application component Easy Moderate Difficult
Binary Single process Multiple process Self-modifying
Language Modern programming x86 precompiled binaries None-x86
Configuration In a single file In several files Located everywhere
Data In a single folder In multiple folders and partitions Located everywhere
Access credentials Saved in static files Saved in a file and saved on a Saved as a dynamic
network location certificate
Sessions Stateless Stateful Cluster dependent
User Interface Web, backend Services, background process, Desktop client
processing scheduled jobs, agents, daemons
Network HTTP, HTTPS TCP, UDP IPsec, highly isolated
Installation Packages, source Unattended installer Interactive installer
Licensing In-house, open source Proprietary, no source Restrictive

© 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. 132
Thank you

© 2021 Amazon Web Services, Inc. or its affiliates. All


Allrights
rightsreserved.
reserved.This
Thiswork
workmay
maynotnotbe
bereproduced
reproducedororredistributed,
redistributed,ininwhole
wholeororininpart,
part,without
withoutprior
priorwritten
writtenpermission
permission
from Amazon Web Services,
Services,Inc.
Inc.Commercial
Commercialcopying,
copying,lending,
lending,ororselling
sellingisisprohibited.
prohibited.Corrections,
Corrections,feedback,
feedback,ororother
otherquestions?
questions?Contact
Contactususatat
https://support.aws.amazon.com/#/contacts/aws-training. All Alltrademarks
trademarksare arethe
theproperty
propertyofoftheir
theirowners.
owners.

You might also like