You are on page 1of 80

© Copyright Microsoft Corporation. All rights reserved.

FOR USE ONLY AS PART OF VIRTUAL TRAINING DAYS PROGRAM. THESE MATERIALS ARE NOT AUTHORIZED FOR
DISTRIBUTION, REPRODUCTION OR OTHER USE BY NON-MICROSOFT PARTIES.
Microsoft Azure Virtual
Training Day:
Modernize .NET Apps
Migration
drivers
Migration Journey

Assess Migrate Optimize Secure &


Manage

- Create Cloud Migration Define Strategy: - Manage and monitor costs - Industry leading protection
Plan - Refactor with Azure Cost with Security Center
- Involve Stakeholders Management - Protect your data in the
- Rearchitect
- Calculate your TCO - Save with Azure Offers cloud with Azure Backup,
- Rebuild (Azure Hybrid Benefit and Azure Site Recovery,..
- Discover and Evaluate Choose the appropriate tools Azure Reservations)
Apps - Monitor your cloud health
for migration: - Re-invest and do more with with Azure Monitor
- Azure Migrate capacity and capabilities of
- Azure Site Recovery the cloud
In this session…

Preparing for the migration

Using Azure Migrate

Assessing the Web app with the App Service Migration Assistant

Assessing the database with the Data Migration Assistant

.NET to .NET Core assessment with the Portability Analyzer


Discovery & Assessment Phase

Key to success
Discovery dependencies
Staff Training
End Users
Documentation
Cost

How much does it currently cost?


What would it cost in the cloud?

https://aka.ms/mod10/tco
https://aka.ms/mod10/pricing-calculator
Migrate Phase

1 Don’t tackle your most important workload first

2 Communication

3 Management, monitoring, backup, disaster recovery

4 Design choices
Optimize Stage

This will become a BAU (Business As Usual) activity.

Start to track and understand your cost trends.

Work on making workloads operational better.


Secure and Manage Phase

This will become a BAU activity.


Know your responsibilities.
Staff Training
Azure Migration Center

https://aka.ms/mod10/migration
DEMO

Assessing your migrations


.NET on Azure

.NET Classic .NET Core


• ASP.NET 4.7 (soon 4.8) • ASP.NET Core 2.1
• ASP.NET 3.5 • ASP.NET Core 3.1
• Runs on Windows only • Runs on Windows and Linux
• Good for existing apps • Great for new apps or
migration
• Performance enhancements
.NET to .NET Core migration path

Assess the migration with the Portability Analyzer

Put your business logic code in .NET Standard libs

Enjoy the performance improvements!


DEMO

Assessing .NET to .NET Core


In review…
In review…

Preparing for the migration

Using Azure Migrate

Assessing the Web app with the App Service Migration Assistant

Assessing the database with the Data Migration Assistant

.NET to .NET Core assessment with the Portability Analyzer


Call to action!
Explore overviews,
tutorials, samples, and more.

aka.ms/mod10
Migration
drivers
Migration Journey

Assess Migrate Optimize Secure &


Manage

- Create Cloud Migration Define Strategy: - Manage and monitor costs - Industry leading protection
Plan - Refactor with Azure Cost with Security Center
- Involve Stakeholders Management - Protect your data in the
- Rearchitect
- Calculate your TCO - Save with Azure Offers cloud with Azure Backup,
- Rebuild (Azure Hybrid Benefit and Azure Site Recovery,..
- Discover and Evaluate Choose the appropriate tools Azure Reservations)
Apps - Monitor your cloud health
for migration: - Re-invest and do more with with Azure Monitor
- Azure Migrate capacity and capabilities of
- Azure Site Recovery the cloud
In this session…

Moving your web application to App Service

Preparing application telemetry

Managing your settings and secrets

Scaling up and Scaling out


Time To Move
How do we move from our current infrastructure to
deploying in the cloud?.
Web applications hosting on Azure

1 Virtual machines
https://aka.ms/mod20/vm-migrate

2 Static web app on Azure Storage


https://aka.ms/mod20/static-web-storage

3 Azure Static Web Apps (Preview)


https://aka.ms/mod20/static-web-apps

4 App Service with .NET, JavaScript, PHP, Java etc


https://aka.ms/mod20/app-service
Migration: Where to start
Use the Azure App Service Migration Assistant

Azure Migrate Azure App Service Migration Assistant

https://azure.microsoft.com/en-us/migration/ https://appmigration.microsoft.com/
Azure Migrate

Choose from
over 12
migration
tools
Azure Migrate

Choose from Assess 35K


over 12 servers in a
migration single
tools project
Azure Migrate

Choose from Assess 35K Migrate to


over 12 servers in a over 55
migration single global
tools project regions
DEMO

Migrating the web app


We have options
What options do we have for managing our cloud
applications?
The traditional tenants of hosting
Choosing the right balance of control and responsibility

Responsibility On-prem IaaS PaaS SaaS


Build from the ground up Some assembly required Move-in ready

Applications

Data

Runtime

Middleware

Operating system

Virtualization

Servers

Storage

Networking

Customer Microsoft
Azure App Service benefits

High-
productivity for Fully-managed Enterprise-grade
devs & ops

.NET, Node, Java, Docker, Auto scale & Global data


PHP, Ruby, Python load balancing center footprint

Deploy containers on High availability Hybrid


Windows & Linux w/auto patching support

Staging & Reduced Azure Active


deployment operations Directory
costs integration
Testing in
production Backup & Secure &
recovery compliance
App gallery
marketplace
Multiple deployment options

“Right-click publish” from Visual Studio


OK during development, don’t abuse it.

Deployment center with various options


Azure repos, GitHub, OneDrive, Dropbox, FTP…

GitHub actions
Automated development directly from GitHub

Azure DevOps
Full pipelines with releases, gated deployment to slots etc
Azure Boards

Azure Repos

Azure Pipelines Deploy to on-premises, ANY cloud or hybrid


from Linux, Mac and Windows

Staged environment releases


Azure Artifacts
Deployment approvals including automated
options
Azure Test Plans
Native support for containers and Kubernetes
Application Insights

Web
Pages
Application
Insights
HTTP
Requests

Web
Services
Basic Security Feature
Key Vault keeps you in control

110101010010101001010010101100101101010101001010100101010101000111110101010010101001010010101
100101101010101001010100101010101000111110101010010101001010010101100101101010101001010100101
010101000111110101010010101001010010101100101101010101001010100101010101000111
110101010010101001010010101100101101010101001010100101010101000111110101010010101001010010101
100101101010101001010100101010101000111110101010010101001010010101100101101010101001010100101
101010010101010100011111010101001010100101001010110101001010101010001111101010100101010010100
101011010100101010101000111110101010010101001010010101101010010101010100011111010101001010100
101001010110101001010101010001111101010100101010010100101011010100101010101000111110101010010
Encryption keys
101001010010101101010010101010100011111010101001010100101001010110101001010101010001111101010
100101010010100101011010100101010101000111110101010010101001010010101101010010101010100011111
Certificates Passwords
010101001010100101001010110101001010101010001111101010100101010010100101011010100101010101000
SQL Connection Strings
111110101010010101001010010101101010010101010100011111010101001010100101001010110101001010101
010001111101010100101010010100101011010100101010101000111110101010010101001010010101101010010
Storage account keys
101010100011111010101001010100101001010110101001010101010001111101010100101010010100101011011

Manage Monitor
Manage apps secrets secrets Manage apps
DEMO

Configuring the app


and Key Vault
Scaling up and out
In review…
In review…

Moving your web application to App Service

Preparing application telemetry

Managing your settings and secrets

Scaling up and Scaling out


Call to action!
Explore overviews,
tutorials, samples, and more.

aka.ms/mod20
Migration
drivers
Migration Journey

Assess Migrate Optimize Secure &


Manage

- Create Cloud Migration Define Strategy: - Manage and monitor costs - Industry leading protection
Plan - Refactor with Azure Cost with Security Center
- Involve Stakeholders Management - Protect your data in the
- Rearchitect
- Calculate your TCO - Save with Azure Offers cloud with Azure Backup,
- Rebuild (Azure Hybrid Benefit and Azure Site Recovery,..
- Discover and Evaluate Choose the appropriate tools Azure Reservations)
Apps - Monitor your cloud health
for migration: - Re-invest and do more with with Azure Monitor
- Azure Migrate capacity and capabilities of
- Azure Site Recovery the cloud
In this session…

Meeting the tools, Azure Migrate

Data solutions on Azure

Migrating the SQL database

Optimizing the services

Taking advantage of Azure Storage


Azure Database Migration Guide
SQL Server Migration Assistant

From:
Access, DB2,
MySQL, SAP
SQL Server Migration Assistant

From: To:
Access, DB2, SQL Server, Azure
MySQL, SAP SQL DB
SQL mongoDB

Azure Cosmos DB … more coming soon

Key-Value Column-family Documents Graph

Global distribution Elastic scale out Guaranteed low latency Five consistency models Comprehensive SLAs

A globally-distributed, multi-model database service


Azure Database for open source DBs engines

Fully managed services Simple and flexible Automatic backups,


without changing your pricing, Language and patching, built-in
applications frameworks of your choice monitoring, security
Azure SQL Database

Fully managed PaaS

Key takeaways 99.99% availability guaranteed

Based on well known SQL Server technology

Single database / Elastic pool

Full monitoring and alerting capacity


Azure SQL Database Managed Instance
SQL Database
(PaaS)
New deployment option enabling
friction-free migration of
SQL Server workloads to
Managed Single Elastic
a fully-managed service Instance database Pool

Fully-managed SQL Server Full isolation and New purchasing


service compatibility security options

• Built on the same • Fully-fledged SQL • Contained within • Transparent


infrastructure as instance with nearly your VNet • Frictionless
SQL Database 100% compat with • Private IP addresses • Competitive
• Provides the same on-premise • Express Route /
benefits (PaaS) VPN connectivity
DEMO

Creating the Azure SQL Database


Azure Database Migration Service

X X X
X
X
X
X
X
X
X
X
DEMO

Migrating the SQL data


Configure
Optimizing security Azure Active Directory

Create
server level
and DB level
firewall rules
Optimizing performance of your queries

- Deep insight into DTU


consumption
- CPU usage, duration,
execution count
- Drill into the details
- Get recommendations
Continuously optimize migrated resources

- Azure Cost Management

- Unified experience to optimize


cloud spends

- Use Azure Hybrid Benefit and


Azure Reserved Instances
during or after migration

- Modernize for longer term


value
Optimizing for type of storage

Structured, Semi- Unstructured


relational data structured data data
Product description Shopping cart Pictures, videos
Azure Storage Services

Queues
Reliable queues at
scale for cloud
services
DEMO

Migrating big files


to Azure Storage
In review…
In review…

Meeting the tools, Azure Migrate

Data solutions on Azure

Migrating the SQL database

Optimizing the services

Taking advantage of Azure Storage

You might also like