SlideShare a Scribd company logo
Powered by MVPIndependent Experts. Real World Answers.2011 vasario18, Vilnius
Moving Applications to the Cloud…Sergejus BarinovasArchitect, Windows Azure MVP
Q: Why this topic?A: This is the most uncovered topic so far…
Back to BasicsQ: What is Cloud?A: Elastic compute resource on demandA: This is not a technology, this is a THINKING
Cloud as a way of THINKINGExisting technologies adopted in a new wayUtility model is welcomed by small companies and enterprisesSymbiosis of IT Professionals and Developers called DevOps
Windows Azure is a PaaS OfferingIaaSSaaSPaaSInfrastructure-as-a-ServicePlatform-as-a-ServiceSoftware-as-a-Serviceconsumebuildhost
Windows Azure Compute...in less than 5 minutes
Windows Azure Compute PrimerAzure StorageWeb RolePort80Web RoleWeb Role (IIS)Port 80Web RoleSQL AzureLoadBalancerWorker Role 1Worker Role 2Port 1234Port1234Internet ServicesMonitoringProvisioningRecovering from failureFabric Controller
Windows Azure ComputeWeb RoleWorker RoleWindows Server x64 2008 / 2008 R2.NET Framework 3.5 SP1 / 4.0Native Code, PHP, Java, <your runtime here>Full Trust and Admin Mode
Windows Azure ComputeWeb RoleWorker RoleRole is an executableHTTP(S) and TCP<your process here>Role is hosted on IISHTTP(S)ASP.NETFast CGI + PHP
Windows Azure Portaldemo
Oops!We need some way to diagnose the issue…
Windows Azure MonitoringWindows Azure Diagnostics APISystem Center Operation Manager (SCOM) Windows Azure Management PackRemote Desktop Connectionto Role Instance
RDP to Role Instancedemo
Remote Desktop Configuration<?xml version="1.0" encoding="utf-8"?><ServiceDefinition name="RemoteAccess" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition"> <WorkerRole name="GatewayRole"> <ConfigurationSettings> <Setting name="DiagnosticsConnectionString" /></ConfigurationSettings><Imports><ImportmoduleName="RemoteAccess" /><ImportmoduleName="RemoteForwarder" /></Imports></WorkerRole><WorkerRole name="TargetRole"> <ConfigurationSettings> <Setting name="DiagnosticsConnectionString" /> </ConfigurationSettings><Imports><ImportmoduleName="RemoteAccess" /></Imports></WorkerRole></ServiceDefinition>
Remote Desktop Configuration<Role name="WorkerRole1"> <Instances count="1" /> <ConfigurationSettings>  <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.Enabled“           value="true" />  <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountUsername"           value="myuser" />  <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountEncryptedPassword"           value="[base64]" /><Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountExpiration"           value="2010-06-16T13:04:02.9666425-07:00" /></ConfigurationSettings><Certificates><Certificate name="Microsoft.WindowsAzure.Plugins.RemoteAccess.PasswordCertificate"               thumbprint="c0c23e1cdd7bfb20c14dce97b37ea67bd9f24918"thumbprintAlgorithm="sha1" /></Certificates></Role>
But I Can’t Use SQL Azure!Let’s say for security reasons…
Hybrid Windows Azure ModelYour applications can beEntirely On-PremisesEntirely in the CloudBoth in the Cloud and On-Premises
Hybrid Windows Azure ModelCloudOn-premisesWindows Azure Connect
Windows Azure Connectdemo
Windows Azure ConnectSecure connectivitySuper simple setupActive Directory support
But I Need Customizations!Configure Windows, Install Applications, etc…
Admin Mode & Startup TasksExecute BAT and PowerShell scriptsConfigure Windows Server and IISInstall additional softwareUpdate registry keys
“PING in the Cloud”demo
Admin Mode & Startup Tasks<WebRolename="WorkerRole1">  <Startup>    <Taskcommandline="relative\path\ToSetupExecutable"executionContext="limited|elevated" taskType="simple|foreground|background"/>  </Startup></WebRole>
Let’s Have Some FUN!And give away some prizes for…
Yell “I LOVE Windows Azure”I told you my talks are a little bit crazy…
OK, Let’s Continue…
But <your excuse here>… and Startup Tasks can’t help you
VM RoleWorker Role – role is an executableWeb Role – role is hosted on IISVM Role – role is the virtual machineAdmin Web / Worker RoleVM RoleWeb / Worker RoleAbstractionControl
VM Role In a NutshellBase.VHDBlob StorageCloudOn-Premises
VM Roledemo
VM Role<ServiceDefinitionname="MyVMRoleService"xmlns="…">  <VirtualMachineRolename="MachineRole"vmsize="Medium">    <Imports>   </Imports>  </VirtualMachineRole></ServiceDefinition>
VM Role<ServiceConfigurationserviceName="MyVMRoleService"xmlns="…"> <Rolename="MachineRole"> <OsImagehref="20101020BaseVM.vhd" /><Instancescount="2" /><ConfigurationSettings></ConfigurationSettings><Certificates>   <Certificatename="Microsoft.WindowsAzure.Plugins.RemoteAccess.PasswordEncryption"thumbprint="195FD938F86D8785FF53C660BCBD283819E0271A"thumbprintAlgorithm="sha1" /> </Certificates> </Role></ServiceConfiguration>
VM RoleAbility to upload customized Windows Server x64 2008 R2 Enterprise imageYou are now responsible for patching and maintenanceOS image is not durable (yet)
VM RoleIt’s NOT an Infrastructure as a Service!Windows Azure does automate many management tasks
Recap: Moving Apps to the CloudIt’s really easier than you thought, isn’t it?
Moving Applications to the CloudUse Remote Desktop for easier diagnosticsUse Azure Connect to interconnect cloud and on-premise applicationsUse Admin Mode and Startup Tasks to customize Windows and install softwareUse VM Role to migrate legacy and native applications
Thank You!Sergejus Barinovashttp://sergejus.blogas.lt@sergejusb
Moving applications to the cloud

More Related Content

PPTX
Demystifying HTML5
PPTX
Sergejus Barinovas
PPTX
Building Ruby on Rails apps on Windows Azure (MIX 2010 at Last Vegas))
PDF
Nuxt.JS Introdruction
PPTX
MongoDB Days Silicon Valley: Building Applications with the MEAN Stack
PPT
Nodejs - Building a RESTful API
PDF
Mongo db world 2014 nyc mongodb on azure - tips tricks and examples
PDF
Microsoft AZ-900 Dumps Questions
Demystifying HTML5
Sergejus Barinovas
Building Ruby on Rails apps on Windows Azure (MIX 2010 at Last Vegas))
Nuxt.JS Introdruction
MongoDB Days Silicon Valley: Building Applications with the MEAN Stack
Nodejs - Building a RESTful API
Mongo db world 2014 nyc mongodb on azure - tips tricks and examples
Microsoft AZ-900 Dumps Questions

What's hot (20)

PPTX
MongoDB on Azure - Tips, Tricks and Examples
PDF
Amazon S3 storage engine plugin for MySQL
PDF
Kickstarting Node.js Projects with Yeoman
PDF
Scaling MongoDB in the cloud with Microsoft Azure
PPTX
Azure Service Fabric Mesh
PDF
Nuxt.js - Introduction
PPTX
PDF
Experiences using CouchDB inside Microsoft's Azure team
PDF
Tech Ed North America 2014 - Java on Azure
PPTX
Azure from scratch part 4
PDF
오픈소스 게임 서버 엔진 스터디 캠프 - CloudBread
PPTX
A High-Performance Solution To Microservices UI Composition
PDF
Best Practices for couchDB developers on Microsoft Azure
PPTX
Supercharge JavaEE applications using JCache
PDF
How Microsoft learned to love Java
PDF
Anatomy of a Modern Node.js Application Architecture
PPTX
Introdcution to Adobe CQ
PPTX
Rock Solid WordPress
PPTX
Node.Js: Basics Concepts and Introduction
PPTX
Cnam azure 2015 storage
MongoDB on Azure - Tips, Tricks and Examples
Amazon S3 storage engine plugin for MySQL
Kickstarting Node.js Projects with Yeoman
Scaling MongoDB in the cloud with Microsoft Azure
Azure Service Fabric Mesh
Nuxt.js - Introduction
Experiences using CouchDB inside Microsoft's Azure team
Tech Ed North America 2014 - Java on Azure
Azure from scratch part 4
오픈소스 게임 서버 엔진 스터디 캠프 - CloudBread
A High-Performance Solution To Microservices UI Composition
Best Practices for couchDB developers on Microsoft Azure
Supercharge JavaEE applications using JCache
How Microsoft learned to love Java
Anatomy of a Modern Node.js Application Architecture
Introdcution to Adobe CQ
Rock Solid WordPress
Node.Js: Basics Concepts and Introduction
Cnam azure 2015 storage
Ad

Viewers also liked (15)

PPTX
Cloud Migration with AZURE - I'm SURE!
PDF
Bringing Developers to the Next Level
PPTX
Working With Containers In The Enterprise
PDF
Sample - Data Center Migration Program
PPTX
Hybrid IT Operations and the Hybrid Cloud
PPTX
Design and implementation of hybrid cloud computing architecture based on clo...
PPTX
Cloud Based Rights Management with Azure RMS
PPTX
Planning A Cloud Implementation
PPTX
Massive Lift & Shift Migrations to Microsoft Azure with the Microsoft Migrati...
PPTX
Five Benefits of Data Center Colocation
PPT
Data Center Migration
PPTX
Moving Your Data Center: Keys to planning a successful data center migration
PPTX
Migrating Traditional Apps from On-Premises to the Hybrid Cloud
PPTX
Data Center Migration to the AWS Cloud
PPT
Presentation hybrid cloud
Cloud Migration with AZURE - I'm SURE!
Bringing Developers to the Next Level
Working With Containers In The Enterprise
Sample - Data Center Migration Program
Hybrid IT Operations and the Hybrid Cloud
Design and implementation of hybrid cloud computing architecture based on clo...
Cloud Based Rights Management with Azure RMS
Planning A Cloud Implementation
Massive Lift & Shift Migrations to Microsoft Azure with the Microsoft Migrati...
Five Benefits of Data Center Colocation
Data Center Migration
Moving Your Data Center: Keys to planning a successful data center migration
Migrating Traditional Apps from On-Premises to the Hybrid Cloud
Data Center Migration to the AWS Cloud
Presentation hybrid cloud
Ad

Similar to Moving applications to the cloud (20)

PPTX
MS Cloud Day - Deploying and monitoring windows azure applications
PPTX
Azure and Umbraco CMS
PPTX
02 hosting servicesinwindowsazure
PPTX
Azure Umbraco workshop
PDF
Developing and deploying windows azure applications
PPTX
2. Windows Azure
PPTX
Introduction to Windows Azure Platform
PPTX
Beginning with Windows Azure
PPTX
Clouds clouds everywhere
PPTX
Windows Azure - Uma Plataforma para o Desenvolvimento de Aplicações
PPTX
The Windows Azure Platform (MSDN Events Series)
PPSX
Windows Azure Cloud Services
PPTX
Jumpstart Azure
PPTX
Azure migration
PPTX
Building & managing wa app wely
PPTX
Building & Managing Windows Azure
PPTX
Microsoft Windows Azure Virtual Machines
PPTX
Windows Azure Pack Enabling Virtual Machines - IaaS & Virtual Machine Role - ...
PPTX
Azure for ug
PPTX
Azure Overview Csco
MS Cloud Day - Deploying and monitoring windows azure applications
Azure and Umbraco CMS
02 hosting servicesinwindowsazure
Azure Umbraco workshop
Developing and deploying windows azure applications
2. Windows Azure
Introduction to Windows Azure Platform
Beginning with Windows Azure
Clouds clouds everywhere
Windows Azure - Uma Plataforma para o Desenvolvimento de Aplicações
The Windows Azure Platform (MSDN Events Series)
Windows Azure Cloud Services
Jumpstart Azure
Azure migration
Building & managing wa app wely
Building & Managing Windows Azure
Microsoft Windows Azure Virtual Machines
Windows Azure Pack Enabling Virtual Machines - IaaS & Virtual Machine Role - ...
Azure for ug
Azure Overview Csco

More from Sergejus Barinovas (12)

PPTX
True story of re architecting website for scale on windows azure
PPTX
Continuous Happiness by Continuous Delivery
PPTX
Windows Azure from practical point of view
PPTX
Flashback: QCon San Francisco 2012
PPTX
Intro to Big Data using Hadoop
PPTX
Optimizing ASP.NET application performance: tough but necessary
PPTX
Release Often Release Safely
PPTX
Kaip Agile skatina gerųjų praktikų panaudojimą
PPTX
Web Scale with NoSQL
PPTX
NoSQL - what's that
PPTX
Architecting Windows Azure
PPTX
Cloud Computing and Microsoft Azure Platform
True story of re architecting website for scale on windows azure
Continuous Happiness by Continuous Delivery
Windows Azure from practical point of view
Flashback: QCon San Francisco 2012
Intro to Big Data using Hadoop
Optimizing ASP.NET application performance: tough but necessary
Release Often Release Safely
Kaip Agile skatina gerųjų praktikų panaudojimą
Web Scale with NoSQL
NoSQL - what's that
Architecting Windows Azure
Cloud Computing and Microsoft Azure Platform

Recently uploaded (20)

PDF
Electronic commerce courselecture one. Pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Approach and Philosophy of On baking technology
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Encapsulation theory and applications.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
Electronic commerce courselecture one. Pdf
Machine learning based COVID-19 study performance prediction
Encapsulation_ Review paper, used for researhc scholars
Dropbox Q2 2025 Financial Results & Investor Presentation
Approach and Philosophy of On baking technology
Network Security Unit 5.pdf for BCA BBA.
The Rise and Fall of 3GPP – Time for a Sabbatical?
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Encapsulation theory and applications.pdf
MIND Revenue Release Quarter 2 2025 Press Release
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Assigned Numbers - 2025 - Bluetooth® Document
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Big Data Technologies - Introduction.pptx
gpt5_lecture_notes_comprehensive_20250812015547.pdf
MYSQL Presentation for SQL database connectivity
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Mobile App Security Testing_ A Comprehensive Guide.pdf

Moving applications to the cloud

  • 1. Powered by MVPIndependent Experts. Real World Answers.2011 vasario18, Vilnius
  • 2. Moving Applications to the Cloud…Sergejus BarinovasArchitect, Windows Azure MVP
  • 3. Q: Why this topic?A: This is the most uncovered topic so far…
  • 4. Back to BasicsQ: What is Cloud?A: Elastic compute resource on demandA: This is not a technology, this is a THINKING
  • 5. Cloud as a way of THINKINGExisting technologies adopted in a new wayUtility model is welcomed by small companies and enterprisesSymbiosis of IT Professionals and Developers called DevOps
  • 6. Windows Azure is a PaaS OfferingIaaSSaaSPaaSInfrastructure-as-a-ServicePlatform-as-a-ServiceSoftware-as-a-Serviceconsumebuildhost
  • 7. Windows Azure Compute...in less than 5 minutes
  • 8. Windows Azure Compute PrimerAzure StorageWeb RolePort80Web RoleWeb Role (IIS)Port 80Web RoleSQL AzureLoadBalancerWorker Role 1Worker Role 2Port 1234Port1234Internet ServicesMonitoringProvisioningRecovering from failureFabric Controller
  • 9. Windows Azure ComputeWeb RoleWorker RoleWindows Server x64 2008 / 2008 R2.NET Framework 3.5 SP1 / 4.0Native Code, PHP, Java, <your runtime here>Full Trust and Admin Mode
  • 10. Windows Azure ComputeWeb RoleWorker RoleRole is an executableHTTP(S) and TCP<your process here>Role is hosted on IISHTTP(S)ASP.NETFast CGI + PHP
  • 12. Oops!We need some way to diagnose the issue…
  • 13. Windows Azure MonitoringWindows Azure Diagnostics APISystem Center Operation Manager (SCOM) Windows Azure Management PackRemote Desktop Connectionto Role Instance
  • 14. RDP to Role Instancedemo
  • 15. Remote Desktop Configuration<?xml version="1.0" encoding="utf-8"?><ServiceDefinition name="RemoteAccess" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition"> <WorkerRole name="GatewayRole"> <ConfigurationSettings> <Setting name="DiagnosticsConnectionString" /></ConfigurationSettings><Imports><ImportmoduleName="RemoteAccess" /><ImportmoduleName="RemoteForwarder" /></Imports></WorkerRole><WorkerRole name="TargetRole"> <ConfigurationSettings> <Setting name="DiagnosticsConnectionString" /> </ConfigurationSettings><Imports><ImportmoduleName="RemoteAccess" /></Imports></WorkerRole></ServiceDefinition>
  • 16. Remote Desktop Configuration<Role name="WorkerRole1"> <Instances count="1" /> <ConfigurationSettings> <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.Enabled“ value="true" /> <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountUsername" value="myuser" /> <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountEncryptedPassword" value="[base64]" /><Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountExpiration" value="2010-06-16T13:04:02.9666425-07:00" /></ConfigurationSettings><Certificates><Certificate name="Microsoft.WindowsAzure.Plugins.RemoteAccess.PasswordCertificate" thumbprint="c0c23e1cdd7bfb20c14dce97b37ea67bd9f24918"thumbprintAlgorithm="sha1" /></Certificates></Role>
  • 17. But I Can’t Use SQL Azure!Let’s say for security reasons…
  • 18. Hybrid Windows Azure ModelYour applications can beEntirely On-PremisesEntirely in the CloudBoth in the Cloud and On-Premises
  • 19. Hybrid Windows Azure ModelCloudOn-premisesWindows Azure Connect
  • 21. Windows Azure ConnectSecure connectivitySuper simple setupActive Directory support
  • 22. But I Need Customizations!Configure Windows, Install Applications, etc…
  • 23. Admin Mode & Startup TasksExecute BAT and PowerShell scriptsConfigure Windows Server and IISInstall additional softwareUpdate registry keys
  • 24. “PING in the Cloud”demo
  • 25. Admin Mode & Startup Tasks<WebRolename="WorkerRole1"> <Startup> <Taskcommandline="relative\path\ToSetupExecutable"executionContext="limited|elevated" taskType="simple|foreground|background"/> </Startup></WebRole>
  • 26. Let’s Have Some FUN!And give away some prizes for…
  • 27. Yell “I LOVE Windows Azure”I told you my talks are a little bit crazy…
  • 29. But <your excuse here>… and Startup Tasks can’t help you
  • 30. VM RoleWorker Role – role is an executableWeb Role – role is hosted on IISVM Role – role is the virtual machineAdmin Web / Worker RoleVM RoleWeb / Worker RoleAbstractionControl
  • 31. VM Role In a NutshellBase.VHDBlob StorageCloudOn-Premises
  • 33. VM Role<ServiceDefinitionname="MyVMRoleService"xmlns="…"> <VirtualMachineRolename="MachineRole"vmsize="Medium"> <Imports> </Imports> </VirtualMachineRole></ServiceDefinition>
  • 34. VM Role<ServiceConfigurationserviceName="MyVMRoleService"xmlns="…"> <Rolename="MachineRole"> <OsImagehref="20101020BaseVM.vhd" /><Instancescount="2" /><ConfigurationSettings></ConfigurationSettings><Certificates> <Certificatename="Microsoft.WindowsAzure.Plugins.RemoteAccess.PasswordEncryption"thumbprint="195FD938F86D8785FF53C660BCBD283819E0271A"thumbprintAlgorithm="sha1" /> </Certificates> </Role></ServiceConfiguration>
  • 35. VM RoleAbility to upload customized Windows Server x64 2008 R2 Enterprise imageYou are now responsible for patching and maintenanceOS image is not durable (yet)
  • 36. VM RoleIt’s NOT an Infrastructure as a Service!Windows Azure does automate many management tasks
  • 37. Recap: Moving Apps to the CloudIt’s really easier than you thought, isn’t it?
  • 38. Moving Applications to the CloudUse Remote Desktop for easier diagnosticsUse Azure Connect to interconnect cloud and on-premise applicationsUse Admin Mode and Startup Tasks to customize Windows and install softwareUse VM Role to migrate legacy and native applications

Editor's Notes

  • #26: Task Types:Simple [Default] – System waits for the task to exit before any other tasks are launchedBackground – System does not wait for the task to exitForeground – Similar to background, except role is not restarted until all foreground tasks exit