Download presentation
Presentation is loading. Please wait.
Published byStuart Dixon Modified over 6 years ago
1
5/13/2018 5:45 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
2
Deep Dive into Windows Azure Virtual Machines
5/13/2018 5:45 PM AZR313 Deep Dive into Windows Azure Virtual Machines Vijay Rajagopalan Principal Lead Program Manager Microsoft Corporation © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
3
Agenda Introduction & Getting Started
Patterns for running Virtual Machines Provisioning in the Cloud Image Customization Bring your own Images / Disks & Best Practices API Surface & Platform Programmability – REST, Client Libraries PowerShell Cmdlets Cross Platform Cmdlets Scalextreme – ISV building Cloud based Monitoring & Management Inside Provisioning Virtual Machines Application Patterns:- SLA, Building for availability, IaaS + PaaS Summary Q & A
4
Getting Started with Virtual Machines
Create new VMs from Platform supplied “stock images” from VM Image Gallery Tools:- Azure Management Portal / APIs / PowerShell cmdlets Customize a platform stock image and “capture” for future usage Tools:- Management Portal / APIs / PowerShell cmdlets Bring your own VMs from on-premises Tools:- Management Portal / APIs / PowerShell cmdlets & Create new VMs from Platform supplied “stock images” from VM Image Gallery Tools:- Azure Management Portal / APIs / PowerShell cmdlets Customize a platform stock image and “capture” for future usage Tools:- Management Portal / APIs / PowerShell cmdlets Bring your own VMs from on-premises Tools:- Azure SDK Authoring Tools, System Center App Controller (Future), Open Source Authoring Tools (Linux) Tips Ensure VHD is Fixed and Upload as PageBlob Enable DHCP and RDP/SSH before Upload
5
(Windows, Linux and Mac)
Cloud Provisioning Getting Started Management Portal >_ Scripting (Windows, Linux and Mac) REST API Select Image and VM Size New Disk Persisted in Storage Blob Storage Cloud Boot VM from New Disk Server
6
Imaging in the Cloud :- Customizing Stock Images in the Cloud
Base.VHD Boot VM Identical/similar deployment instances using common OS image as start Capture VM Saves Customized Image to Your Image Library Blob Storage Blob Storage Capture VM Customize VHD Generalize VHD
7
Bring Your Own Server/VHD
On-Premises Cloud Blob Storage Best Practices Activation Paging File Time Sync MyApp.vhd Upload VHD On Premises Virtual Server Create Disk or Image Provision VM from Image or Disk using portal, script or API Use Case Forklift Migration of VMs “Sysprepped” Images VHD Must Be Fixed Disk Ensure VHD is Fixed and Upload as PageBlob RDP/SSH before Upload
8
Image Mobility On-Premises Cloud MyApp.vhd Blob Storage
9
Bring your own Image/disk from on-premises
We support Image & Disk based migration. Windows Azure SDK Authoring Tools (CSUpload) Basic VHD validation Dynamic disk to Fixed disk conversion Multi-threaded upload Resume functionality Automatic Image/Disk registration Image Patching support
10
CSUpload under the covers Uploading an data disk is simple…
Customer’s Storage Account Data Disk Windows Azure Storage API Data Disk PUT Blob
11
CSUpload under the covers Uploading an OS disk is simple…
Customer’s Storage Account OS Disk Windows Azure Storage API OS Disk PUT Blob
12
What will work on upload…
Images Sysprep’d Windows Server VHD on Hyper-V (Server 2008 R2 and Windows 8 Server) Windows Azure Image Windows Server VHD on Hyper-V (Server 2008 R2 and Windows 8 Server) Windows Azure Disk Disks
13
Persistent Disk Management
Capability OS Disk Data Disk Host Cache Default ReadWrite ReadOnly Max Capacity 127 GB 1 TB Imaging Capable Yes No Hot Update Cache Setting Requires Reboot Change Cache Without Reboot, Add/Remove without Reboot. C:\ = OS Disk D:\ = Non-Persistent Cache Disk E:\, F:\. G:\ ... Data Disks
14
DEMO Image Customization & (Capture) Bring your VMs / Data Disks
Migration : - Bring your own VM from on-premises using System Center App Controller
15
Technology Behind Launching a Virtual Machine
Windows Azure Hypervisor Customer Storage Account Image Publisher Gallery Base Images VM Data Data Disk OS OS Disk ISO Provisioning Repository Cache UNATTEND Add Server Hostname Password … Storage API CACHE.VHD Portal (API)
16
Virtual Machine Provisioning Options
General Settings Computer Name Windows Update (default on) Windows Domain Join Settings (Script Only) Certificate/SSH Cert Deployment Networking Configure TCP/UDP Endpoints Subnet Name(s) Virtual Network Disk Configuration Modify cache and Add Data Disks
17
Windows Azure Virtual Machine Architecture
Cloud Service Location: North Central US Name: myservice.cloudapp.net Clients Public IP (VIP) myservice.cloudapp.net Deployment Virtual Network: MyVNET DNS Ips: , VIP Virtual Machine Role Name: srv1 Subnet: sub1 Virtual Machine Role Name: srv2 Subnet: sub1 Windows Azure Storage Load Balancer DIP
18
Virtual Machines Under the Hood
RoleName: spsql1 Subnet: AppSubnet InstanceStatus: ReadyRole IP Address: OS Disk HostCaching : ReadWrite DiskName : SPMigDemo1-spsql MediaLink : SourceImageName : MSFT__Windows-Server-2008-R2-SP1-with-SQL-Server-2012-Eval Input Endpoints EnableDirectServerReturn : False LocalPort : 3389 Name : RDP Port : 61388 Protocol : tcp Vip : LoadBalancerProbe: LoadBalancedEndpointSetName: Data Disk HostCaching : ReadOnly DiskLabel : sqldata DiskName : SPMigDemo1-spsql Lun : 0 LogicalDiskSizeInGB : 20 MediaLink :
19
Virtual Machine Management
Remote Desktop Fully Configured. Windows Update “On” by default Preferred mode for keeping your VMs up to date No Coordination between VMs and platform updates VM Customization & Software Acquisition Interactively with RDP Web PI Data Disk FTP Server Hybrid –SMB Server
20
Protocols and Endpoints
UDP Traffic Supported in WA Load-balanced incoming traffic and allows outbound traffic Support for All IP-Based Protocols (VM to VM) Instance-to-instance communication TCP, UDP and ICMP, Support for dynamic ports Custom Load Balancer Health Probes Health check based on Probes HTTP and TCP based probing, allowing granular control of health checks Port Forwarded Endpoints Direct communication to multiple VMs in the same cloud app
21
Service Management REST APIs- “A Bird’s eye View”
Entity Reference Parent – Child Reference C - Create R - Read U - Update D - Delete Management.core.windows.net/ Subscription (R) Images (CRUD) Disks (CRUD) Hosted Service (CRUD) Storage Account (CRUD) Location (CRUD) OSFamily (CRUD) OS (R) Operations (R) Deployment (CRUD) Service Certificate (CRUD) Virtual Machine (CRUD) Data Disk (CRUD) Configuration Set (CRUD)
22
REST APIs for VM Operations
Add Role (i.e., Create Virtual Machine) Delete Role Get Role Shutdown/Restart Role Modify Role Deployment Level APIs Attach Disk Capture Role Detach Disk Download RDP file Modify Disk Attribute Get/Set/List Virtual Networks
23
Create Virtual Machine
POST { “Name”:”MyWebServerFrontEndH1”, “RoleType”:”PersistentVMRole”, “InstanceSize”:”Medium”, “OSDisk”: { “SourceImageId”:”PlatformWin2k8R2Apr01” }, “DataDisks”: [{ “LogicalDiskSizeInGB”:15 }], “ConfigurationSets”: “ConfigurationSetType”:”ProvisioningConfiguration”, “AdminPassword”:”ac bbef82729==”, “ResetPasswordOnFirstLogon”:”true” }] } Response 202 Accepted x-ms-requestid :
24
Capture a Virtual Machine
POST erverFrontEndH1/Operations?OperationType=”Capture” { “TargetImageName”:”MySQLServerSP3BaseImage”, “PostCaptureAction”:”REPROVISION|DELETE”, “ConfigurationSets”:[{ “ConfigurationType”:”ProvisioningConfiguration”, “AdminPassword”:”baac ==”, “ResetPasswordOnLogon”:”true”, “MachineName”:”SQLServerv11” }] } Response 202 Accepted x-ms-requestid :
25
Introducing Client Libraries for Service Management
We will deliver .NET Reference Library for all the management scenarios Prescriptive & Consistent Client Scenario Wrappers to enable Microsoft & ISV products. Java & PHP Libraries for non-Windows scenarios.
26
Announcing Windows Azure PowerShell Cmdlets
Subscription Management Basic Storage Operations Upload/Download/Delete Create/Manage Storage Accounts Storage Analytics Cloud Services/Deployments New/Upgrade/Delete/VIP Swap Virtual Machine Management Create/Managing Virtual Machines Hot Add Disks/Endpoints Manage VNET Settings Instance Management Add/Remove/Reboot/Re-Image Diagnostics Management Configure/Download/Clea
27
Scripted Deployment $vms = @()
$vms += New-AzureVM -RoleName 'vm1' -InstanceSize Small | Add-ProvisioningConfiguration -Windows -AdminPassword $pwd | Add-OSDisk -ImageName $imgname -MediaLocation $vm1storage $vms += New-AzureVM -RoleName 'vm2' -InstanceSize Small | Add-OSDisk -ImageName $imgname -MediaLocation $vm2storage New-AzureDeployment-NewCloudService -ServiceName $svcName -Location 'North Central US' -Roles $vms
28
DEMO REST API Surface area Command Line Tools
Building Webfarm using PowerShell Managing Virtual Machines from Linux/Mac
29
Scalextreme
30
ScaleXtreme Overview Cloud-based Systems Management
“Instant On” Manage existing servers or create brand-new servers – no need to use our images, you can use your own Monitoring, Patch Management, general-purpose Job Automation, Budgets & Cost Control, etc. Complements Azure management functionality with actual server launch and management capabilities – Windows and Linux fully supported, today Directly integrates with Windows Azure through management API’s Worked closely with Microsoft to ensure native integration
31
Super Easy 1. Create free account at http://www.scalextreme.com/free
2. Link your Azure account to ScaleXtreme 3. Put agent on existing servers or start launching new ones 4. All functionality (patch, job automation) instantly available!
32
Demo!
33
Application Patterns SLA & Building for High Availability
Highly Available Application Pattern SQL Mirroring for Availability SharePoint Designing VMs with Domain Controller Connecting Cloud Services & VMs over VIP Connecting Cloud Services & VMs over VNet Mixed Mode (PaaS + IaaS working together)
34
Service Level Agreements
99.95% for Virtual Machines (in Availability Set) 4.38 hours of downtime per year 99.9% for single Virtual Machine 8.75 hours of downtime per year What is included Compute Hardware failure (disk, cpu, memory) Datacenter failures - Network failure, power failure Hardware upgrades, Software maintenance – Host OS Updates What is not included VM Container crashes, Guest OS Updates
35
Availability Set Visualized
Fault Domain Fault Domain Rack Rack Virtual Machine Virtual Machine Web Availability Set IIS1 IIS2 Virtual Machine Virtual Machine SQL Availability Set SQL1 SQL2
36
How Does this Relate to SLA?
Availability Set Virtual Machine SQL Server - Primary SLA 99.9
37
End to End Highly Available Solution
Redundancy at every level Virtual Machine Virtual Machine Business Components & Entities SQL Server IIS Web Application Internet Persistent Disk Web Role SQL Mirroring LB Virtual Machine IIS Web Application Business Components & Entities Tips :- Add both VMs to the same availability Set at every layer Configure a load balanced endpoint on Port 80 for UI layer Virtual Machine SQL Server Web Role Persistent Disk
38
Summary – SLA and Availability
Scenario Windows Azure SQL Server Multiple Instance Availability 99.95% (Availability Sets) 99.95% (DB Mirroring) Single Instance Availability 99.9% Disaster Recovery Windows Azure Storage Geo-Replication Log-Shipping/Backup
39
SharePoint Tips :- LB LB Internet Internet
Configure the Virtual Network Configure Gateway to On Premise Configure your on premise router Start the gateway Create first VM from SQL Server. Configure databases on it. Sysprep and shut it down. Capture as an Image Create second VM from the Images Create load balanced endpoints Put both VMs in the same availability set VNet On Premises Virtual Machine x DC DNS Local DNS User Accounts DC DNS Virtual Machine Server Accounts Virtual Machine SharePoint FrontEnd SQL SQL Mirroring LB Virtual Machine Virtual Machine Virtual Machine DC DNS Local DNS SQL SharePoint FrontEnd Virtual Machine Search and Index Virtual Machine Server Accounts Persistent Disk Open User Access (Website) Virtual Machine SharePoint FrontEnd SQL SQL Mirroring Internet Domain joined to On-Premises Network LB Virtual Machine Virtual Machine SQL SharePoint FrontEnd Virtual Machine Search and Index Persistent Disk Internet
40
Building Complex LOB Applications with Domain Controller
VNet Building Complex LOB Applications with Domain Controller Active Directory Web Tier UI Process Components DNS Business & Data Tier Business Components & Entities SQL Server Virtual Machine Domain joined to Network Virtual Machine
41
DEMO Building Complex Applications using Domain based Automation
42
Power of Choice Virtual Machines(IaaS) & Cloud Services(PaaS) Better Together
Connect Cloud Services via VIPs Easily compose services by connecting public endpoints Direct Connectivity Using Virtual Networking Simple, secure and highly efficient method of using IaaS and PaaS side-by-side For advanced connectivity scenarios such as Active Directory or DCOM Mixed Mode: Virtual Machines and Web/Worker Roles in the Same Cloud Service
43
Connecting Cloud Services via VIPs
Strengths Simplicity Tenant Autonomy VIP Swap (stateless roles) Easy Local Dev/Test Persistent Service is Easily Accessible (even from other services!) SQL Data Access Traffic Through Public Endpoint Cloud Service1 Load Balancer 80 WA Web Role Secure Endpoints with Firewall Weakness Higher Latency Less Secure Management/Deployment Overhead Cloud Service 2 SQL Server Load Balancer
44
Connecting Cloud Services with VNET
Strengths Simplicity Tenant Autonomy VIP Swap (stateless roles) Easy Local Dev/Test Persistent Service is Easily Accessible (even from other services!) ContosoVNet ( /8) Cloud Service1 80 WA Web Role FrontEndSubnet ( /16) Load Balancer Direct Access via VNET Weakness VNET Complexity No iDNS – use BYOD Cloud Service 2 SQLSubnet ( /16) AD SQL Mirror AD Subnet ( /16)
45
Mixed Mode: PaaS/IaaS in the Same Cloud Service
Virtual Machine Cloud Service WA Web Role 80 Load Balancer Strengths Internal DNS (iDNS) Low latency connectivity Single deployment, update and management unit Weakness No VIP Swap (coming in the future) Coming in the future
46
Track Resources @WindowsAzure @teched_europe DOWNLOAD Windows Azure
Meetwindowsazure.com @WindowsAzure @teched_europe DOWNLOAD Windows Azure Windowsazure.com/ teched Hands-On Labs
47
Resources Learning TechNet http://europe.msteched.com
Connect. Share. Discuss. Microsoft Certification & Training Resources TechNet Resources for IT Professionals Resources for Developers
48
Submit your evals online
5/13/2018 5:45 PM Evaluations Submit your evals online © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
49
5/13/2018 5:45 PM © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.