1 / 33

Migrating Applications to Windows Azure Virtual Machines

Migrating Applications to Windows Azure Virtual Machines. Michael Washam Senior Technical Evangelist Microsoft Corporation. Migrating to Virtual Machines. Getting Started. Application Migration. Imaging Virtual Machines. Deploying Enterprise Apps. Connecting Cloud Services.

chumani
Télécharger la présentation

Migrating Applications to Windows Azure Virtual Machines

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Migrating Applications to Windows Azure Virtual Machines Michael Washam Senior Technical Evangelist Microsoft Corporation

  2. Migrating to Virtual Machines • Getting Started • Application Migration • Imaging Virtual Machines • Deploying Enterprise Apps • Connecting Cloud Services

  3. Getting Started

  4. Cloud First Provisioning Getting Started New Disk Persisted in Storage Select Image and VM Size Boot VM from New Disk Management Portal Windows Server >_ Linux Scripting (Windows, Linux and Mac) Cloud BlobStorage Extra Small Small Medium Large X-Large REST API

  5. Bring Your Own Server/VHD On-Premises Cloud Provision VM from Image or Disk using portal, script or API MyApp.vhd On Premises Virtual Server Create Disk or Image Use Cases • Forklift Migration of VMs • Sys Prepped Images VHD Must Be Fixed Disk * CSUpload Can Convert on Upload BlobStorage Upload VHD

  6. Creating a Virtual Machine Portal Experience

  7. Application Migration

  8. Migration Approaches Build Virtual Machine in the Cloud Lowers upload time and dependency risk Requires upload and installation of application and data Migrating an Existing Virtual Machine Application, Configuration and Data in an installed Working State Requires uploading a large amount of data and a higher risk of drivers or other hardware dependencies on VM not available in the cloud

  9. Migrating a Multi-VM Application Cloud Service Acts as a Networking Boundary All VMs in the same service can communicate directly Name resolution between VMs is automatic with Windows Azure provided DNS Cloud Service Name: myapp1.cloudapp.net Load Balancer Public IP • Virtual Machine • VM Name: iisvm2 • 10.1.5.7 • Virtual Machine • VM Name: iisvm1 • 10.1.5.6 DIP DIP DIP • Virtual Machine • VM Name: sqlvm1 • 10.1.5.8

  10. Migrating a Web Farm

  11. Virtual Machine Migration Windows Azure Supports VHD File Format Other formats will have to be converted or migrated before upload Upload Existing VHDs using CSUpload.exe Supports Resuming Failed Transfers Converting from Dynamic to Fixed Disk on Upload Efficient Upload – does not send empty bytes Things to Do Before Uploading OS Disk Enable Remote Access

  12. Migrating a Simple Virtual Machine Migration Steps 1) Upload VHDs CSUpload or other Tools 2) Create VM OS Disk=APP-OS.vhd 3) Configure Data Disks Data Disk 1 = APP-Data.vhd Data Disk 2 = App-Logs.vhd 4) Adjust App for Drive Letters 5) Add Endpoint(s) 80, TCP, http 443, TCP, https Cloud Service Name: myapp1.cloudapp.net On-Premises Virtual Machine Machine Name: APPSRV1 Memory: 8 GB Cores: 4 Ports: 80/443 for http/https Deployment Slot Production Virtual Machine Role Name: appsrv1 4 Cores 7 GB Ram Guest: C:\ Host: C:\VMs\APP-OS.vhd • Windows Azure • Storage TCP Endpoints 80 and 443 Guest: D:\ Host: D:\VMs\APP-Data.vhd Guest: C:\ WAStorage\VMs\APP-OS.vhd Guest: E:\ Host: E:\VMs\APP-Logs.vhd Guest: E:\ WAStorage\VMs\APP-Data.vhd Guest: F:\ WAStorageVMs\APP-Logs.vhd

  13. Using CSUpload

  14. Imaging Virtual Machines

  15. Imaging VMs in the Cloud Cloud Identical/similar deployment instances using common OS image as start Base.VHD BlobStorage Boot VM Customize VHD Generalize VHD Capture VM Capture VM Saves Customized Image to Your Image Library BlobStorage

  16. Custom Images

  17. Deploying Enterprise Applications

  18. Windows Azure Virtual Network Persistent IP Address Requirements Virtual Machines deployed into a virtual network have an infinite DHCP lease. Hybrid On-Premises Cloud Apps Requirement for connectivity between your data center and the public cloud. Connectivity between cloud services. Deploying Active Directory in the Cloud or connecting a PaaS to IaaS Service. Corpnet Windows Azure VM 1 VM 2 Subnet 1 ROLE 1 Subnet 2

  19. Domain Controller in the Cloud Contoso.com Active Directory Contoso.com Active Directory Contoso Corp Network SQL Servers IIS Servers Site to Site VPN Tunnel AD / DNS AD Replication +On Premises Resources The Virtual Network in Windows Azure AD Auth S2S VPN Device AD / DNS SQL Servers IIS Servers Exchange Gateway Load Balancer Public IP

  20. Cloud Services Configuration for AD Deploy DC in Separate Cloud Service ADVNET Cloud Service for AD Domains Name: ad-cloudservice.cloudapp.net Affinity Group: ADAG Cloud Service for AD Clients Name: app-cloudservice.cloudapp.net Affinity Group: ADAG Deployment Virtual Network: ADVNET DNS Ips: (On-Premise AD IP) Deployment Virtual Network: MyVNET DNS Ips: 192.168.1.4 DIP • Virtual Machine • Role Name: ad-dc • Subnet: ADSubnet • IP Address: 192.168.1.4 Virtual Machine Role Name: advm1 Subnet: AppSubnet IP Address: 192.168.2.4

  21. Demo Deploying with AD

  22. Managing VMs

  23. Managing Windows Azure VMs Windows Azure Virtual Machines are not “different” Existing Monitoring and Management Applications will continue to work Connectivity Will Be Key Using Windows Azure Virtual Networks to bridge the connectivity divide Management Applications may have more streamlined solutions such as the System Center Gateway Service For Azure Specific Automation Tasks Use PowerShell

  24. Scripting Capabilities Full Support for IaaS Windows Azure PowerShell Cmdlets Cross Platform Scripting Built on node.js Capabilities • Provisioning, Removal • Reboot, Start • Import and Export VM settings • Support for Windows and Linux VMs • Domain Join at Provision for Windows • Fully Customize VM with Data Disks and Endpoint Configuration • Automate Virtual Network Settings

  25. Scaling Up or Down

  26. Connecting Cloud Services

  27. Connecting Cloud Services with VNET Strengths More Secure Low Latency Cloud Service Autonomy VIP Swap (stateless roles) Advanced Connectivity Requirements ContosoVNet (10.0.0.0/8) Cloud Service1 APPSUBNET (10.1.0.0/16) 80 WA Web Role Load Balancer Direct Access via VNET Weaknesses VNET Complexity No Windows Azure provided DNS Cloud Service 2 SQLSubnet (10.2.0.0/16) SQL Server

  28. Connecting Cloud Services

  29. Summary • Getting Started • Application Migration • Imaging Virtual Machines • Deploying Enterprise Apps • Connecting Cloud Services

  30. Thank you! • Blog: michaelwasham.com • Twitter: @MWashamMS • Windows Azure Training Kit • http://bit.ly/WATKJune2012 • Cloud Cover • http://channel9.msdn.com/Shows/Cloud+Cover

  31. Resources Learning TechNet • Connect. Share. Discuss. • Microsoft Certification & Training Resources http://europe.msteched.com www.microsoft.com/learning • Resources for IT Professionals • Resources for Developers http://microsoft.com/technet http://microsoft.com/msdn

  32. Evaluations Submit your evals online http://europe.msteched.com/sessions

More Related