SlideShare a Scribd company logo
ArnonRotem-Gal-OzVP Product Deliverywww.codevalue.netMigrating Applications to Azure Cloud
Azure migration is a porting projectGap AnalysisRisk ReductionCost Analysis   Migration
 Choosing a porting model
Web sites migrate into web rolesWeb RoleWorker RoleVM Role
Moving web sites to Azure is not very different then moving them to a web-farm
Can’t use Web-sites …Must use web applications (VS will port for you)
Full IIS vs. Hosted Web Core Multiple sites or virtual applications activation of WCF services over non-HTTP transportsSimple, less resources
Tip: Enable Full IIS    <Sites>      <Site name="Web">        <Bindings>          <Binding name="Endpoint1" endpointName="Endpoint1" />        </Bindings>      </Site>    </Sites>Add Sites to the csdef file….
Tip: Shy away from session stateASP.NET cache is not shared between instances as wellMove session to SQL azureVelocity for Azure is coming later in the yearYou can use memcached meanwhile
Tip: Move configuration from app.config/web.configChanges in web.config – mean redeploymentMove
Tip: native code ISAPI filters are tricky to import…Consider rewriting
Can you Azure this?<html> <head><title>Hello World PHP</title></head> <body> <?phpecho 'Today is '. date('Y-m-d') ."\n"; ?> </body> </html>
Add a Webrole.config…<?xml version="1.0" encoding="utf-8" ?><configuration><system.webServer><fastCgi><applicationfullPath="%RoleRoot%\approot\php\php-cgi.exe"/></fastCgi></system.webServer></configuration>…and enable native code in the .csdef<WebRolename="WebRole"enableNativeCodeExecution="true
Stateless services Web RoleWorker RoleVM Role
Run under full IIS to get scale out and management capabilities Service 1Service 1Service 2Service 2Service 3Service 3Web Role (full IIS)Web Role (full IIS)
Tip: Make your WCF accessible to silverlight clients <?xml version="1.0" encoding="utf-8" ?><!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"><cross-domain-policy><allow-http-request-headers-from domain="*" headers="*"/></cross-domain-policyDrop crossdomain.xml in the root directory of the WebRole
Stateful services/ “semi-stateful” services Web RoleWorker RoleVM Role
VM Role vs. Worker Role – another lookVM role you can do anything but things are not persisted VM role needs manual maintenance (e.g. upgrades to OS)
Worker Role includes facilities to make migration simplerCloudDriveMapping logs to table storage
Tip: pay attention to how you configure your loggingBy the way this setup cost 5.25$ per year (per instance and just for the transactions)
Lavaflow Appshttp://www.antipatterns.com/lavaflow.htm
The lavaflow apps migrate into VM roleWeb RoleWorker RoleVM Role
Don’t COM around here no more(can’t update the registry)Use COM+ and manifest / Native C++Wrap with WCF host
Db3Archive(Table Storage)…NT ServiceIISMigrated SQL CLR CodeVM RoleNT ServiceDb1(SQL Azure)Db2(SQL Azure)Db3(SQL Azure
Getting Azure’s SLA means at least 2 instancesMust make sure app can “scale” to two computers – even for VM role
Tip: Why not host your own SQL?Disks partitioning is  unknown and does not come with an SLA
Not guaranteed to be persistent
Need to build availability on top SQL Migration Wizard
Tip: SQL Retry SQL Connections: Retry on failureConnections can drop for variety of reasonsIdlenessTransient (network) errorsIntentional throttlingFirst step: reconnect immediatelyHandles idleness- and transient-disconnectsGateway handles connection retry for appConnections attempted for ~30s before failureWhat to do on connection failure?Wait (10 seconds), then retry Change your workload if throttled
Backup & Restore
Existing apps were developed in an age of abundance in resourcesCloud apps should be more cost aware
What else?Monitoring Application Lifecycle Management (including system & performance testing) Archiving Authentication and authorization (between tiers as well as of users)CDNsCharging modelConfigurationData Access LayerData encryption Data partitioning Data storage and transactions Dependencies and 3rd party components Deployment, continuous integration & automationDiagnostics, logging & instrumentation Elasticity (dynamic, scheduled, or manual) Geographical co-locationIdempotencyImport/export routines Message security Message size Multi-tenancyNetwork latency Page weightReporting Session state SLAs (availability, performance, etc) SQL features Windows Services & batch jobshttp://blogs.msdn.com/b/simonince/archive/2010/04/13/checklist-discussing-an-azure-migration.aspx
E.g. Can’t host SMTP server in the cloudCan open TCP connection from Azure to the outside world … (and find a SMTP server)
e.g. remember Authentication with ACSSlide by Alik Levin
LinksTCO calculator http://www.microsoft.com/windowsazure/economics/Azure Migration Wizard - http://sqlazuremw.codeplex.com/http://blogs.msdn.com/b/windowsazure/archive/2010/12/02/new-full-iis-capabilities-differences-from-hosted-web-core.aspxCloudoscope – http://www.cloudvalue.com

More Related Content

PPTX
Azure Migrate
PDF
Migrate to Microsoft Azure with Confidence
PDF
The Microsoft Well Architected Framework For Data Analytics
PDF
Microsoft Azure Overview
PPTX
Microsoft Azure Technical Overview
PPTX
Azure active directory
PPTX
Azure Cost Management
PPTX
Azure Migration Program Pitch Deck
Azure Migrate
Migrate to Microsoft Azure with Confidence
The Microsoft Well Architected Framework For Data Analytics
Microsoft Azure Overview
Microsoft Azure Technical Overview
Azure active directory
Azure Cost Management
Azure Migration Program Pitch Deck

What's hot (20)

PDF
Azure Security Overview
PDF
Microsoft Azure Security Overview
PDF
Advanced Load Balancer/Traffic Manager and App Gateway for Microsoft Azure
PPTX
Microsoft Cloud Adoption Framework for Azure: Thru Partner Governance Workshop
PDF
Azure Monitoring Overview
PPTX
Microsoft Azure - Introduction
PPTX
Azure Migration Program Overview
PPTX
Azure data platform overview
PPTX
Azure key vault
PDF
Cloud Migration Strategy and Best Practices
PPTX
Architect your app modernization journey with containers on Microsoft Azure
PPSX
On-premise to Microsoft Azure Cloud Migration.
PPTX
Azure Active Directory - An Introduction
PPTX
Azure fundamentals
PDF
Azure 101
PDF
AZ-900 Azure Fundamentals.pdf
PPTX
Azure AD Presentation - @ BITPro - Ajay
PDF
Microsoft Azure Fundamentals
PDF
Microsoft Azure - Introduction to microsoft's public cloud
PPTX
Windows Azure Service Bus
Azure Security Overview
Microsoft Azure Security Overview
Advanced Load Balancer/Traffic Manager and App Gateway for Microsoft Azure
Microsoft Cloud Adoption Framework for Azure: Thru Partner Governance Workshop
Azure Monitoring Overview
Microsoft Azure - Introduction
Azure Migration Program Overview
Azure data platform overview
Azure key vault
Cloud Migration Strategy and Best Practices
Architect your app modernization journey with containers on Microsoft Azure
On-premise to Microsoft Azure Cloud Migration.
Azure Active Directory - An Introduction
Azure fundamentals
Azure 101
AZ-900 Azure Fundamentals.pdf
Azure AD Presentation - @ BITPro - Ajay
Microsoft Azure Fundamentals
Microsoft Azure - Introduction to microsoft's public cloud
Windows Azure Service Bus
Ad

Viewers also liked (11)

PDF
Microsoft Azure : Microsoft Strategy for Cloud Computing
PPTX
Cloud Based Rights Management with Azure RMS
PPTX
Massive Lift & Shift Migrations to Microsoft Azure with the Microsoft Migrati...
PPTX
Disaster Recovery Planning using Azure Site Recovery
PPTX
Windows Azure Platform Overview
PDF
Cloud migration strategies
PPTX
Getting started with microsoft azure in 30 mins
PPTX
Azure Cloud PPT
PPTX
Microsoft Cloud Computing - Windows Azure Platform
Microsoft Azure : Microsoft Strategy for Cloud Computing
Cloud Based Rights Management with Azure RMS
Massive Lift & Shift Migrations to Microsoft Azure with the Microsoft Migrati...
Disaster Recovery Planning using Azure Site Recovery
Windows Azure Platform Overview
Cloud migration strategies
Getting started with microsoft azure in 30 mins
Azure Cloud PPT
Microsoft Cloud Computing - Windows Azure Platform
Ad

Similar to Azure migration (20)

PPTX
Introduction To Cloud Computing
PPT
Windows Azure for .NET Developers
PPTX
RAG Chatbot using AWS Bedrock and Streamlit Framework
PPTX
Migrating Apps To Azure
PPTX
Understanding the Windows Azure Platform - Dec 2010
PPTX
SQL Azure Overview - ericnel
PPT
Migrating To Visual Studio 2008 & .Net Framework 3.5
PPT
Server Farms and XML Web Services
PPTX
Jeffrey Richter
PPT
D22 portlet development with open source frameworks
PPT
D22 Portlet Development With Open Source Frameworks
ODP
Sun Web Server Brief
PPTX
SAP PI and SOA Overview
PPT
Oracle Application Express
PPTX
Sky High With Azure
PPTX
North east user group tour
PPTX
Microservices with .Net - NDC Sydney, 2016
PPTX
Java on Windows Azure
PPT
Netserv Technology Services
PPT
Widgets - the Wookie project
Introduction To Cloud Computing
Windows Azure for .NET Developers
RAG Chatbot using AWS Bedrock and Streamlit Framework
Migrating Apps To Azure
Understanding the Windows Azure Platform - Dec 2010
SQL Azure Overview - ericnel
Migrating To Visual Studio 2008 & .Net Framework 3.5
Server Farms and XML Web Services
Jeffrey Richter
D22 portlet development with open source frameworks
D22 Portlet Development With Open Source Frameworks
Sun Web Server Brief
SAP PI and SOA Overview
Oracle Application Express
Sky High With Azure
North east user group tour
Microservices with .Net - NDC Sydney, 2016
Java on Windows Azure
Netserv Technology Services
Widgets - the Wookie project

More from Arnon Rotem-Gal-Oz (20)

PDF
Coding with AI - Understanding LLMs and how to use them
PPTX
Taking ML to production - a journey
PPTX
Apache spark
PPTX
Fallacies of Distributed Computing
PPTX
Docker & Kubernetes intro
PDF
Docker Intro
PPTX
Data security @ the personal level
PPTX
Microservices - it's déjà vu all over again
PPTX
Big data in the cloud - welcome to cost oriented design
PDF
Distilling insights @ AppsFlyer
PDF
Distilling Insights @ Appsflyer (Data Architecture)
PPTX
Big data Overview
PPTX
Hadoop YARN overview
PPTX
REST presentation
PDF
SOA & Big Data
PPTX
Why the JVM?
PDF
Building reliable systems from unreliable components
PPTX
Things to think about while architecting azure solutions
Coding with AI - Understanding LLMs and how to use them
Taking ML to production - a journey
Apache spark
Fallacies of Distributed Computing
Docker & Kubernetes intro
Docker Intro
Data security @ the personal level
Microservices - it's déjà vu all over again
Big data in the cloud - welcome to cost oriented design
Distilling insights @ AppsFlyer
Distilling Insights @ Appsflyer (Data Architecture)
Big data Overview
Hadoop YARN overview
REST presentation
SOA & Big Data
Why the JVM?
Building reliable systems from unreliable components
Things to think about while architecting azure solutions

Recently uploaded (20)

PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Spectral efficient network and resource selection model in 5G networks
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Modernizing your data center with Dell and AMD
PDF
KodekX | Application Modernization Development
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPT
Teaching material agriculture food technology
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
NewMind AI Monthly Chronicles - July 2025
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Spectral efficient network and resource selection model in 5G networks
“AI and Expert System Decision Support & Business Intelligence Systems”
Understanding_Digital_Forensics_Presentation.pptx
Modernizing your data center with Dell and AMD
KodekX | Application Modernization Development
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
GamePlan Trading System Review: Professional Trader's Honest Take
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Teaching material agriculture food technology
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Per capita expenditure prediction using model stacking based on satellite ima...

Azure migration

  • 2. Azure migration is a porting projectGap AnalysisRisk ReductionCost Analysis Migration
  • 3. Choosing a porting model
  • 4. Web sites migrate into web rolesWeb RoleWorker RoleVM Role
  • 5. Moving web sites to Azure is not very different then moving them to a web-farm
  • 6. Can’t use Web-sites …Must use web applications (VS will port for you)
  • 7. Full IIS vs. Hosted Web Core Multiple sites or virtual applications activation of WCF services over non-HTTP transportsSimple, less resources
  • 8. Tip: Enable Full IIS    <Sites>      <Site name="Web">        <Bindings>          <Binding name="Endpoint1" endpointName="Endpoint1" />        </Bindings>      </Site>    </Sites>Add Sites to the csdef file….
  • 9. Tip: Shy away from session stateASP.NET cache is not shared between instances as wellMove session to SQL azureVelocity for Azure is coming later in the yearYou can use memcached meanwhile
  • 10. Tip: Move configuration from app.config/web.configChanges in web.config – mean redeploymentMove
  • 11. Tip: native code ISAPI filters are tricky to import…Consider rewriting
  • 12. Can you Azure this?<html> <head><title>Hello World PHP</title></head> <body> <?phpecho 'Today is '. date('Y-m-d') ."\n"; ?> </body> </html>
  • 13. Add a Webrole.config…<?xml version="1.0" encoding="utf-8" ?><configuration><system.webServer><fastCgi><applicationfullPath="%RoleRoot%\approot\php\php-cgi.exe"/></fastCgi></system.webServer></configuration>…and enable native code in the .csdef<WebRolename="WebRole"enableNativeCodeExecution="true
  • 14. Stateless services Web RoleWorker RoleVM Role
  • 15. Run under full IIS to get scale out and management capabilities Service 1Service 1Service 2Service 2Service 3Service 3Web Role (full IIS)Web Role (full IIS)
  • 16. Tip: Make your WCF accessible to silverlight clients <?xml version="1.0" encoding="utf-8" ?><!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"><cross-domain-policy><allow-http-request-headers-from domain="*" headers="*"/></cross-domain-policyDrop crossdomain.xml in the root directory of the WebRole
  • 17. Stateful services/ “semi-stateful” services Web RoleWorker RoleVM Role
  • 18. VM Role vs. Worker Role – another lookVM role you can do anything but things are not persisted VM role needs manual maintenance (e.g. upgrades to OS)
  • 19. Worker Role includes facilities to make migration simplerCloudDriveMapping logs to table storage
  • 20. Tip: pay attention to how you configure your loggingBy the way this setup cost 5.25$ per year (per instance and just for the transactions)
  • 22. The lavaflow apps migrate into VM roleWeb RoleWorker RoleVM Role
  • 23. Don’t COM around here no more(can’t update the registry)Use COM+ and manifest / Native C++Wrap with WCF host
  • 24. Db3Archive(Table Storage)…NT ServiceIISMigrated SQL CLR CodeVM RoleNT ServiceDb1(SQL Azure)Db2(SQL Azure)Db3(SQL Azure
  • 25. Getting Azure’s SLA means at least 2 instancesMust make sure app can “scale” to two computers – even for VM role
  • 26. Tip: Why not host your own SQL?Disks partitioning is unknown and does not come with an SLA
  • 27. Not guaranteed to be persistent
  • 28. Need to build availability on top SQL Migration Wizard
  • 29. Tip: SQL Retry SQL Connections: Retry on failureConnections can drop for variety of reasonsIdlenessTransient (network) errorsIntentional throttlingFirst step: reconnect immediatelyHandles idleness- and transient-disconnectsGateway handles connection retry for appConnections attempted for ~30s before failureWhat to do on connection failure?Wait (10 seconds), then retry Change your workload if throttled
  • 31. Existing apps were developed in an age of abundance in resourcesCloud apps should be more cost aware
  • 32. What else?Monitoring Application Lifecycle Management (including system & performance testing) Archiving Authentication and authorization (between tiers as well as of users)CDNsCharging modelConfigurationData Access LayerData encryption Data partitioning Data storage and transactions Dependencies and 3rd party components Deployment, continuous integration & automationDiagnostics, logging & instrumentation Elasticity (dynamic, scheduled, or manual) Geographical co-locationIdempotencyImport/export routines Message security Message size Multi-tenancyNetwork latency Page weightReporting Session state SLAs (availability, performance, etc) SQL features Windows Services & batch jobshttp://blogs.msdn.com/b/simonince/archive/2010/04/13/checklist-discussing-an-azure-migration.aspx
  • 33. E.g. Can’t host SMTP server in the cloudCan open TCP connection from Azure to the outside world … (and find a SMTP server)
  • 34. e.g. remember Authentication with ACSSlide by Alik Levin
  • 35. LinksTCO calculator http://www.microsoft.com/windowsazure/economics/Azure Migration Wizard - http://sqlazuremw.codeplex.com/http://blogs.msdn.com/b/windowsazure/archive/2010/12/02/new-full-iis-capabilities-differences-from-hosted-web-core.aspxCloudoscope – http://www.cloudvalue.com
  • 36. IllustrationsAll illustrations from iStockphotoexcept:Slide 3 John Nyberg http://www.sxc.hu/photo/1329579Slide 18 http://www.majorlycool.com/item/beautiful-but-deadly-lava-flowSlide 26 http://www.sxc.hu/photo/1212823Slide 28 http://www.sxc.hu/photo/1316747

Editor's Notes

  • #3: InterviewsArchitecture &amp; design reviewAssessment tools (e.g. SQL Azure Migration wizard, TCO calculator)