Download presentation
Presentation is loading. Please wait.
Published byDorthy Wells Modified over 9 years ago
1
Calendar - http://NEITPro.com HOL Guides: http://itproguru.com/hol/
IT Camp: Windows Azure Infrastructure Services SSID: MSFTGuest UserName: usmsguest Password: G8j8ee22 Virtualization Cloud System Center Management Infrastructure Security Dan Stolts, MCT, MCSA, MCITP, MCSE… Microsoft – Chief Technology Strategist @itproguru CT, MA, ME, NH, VT, NY (upstate) More Jobs Owner - Bay State Integrated Technology, Inc. ( President - Boston User Groups ( Cubmaster/Leader – Cub Scouts Pack 14, Lakeville, MA {LakevillePack14.com) Founder/Chairman - Virtualization Group Boston ( Founder/President – North East Leaders ( @ITProGuru Azure Trial -
2
Today @ IT Camp … Timing Topic 08:00AM – 09:00AM
Registration and Breakfast 09:00AM – 10:00AM Introduction to Windows Azure 10:00AM – 10:15AM Break – Sign-up for Windows Azure Trial (#1) 10:15AM – 11:15AM Windows Azure Virtual Networks & Virtual Machines (#2-4) 11:15AM – 11:30AM Break 11:30AM – 12:30PM Windows Azure Virtual Machines & Storage 12:30PM – 01:00PM Lunch 01:00PM – 02:00PM Managing & Monitoring Windows Azure 02:00PM – 02:15PM Evaluations and Prize Drawing* 02:15PM – 04:00PM Hands-on-Lab: Finish Build a Dev/Test Farm in the Cloud * Must be present to win
3
Logistics Emergency Exit, Rest Room, Cell Event Format
Continual Partnership 9 - Yeah, I learned Azure (A-) 8 - OK event (B-) 7 - Action items to improve (C-) 6 – Waste of time… (D-) … Total Failure … You get the picture… Logistics Score generously, actionable feedback
4
Windows Server 2012 “Early Experts” http://EarlyExperts.net
Free Training: Get Certified on Windows Server 2012 Windows Server “Early Experts” @ITProGuru DanStolts Dan Stolts, MCT, MCSA, MCITP, … CT, MA, ME, NH, VT, NY (upstate) IT Pro Chief Technology Strategist Microsoft Corporation ITProGuru.com DanStolts
5
Hands-On Lab Exercises
Get Started with Windows Azure Register a DNS Server in Windows Azure Define a Virtual Network in Windows Azure Configure a Windows Server 2012 AD VM Configure a SQL Server 2012 VM Configure a SharePoint Server 2013 VM Challenge Exercise: Scripted Provisioning URL to hands-on lab documents
6
Introduction to Windows Azure
7
Introduction to Windows Azure
IaaS, PaaS and SaaS Self-Service Provisioning Global Scale Estimating Costs Cloud Patterns Common Scenarios Pay-As-You-Go Windows or Linux Global, Solid, Scalable
8
Identity & Access Management BYOD / MDM Collaboration Development
Microsoft Office 4/19/2017 Identity & Access Management BYOD / MDM Collaboration Development Active Directory System Center Windows Intune Office 365 Visual Studio © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.
9
Cloud Computing Models
Infrastructure-as-a-Service host IaaS develop Platform-as-a-Service PaaS consume Software-as-a-Service SaaS Existing Applications New Custom Applications Packaged Applications
10
Cloud Computing Models
Today’s Focus: On-Premises ( Private Cloud ) Networking Compute Storage Virtual Machine Operating System Applications Data & Access Runtime You Provision & Manage Infrastructure ( as a Service ) Platform ( as a Service ) Software ( as a Service ) You Manage You Manage You Provision & Manage Networking Compute Storage Virtual Machine Operating System Applications Data & Access Runtime Networking Compute Storage Virtual Machine Operating System Data & Access Runtime Applications Networking Compute Virtual Machine Operating System Data & Access Runtime Applications Storage Provisioned & Managed by Vendor Provisioned & Managed by Vendor Physical Fabric Managed by Vendor You Provision Cloud Services Host Develop Consume
11
IaaS + PaaS = Better Together
migrate Infrastructure-as-a-Service IaaS enhance Platform-as-a-Service PaaS +
12
Self-Service Provisioning
13
Hands-On Exercise 1 Setup Your Windows Azure Account … Login to Windows Azure Portal …
14
DEMO Getting Started with Windows Azure http://aka.ms/IaaS
Windows Azure Affinity Group
15
Windows Azure Global Footprint
16
89 countries and territories Australia Austria Belgium Brazil Canada
Chile Colombia Costa Rica Cyprus Czech Republic Denmark Finland France Germany Greece Hong Kong Hungary India Ireland Israel Italy Japan Korea Luxembourg Malaysia Mexico Netherlands New Zealand Norway Peru Philippines Poland Portugal Puerto Rico Romania Russia Singapore Spain Sweden Switzerland Trinidad & Tobago UK United States New Countries: Algeria 89 countries and territories Argentina Belarus Bulgaria Croatia Dominican Rep Ecuador Egypt El Salvador Estonia Guatemala Iceland Indonesia Jordan Kazakhstan Kenya Kuwait Latvia Liechtenstein Lithuania Macedonia Malta Montenegro Morocco Azerbaijan Nigeria Oman Pakistan Panama Paraguay Qatar Saudi Arabia Serbia Slovakia Slovenia South Africa Sri Lanka Taiwan Thailand Tunisia Turkey UAE Ukraine Uruguay Venezuela Bahrain
17
ITPAC – How Microsoft Builds Azure Datacenters
ITPAC ( IT Pre-Assembled Components ) Generation 4 Cloud Datacenters aka.ms/itpac aka.ms/msdatacenters
18
Estimating Cloud Costs
19
Estimating On-Premises Server Costs
Question: How much does it cost to procure and operate monthly? A. $100 / month B. $500 / month C. $750 / month D. $1,000 / month Answer: Average ~ $630 / month
20
DEMO http://www.windowsazure.com/en-us/pricing/calculator/
Windows Azure Pricing Calculator
21
Comparative Performance/Price IaaS Study
Unixbench / Cost “Windows Azure scores 3 times higher than Amazon EC2 on average.” “Windows Azure … provides 5x more value than Rackspace on average.” Source: Cloud Spectator Study, June 2013
22
Cloud Computing Patterns & Scenarios
On and Off On & off workloads Over provisioned capacity is wasted Time to market can be cumbersome Cloud Computing Patterns & Scenarios Inactivity Period On-Demand Dev/Test/Lab environments “Cold” VMs for Disaster Recovery Batch Job Workloads Resources t Growing Fast Successful services needs to grow/scale Keeping up w/ growth is big IT challenge Cannot provision hardware fast enough Off-site Backups Cloud-Integrated Storage Pilot > Production Application Rollouts Resources t Unpredictable Demand Unexpected/unplanned peak in demand Sudden spike impacts performance Can’t over provision for extreme cases Resources Replicated VMs for Disaster Recovery Internet Web Sites B2C and B2B Applications t Predictable Bursting Services with micro seasonality trends Peaks due to periodic increased demand IT complexity and wasted capacity Resources LOB Applications Seasonal Applications ( Retail, etc ) High-Performance Computing ( HPC ) t
23
Review: Introduction to Windows Azure
IaaS, PaaS and SaaS Self-Service Provisioning Global Scale Estimating Costs Cloud Patterns Common Scenarios Pay-As-You-Go Windows or Linux Global, Solid, Scalable
24
Windows Azure Virtual Networks
25
Windows Azure Virtual Networks
Secure, Isolated Virtual Networks Bring Your Own IP Addresses Hybrid, Cross-Premises Networking Site-to-Site VPN Point-to-Site VPN Networking Compute Storage Virtual Machine Operating System Applications Data & Access Runtime Provision
26
Windows Azure Virtual Networks
VM 1 VM 2 VM 3 Subnet 2 Subnet 1 A protected, private virtual network in the cloud Secure, Isolated virtualized networks in Azure Bring Your Own IP’s – Internal IPv4 address persistence A virtual branch office or datacenter in the cloud Securely Extend Enterprise Networks to Azure On-ramp for migrating apps and services to Azure Enables “hybrid” apps that span cloud and on-premises Site-to-Site VPN and Point-to-Site VPN functionality
27
DEMO Build a Virtual Network in the Cloud
28
Hands-On Exercise 2 Register DNS Server in Windows Azure
Exercise 3 Build a Virtual Network in Windows Azure
29
Virtual Network Scenarios
Hybrid Cross-Premises Network Remote User Access
30
Hybrid Cross-Premises Scenario
OnPremNet Windows Azure CloudNet On-Premises Network Subnet / 24 - Web System Center SQL IIS IIS SharePoint AD / DNS Site-to-Site IPSec VPN tunnel IPv4 Public Address Subnet / 24 - Gateway Highly Available Active / Passive VPN Gateway VPN Gateways Exchange Subnet / 24 - Core BranchCache File AD / DNS SQL IP Address Space: /16 IP Address Space: /16
31
Remote Access Scenario
OnPremNet Windows Azure CloudNet On-Premises Network Subnet / 24 - Web System Center SQL IIS IIS SharePoint AD / DNS Site-to-Site IPSec VPN tunnel IPv4 Public Address Subnet / 24 - Gateway Highly Available Active / Passive VPN Gateway VPN Gateways Exchange Subnet / 24 - Core BranchCache File AD / DNS SQL /24 IP Address Space: /16 IP Address Space: /16 Point-to-Site VPN For Remote Users
32
DEMO Build a Hybrid Cross-Premises Network
33
Review: Windows Azure Virtual Networks
VM 1 VM 2 VM 3 Subnet 2 Subnet 1 Secure, Isolated Virtual Networks Bring Your Own IP Addresses Hybrid, Cross-Premises Networking Site-to-Site VPN Point-to-Site VPN
34
Windows Azure Virtual Machines
35
Windows Azure Virtual Machines
VM Sizes Supported Workloads Software Licensing VM Portability VM’s & Cloud Services Networking Compute Storage Virtual Machine Operating System Applications Data & Access Runtime Provision & Manage
36
Windows Azure VM Sizes Variable instance sizes to handle complex workloads of any size $0.02 Per service hour X-Small Small $0.09 Per service hour Medium $0.18 Per service hour Large $0.36 Per service hour X-Large $0.72 Per service hour A6 $1.02 Per service hour A7 $2.04 Per service hour Unit of Compute Defined X-Small Shared Core (low IO) 768 MB memory 20 GB OS disk 1 Data Disk ( 1TB ) 1 x 500 Max IOPs Small 1 x 1.6Ghz (moderate IO) 1.75 GB memory 70 GB OS disk 2 Data Disks (1TB) 2 x 500 Max IOPs Medium 2 x 1.6Ghz (high IO) 3.5 GB memory 135 GB OS disk 4 Data Disks (1TB) 4 x 500 Max IOPs Large 4 x 1.6Ghz (high IO) 7.0 GB memory 285 GB OS Disk 8 Data Disks (1TB) 8 x 500 Max IOPs X-Large 8 x 1.6Ghz (high IO) 14 GB memory 605 GB OS Disk 16 Data Disks (1TB) 16 x 500 Max IOPs A6 4 x 1.6Ghz (high IO) 28 GB memory 285 GB OS Disk 8 Data Disks (1TB) 8 x 500 Max IOPs A7 8 x 1.6Ghz (high IO) 56 GB memory 605 GB OS Disk 16 Data Disks (1TB) 16 x 500 Max IOPs
37
Demo / Hands On Lab Exercise 4 ... 1-12
Provision & Configure VM via Management Portal
38
Windows Azure VM Platform Images
Microsoft Windows Server 2012 R2 Preview Windows Server 2012 Windows Server 2008 R2 SP1 SharePoint Server 2013 Trial SQL Server 2014 CTP1 SQL Server 2012 SQL Server 2008 R2 SP2 BizTalk Server 2013 Visual Studio Ultimate 2013 Preview Open Source OpenSUSE 12.3 SUSE Linux Enterprise Server 11 SP3 SUSE Linux Enterprise Server 11 SP2 Ubuntu LTS Ubuntu 12.10 Ubuntu 13.04 CentOS 6.3
39
What about software licensing?
Windows Server Per-hour/per-minute license in the cloud Microsoft Applications License Mobility for Applications ( SA ) Per-hour/per-minute license in the cloud for subset of products ( SQL & BizTalk ) External Applications Based upon vendor and product
40
Virtual Machines & Cloud Services VMs exist within a Cloud Service
Cloud Service is a… Public IP Address Public DNS Name Internet Firewall Load Balancing boundary
41
Virtual Machines & Cloud Services Multiple VMs can be hosted within the same cloud service
Cloud Service is a… Public IP Address Public DNS Name Internet Firewall Load Balancing boundary VM 1 VM 2 VM 3 VM 4 Affinity Group…
42
Port Forwarding Input Endpoints
Cloud App / Hosted Service Endpoint Public Port Local Port Protocol (TCP/UDP) Name PORT 5586 PORT 3389 VM1 LB/IP PORT 5587 PORT 3389 VM2 Single Public IP Per Cloud Service
43
DEMO Provision a New VM on a Virtual Network
44
DO IT! Hands On http://aka.ms/DoIt
Hands On Lab: Download Windows Server 2012 R2 ISO (from Azure Virtual Machine) Click Server Manager – Local Server – IE Enhanced Security Configuration – change the On to Off for administrators – Close browser then reopen browser. On Akamai NetSession Interface – OK to download and Install (this is Content Distribution Network) Save to D: Temporary Storage 3GB download fast Pause and close when ready
45
Lunch
46
Imaging VMs 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 Capture VM Customize VHD Generalize VHD
47
Virtual Machine Portability
On-Premises Cloud MyApp.vhd
48
Bring Your Own Server to the Cloud
On-Premises Cloud 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 Disk - Migration of VMs Images – Sys-prepped (Generalized) VHD Must Be Fixed Disk OS must be configured as DHCP client OS should be configured to allow Remote Desktop
49
Availability & Service Level Agreements
Availability set 99.95% Monthly SLA for VM’s 4.38 hours of downtime per year for VM’s in an availability set VM 1 VM 2 What’s 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 SLA 99.95
50
Load-Balanced Endpoints
Cloud App / Hosted Service Endpoint Public Port Local Port Protocol (TCP/UDP) Name PORT 443 IIS VM1 LB/IP PORT 443 PORT 443 IIS VM2 Single Public IP Per Cloud Service
51
Virtual Machine Availability Sets Update Domains are honored by host OS updates
Fault Domain Fault Domain Rack Rack Availability Set Virtual Machine Virtual Machine IIS1 IIS2 UD #2 UD #1 Availability Set Virtual Machine Virtual Machine SQL1 SQL2 UD #1 UD #2
52
End-to-End Highly Available Solution Redundancy at every level
SQL Server VM1 DB-AVSET Internet IIS Web Application Web-AVSET IIS VM1 SQL Mirroring LB IIS Web Application SQL Server VM2 IIS VM2
53
Auto-scaling Windows Azure VM’s
Based on CPU Utilization Thresholds Scale-up: Start VMs Scale-down: Stop VMs Cloud Service IIS VM1 :-) IIS VM2 :-) IIS VM3 :-)
54
DEMO Configure Availability Sets, Load Balancing and Auto-scaling
55
Virtual Machine Scenarios
Disaster Recovery On-Demand Dev/Test
56
Disaster Recovery Scenario
Windows Azure Virtual Network VPN Tunnel On-Premises AD/DNS SQL File Web 80/443 Web File SQL AD/DNS AD Repl S Xcopy / Robocopy based Deployments S Distributed Filesystem Replication ( DFS-R ) S SQL DB Mirroring / AlwaysOn Cloud Service
57
On-Demand Dev/Test Scenario
LB WEB AD/DNS SQL AD Cloud Service 2 80/443 VPN Tunnel Corp Users Cloud Service 1 Windows Azure Virtual Network On-Premises
58
Review: Windows Azure Virtual Machines
VM Sizes Supported Workloads Software Licensing VM Portability VM’s & Cloud Services
59
Windows Azure Storage
60
Windows Azure Storage Persistent Cloud Storage
Highly Durable and Scalable Continuous Geo-Replication Cloud Storage Scenarios Networking Compute Storage Virtual Machine Operating System Applications Data & Access Runtime Provision
61
Persistent Storage with Windows Azure
Windows Azure Storage
62
Storing Data on Windows Azure
Windows Azure Storage
63
Storing Data on Windows Azure
Windows Azure Storage Highly Durable Storage
64
Increased Availability with Replication
Geo-Replicated Storage WEST DC EAST DC > 400 miles continuous storage geo-replication Windows Azure Storage
65
DEMO Provisioning Windows Azure Storage
66
Accessing Blob Storage
Account Container Blob Pages/ Blocks vhds VM01.VHD Page (1TB) contoso Block (4MB) videos VID1.AVI Block (4MB)
67
Cloud Storage Scenarios
Cloud-Integrated Storage SQL Database Backup File and Folder Backup
68
Microsoft StorSimple Cloud-Integrated Storage
Connects On-Premises Servers to Azure Storage in Minutes with No Application Modification Application Servers Benefits Consolidates primary, archive, backup, DR thru seamless integration with Azure Cloud snapshots = revolutionary speed, simplicity and reliability for backup and recovery Reduces enterprise storage TCO by 60–80% Storage de-duplicated, compressed and encrypted before writing to Azure Storage. Most Active Data on SSD SAS Local Tier Speed of SSD/SAN + Elasticity of Cloud Inactive Data + Backup Copies on Azure storage aka.ms/StorSimpleDemo
69
SQL Backup to Windows Azure Storage
70
Windows Azure Online Backup
Automated Backups Windows Server 2012 Windows Server 2012 Essentials System Center 2012 Data Protection Manager Efficient and Flexible Offsite Backup Incremental backups Reduced bandwidth consumption Point-in-time recovery of multiple versions of the data PowerShell Support Currently in Technical Preview
71
Supported Volumes for Backup
Volume description Online backup supported BitLocker-protected volume Yes, but the volume must be unlocked before the backup can occur. File System identification Yes. NTFS is the only file system supported for this version of the online backup service. Removable Media No. The drive must report as fixed to be used a backup item source. Read-only Volumes No. The volume must be writable for the volume shadow copy service (VSS) to function. Offline Volumes No. The volume must be online for VSS to function. Network share No. The volume must be local to the server to be backed up using online backup.
72
Windows Azure Backup Overview
1 Sign up Windows Azure Backup 2 Install Agent Register (Certificate) 3 4 Set policy Backup Vault Agent Agent Data Recovery (same server) 6 Agent 5 Backup Data Recovery (alternate server) 7 Windows Server 2012 Data
73
DEMO Using Windows Azure Storage
74
Review: Windows Azure Storage
Persistent Cloud Storage Highly Durable and Scalable Continuous Geo-Replication Cloud Storage Scenarios
75
Managing & Monitoring Windows Azure
76
Managing & Monitoring Windows Azure
Use Existing Tools Windows Azure Monitoring System Center 2012 Windows PowerShell Cross-Platform Windows Azure Scripting Tools Networking Compute Storage Virtual Machine Operating System Applications Data & Access Runtime Manage & Monitor Automate Provisioning
77
Manage using existing Tools
Windows Intune AD Mac / Linux Windows Windows Server 2012 Windows RT VPN TUNNEL Windows Phone 8 iOS Windows Server 2012 Windows Server 2008 R2 Windows Server 2012 with Server Manager Windows Server 2008 R2 Linux Android On-Premises Azure Internet
78
Windows Azure Monitoring
79
DEMO Windows Azure Monitoring
80
System Center Integration with Azure
Move Manage Monitor App Controller App Controller Orchestrator Data Protection Manager App Controller Operations Manager Advisor On-Premises Azure IP Azure MP
81
Monitor Windows Azure with SCOM
IaaS Monitor via SCOM Agent Via Site-to-Site VPN System Center Operations Manager With Management Pack for Windows Azure PaaS and Fabric Agentless Monitoring Certificate Authentication Via REST Endpoint
82
Windows Azure Scripting Tools
83
DEMO Windows Azure Scripting Tools
84
Review: Managing & Monitoring Windows Azure
Use Existing Tools Windows Azure Monitoring System Center 2012 Windows PowerShell Cross-Platform Windows Azure CLI Tools
85
IT Camp Summary Windows Azure provides a comprehensive set of services that you can selectively compose to securely extend your infrastructure to the cloud Global Data Center Footprint 99.95% Monthly SLA. Pay only for what you use. Flexible & Open Compute Options Virtual Machines, Virtual Networks, Storage Integrate with On-Premises Manage workloads with your existing Tools
86
Resources Insert Your Picture Here TechNet Evaluation Center
Download Microsoft software trials today. Insert your Eval Link(s) here Microsoft Virtual Academy Take a free, online course. Insert your MVA link here Deployment Planning Services Get assistance in leveraging Windows Azure aka.ms/microsoftdps Microsoft Certifications Get certified on Microsoft Hybrid Cloud technologies. earlyexperts.net My Blog Insert your blog address here. Insert Your Picture Here
87
Windows Azure Free Trial Subscription
Up to $200 USD in “Cloud Credit” for up to 30-Days What kinds of scenarios can I build with a Free Trial? 3 Small VM’s running continuously for 1-month On-demand Dev/Test/Lab environment as-needed for 1-month 2.3TB of Geo-Replicated Cloud Storage for 1-month Up to 10 Web Sites – Web, Blog, E-Commerce, Collaborate … and MORE!
88
Hands-On Lab Build a Dev/Test Farm in the Cloud
89
Lab Scenario: SharePoint Dev/Test Farm
LB Web App Servers SQL AD/DC/DNS WFE 1 WAC 1 WAC 2 AD 2 AD 3 AD 1 WFE2 SQL 1 APP 1 APP 2 Cloud Service 2 80/443 WFE 3 SQL 2 DATA APPS WFE 4 VPN Tunnel Cloud Service 1 Windows Azure Virtual Network On-Premises
90
Hands-On Lab Exercises
Get Started with Windows Azure Register a DNS Server in Windows Azure Define a Virtual Network in Windows Azure Configure a Windows Server 2012 AD VM Configure a SQL Server 2012 VM Configure a SharePoint Server 2013 VM Challenge Exercise: Scripted Provisioning URL to hands-on lab documents
91
Resources Insert Your Picture Here TechNet Evaluation Center
Download Microsoft software trials today. Insert your Eval Link here Microsoft Virtual Academy Take a free, online course. Insert your MVA link here Deployment Planning Services Get assistance in leveraging Windows Azure aka.ms/microsoftdps Microsoft Certifications Get certified on Microsoft Hybrid Cloud technologies. earlyexperts.net My Blog Insert your blog address here. Insert Your Picture Here
92
Windows Azure Web Sites
Get started with 10 free web sites Create new sites in seconds Easily manage and scale your sites Automatic load balancing and shared storage across instances Scale out or up to reserved instances for improved performance and scale
93
Windows Azure Web Sites Gallery
Ready-to-Go Open Source Web Applications, Frameworks, and Templates
94
scale Multi-tenant. Daily quotas Multi-tenant. Daily quotas
Free Multi-tenant. Daily quotas Shared Multi-tenant. Daily quotas Standard Dedicated VMs. No quotas
95
:-) :-) :-) auto-scaling standard cpu utilization Standard instance
96
Content Delivery Network (CDN)
High-bandwidth global blob content delivery 24 locations globally (US, Europe, Asia, Australia and South America), and growing Same experience for users no matter how far they are from the geo-location where the storage account is hosted Blob service URL vs. CDN URL: Windows Azure Blob URL: Windows Azure CDN URL: Custom Domain Name for CDN:
97
Windows Azure CDN To Enable CDN: GET TTL
Edge Location 404 Edge Location Edge Location TTL Content Delivery Network To Enable CDN: Register for CDN via Management Portal Set container images to public Windows Azure Blob Service pic1.jpg pic1.jpg pic1.jpg
98
Windows Azure Traffic Manager
Direct users to the application instance in the closest region with the Windows Azure Traffic Manager Traffic Manager foo-us.cloudapp.net foo.cloudapp.net foo-europe.cloudapp.net Policies Monitoring DNS response foo-asia.cloudapp.net
99
Getting Started with Azure and PowerShell
# Download & Install Windows Azure PowerShell module # Import Azure PowerScript Module Set-ExecutionPolicy RemoteSigned Import-Module Azure.psd1 # Download Azure Publisher Settings File ( cert ) Get-AzurePublishSettingsFile # Import Azure Publisher Settings File Import-AzurePublishSettingsFile mycloud.pubsettings
100
Build Cloud VMs with PowerShell – Part 1
# Set Default Azure Subscription Set-AzureSubscription –DefaultSubscription “Azure Free Trial” # Set Default Storage Account Get-AzureSubscription | Set-AzureSubscription -CurrentStorageAccount XXXlabstor01 # Set VM Image ( Platform or Custom Image ) $myImage = Get-AzureVMImage –ImageName “XXXimage01”
101
Build Cloud VMs with PowerShell – Part 2
# Specify a Name for the new VM $myVM = “XXXlabvm02” # Set Affinity Group in which new VM will run $myAffinityGroup = “XXXlab01” # Specify a new local Administrator credentials for the VM $myUsername = “AzureAdmin” $myPwd =
102
Build Cloud VMs with PowerShell – Part 3
# Build a new Windows VM in the Cloud New-AzureQuickVM -Windows -name $myVM -ImageName $myImage.ImageName -ServiceName $myVM -AffinityGroup $myAffinityGroup -AdminUsername $myUsername -Password $myPwd
103
Build Cloud VMs with PowerShell – Part 4
# Build a new Linux VM in the Cloud New-AzureQuickVM -Linux -name $myVM -ImageName $myImage.ImageName -ServiceName $myVM -AffinityGroup $myAffinityGroup -LinuxUser $myUsername -Password $myPwd
104
Upload VHDs with PowerShell
# Set the Azure Storage Account Name $myStorageAcct = “XXXlabstor01” # Set Source Path and Dest Path – Needs to be a FIXED SIZE VHD $mySourceVHD = “C:\MyVHDs\MyServerDisk.vhd” $myDestVHD = “ + $myStorageAcct + “.blob.core.windows.net/vhds/MyServerDisk.vhd” # Upload VHD to Azure Storage Account Add-AzureVhd –LocalFilePath $mySourceVHD –Destination $myDestVHD # Assign VHD to Azure Disks and VM Images Add-AzureDisk –OS Windows –MediaLocation $myDestVHD –DiskName “MyServerDisk” # Add Disk for 1 VM Add-AzureVMImage –OS Windows –ImageName “XXXimage01” –MediaLocation $myDestVHD –Label “Descriptive Label” # Add VM Image
105
Backup VHDs to Windows Azure Storage
Off-site Backup of Entire VHDs containing: OS Binary Files and Configuration Application Binary Files Combine with Windows Azure Online Backup or SQL Backup to Windows Azure for off-site data backup. Flexible recovery options: Restore VHD to on-premises location Provision VM in Windows Azure using Backup VHD Must be “Fixed” size VHDs / DHCP & RDP Enabled
106
Getting Started with Azure and PowerShell
# Download & Install Windows Azure PowerShell module # Import Azure PowerScript Module Set-ExecutionPolicy RemoteSigned Import-Module Azure.psd1 # Download Azure Publisher Settings File ( cert ) Get-AzurePublishSettingsFile # Import Azure Publisher Settings File Import-AzurePublishSettingsFile mycloud.pubsettings
107
Set Default Azure Subscription & Storage
Set-AzureSubscription –DefaultSubscription “Azure Free Trial” # Set Default Storage Account Get-AzureSubscription | Set-AzureSubscription -CurrentStorageAccount XXXlabstor01
108
Backup & Recover Shutdown VHD’s
# Set the Azure Storage Account Name $myStorageAcct = “XXXlabstor01” # Set On-Premises Path and Cloud Paths $myOnpremVHD = “C:\MyVHDs\MyServerDisk.vhd” $myCloudVHD = “ + $myStorageAcct + “.blob.core.windows.net/vhds/MyServerDisk.vhd” # Backup VHD to Azure Storage Account Add-AzureVhd –LocalFilePath $myOnpremVHD –Destination $myCloudVHD # Restore VHD to Local Storage Save-AzureVhd –LocalFilePath $myOnpremVHD –Source $myCloudVHD
109
Backup & Recover Running VHD’s
DISKSHADOW –s BACKUPVMS.SCRIPT Add-AzureVhd –LocalFilePath $myOnpremVHD ` –Destination $myCloudVHD Add-AzureDisk –OS Windows ` –MediaLocation $myDestVHD ` –DiskName “MyServerDisk” After performing backup steps, can recover to … On-premises VM - Use Save-AzureVHD PowerShell cmdlet Windows Azure VM - Create new VM from Backup VHD
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.