Tommy Patterson Senior Technical Evangelist Microsoft IT Camp: Windows Azure Infrastructure...
-
Upload
jagger-iams -
Category
Documents
-
view
216 -
download
0
Transcript of Tommy Patterson Senior Technical Evangelist Microsoft IT Camp: Windows Azure Infrastructure...
Tommy PattersonSenior Technical EvangelistMicrosoft
IT Camp:Windows AzureInfrastructure Services
About.Me(Tommy Patterson);• 17 Years as an experienced IT Professional• Network Engineer, IT Manager, Consultant• Trained and consulted with thousands of IT
Pros WW• Author of …
Virtuallycloud9.comblogs.technet.com/tommypatterson
Contact.Me(Tommy Patterson);• http://virtuallycloud9.com• @tommy_patterson• http://aka.ms/tplinkedin• http://aka.ms/tpohours• http://aka.ms/tpmeetup• [email protected]• Bonus – Try Server 2012 R2 @
http://aka.ms/mshosting
Introduction to Windows Azure
Introduction to Windows Azure• IaaS, PaaS and
SaaS
• Self-Service Provisioning
• Global Scale
• Estimating Costs
• Cloud Patterns
• Common Scenarios
Global, Solid, Scalable
Windows or Linux
Pay-As-You-Go
Cloud Computing ModelsOn-Premises( Private Cloud )
Networking
Compute
Storage
Virtual Machine
Operating System
Applications
Data & Access
Runtime
You P
rovis
ion &
Manage
Infrastructure( as a Service )
Networking
Compute
Storage
Virtual Machine
Operating System
Applications
Data & Access
Runtime
Physica
l Fabric
Man
ag
ed b
y V
endor
You P
rovis
ion &
Manage
Platform( as a Service )
Pro
visio
ned &
Managed
by V
endor
You M
anage
Networking
Compute
Storage
Virtual Machine
Operating System
Data & Access
Runtime
Applications
Software( as a Service )
Pro
visio
ned &
Managed
by V
endor
Networking
Compute
Virtual Machine
Operating System
Data & Access
Runtime
Applications
StorageYou P
rovis
ion
Clo
ud S
erv
ices
You M
anage
Host Develop Consume
Today’sFocus:
Self-Service Provisioning
http://manage.windowsazure.com
Windows AzureGlobal Footprint
89Australia
AustriaBelgium
BrazilCanada
ChileColombia
Costa RicaCyprus
Czech RepublicDenmark
FinlandFrance
GermanyGreece
Hong KongHungary
IndiaIreland
IsraelItaly
JapanKorea
LuxembourgMalaysia
MexicoNetherlands
New ZealandNorway
PeruPhilippines
PolandPortugal
Puerto RicoRomania
RussiaSingapore
SpainSweden
SwitzerlandTrinidad &
TobagoUK
United StatesNew Countries:
Algeria
ArgentinaBelarus
BulgariaCroatia
Dominican RepEcuador
EgyptEl Salvador
EstoniaGuatemala
IcelandIndonesia
JordanKazakhstan
Kenya
KuwaitLatvia
LiechtensteinLithuania
MacedoniaMalta
MontenegroMorocco
AzerbaijanNigeriaOman
PakistanPanama
ParaguayQatar
Saudi ArabiaSerbia
SlovakiaSlovenia
South AfricaSri Lanka
TaiwanThailand
TunisiaTurkey
UAEUkraine
UruguayVenezuela
Bahrain
countries and territories
ITPAC – How Microsoft Builds Azure Datacenters
aka.ms/itpacaka.ms/msdatacenters
ITPAC ( IT Pre-Assembled Components )
Generation 4 Cloud Datacenters
Estimating Cloud Costs
http://www.windowsazure.com/en-us/pricing/calculator/
• Question: How much does it cost to procure and operate monthly?
A. $100 / monthB. $500 / monthC. $750 / monthD. $1,000 / month
• Answer: Average ~ $630 / month
Estimating On-Premises Server Costs
Comparative Performance/Price IaaS Study
Source: Cloud Spectator Study, June 2013
“Windows Azure scores 3 times
higher than Amazon EC2 on average.”
“Windows Azure … provides 5x more
value than Rackspace on
average.”
Unixbench / Cost
Windows Azure Storage
Storing Data on Windows Azure
Windows Azure StorageHighly Durable
Storage
Storing Data on Windows Azure
continuous storage
geo-replication
WEST
DC
EASTDC
> 400 miles
Windows Azure Storage
Geo-Replicated Storage
Increased Availability with Replication
Accessing Blob Storage
BlobContainerAccount
https://<account>.blob.core.windows.net/<container>/<blobname>
Pages/ Blocks
contoso
VM01.VHD
Block (4MB)
Block (4MB)
vhds
VID1.AVIvideos
Page (1TB)
SQL Backup to Windows Azure Storage
Windows Azure
Hybrid Cross-Premises Scenario
On-Premises Network
VPN Gateway
IIS
AD / DNS
SQL
ExchangeFile AD / DNS SQL
SharePointIIS
VPN Gateways
BranchCache
IP Address Space: 10.1.0.0/16 IP Address Space: 10.2.0.0/16
System Center
Subnet 10.2.1.0 / 24 - Web
Subnet 10.2.0.0 / 24 - Gateway
Subnet 10.2.2.0 / 24 - Core
IPv4 Public Address
Site-to-Site IPSec VPN tunnel Highly Available
Active / Passive
CloudNetOnPremNet
Windows Azure
Remote Access Scenario
On-Premises Network
VPN Gateway
IIS
AD / DNS
SQL
ExchangeFile AD / DNS SQL
SharePointIIS
VPN Gateways
BranchCache
IP Address Space: 10.1.0.0/16 IP Address Space: 10.2.0.0/16
System Center
Subnet 10.2.1.0 / 24 - Web
Subnet 10.2.0.0 / 24 - Gateway
Subnet 10.2.2.0 / 24 - Core
IPv4 Public Address
Site-to-Site IPSec VPN tunnel Highly Available
Active / Passive
CloudNetOnPremNet
Point-to-Site VPNFor Remote Users
10.3.0.0/24
Windows Azure VM Sizes
Unit of Compute Defined
Variable instance sizes to handle complex workloads of any size
Small
1 x 1.6Ghz (moderate
IO)
1.75 GB memory70 GB OS
disk2 Data Disks
(1TB)2 x 500 Max
IOPs
Medium2 x
1.6Ghz (high IO)
3.5 GB memory
135 GB OS disk
4 Data Disks (1TB)
4 x 500 Max IOPs
Small
$0.09 Per service
hour
Medium$0.18
Per service hour
X-Large
$0.72Per service
hour
Large
$0.36 Per service
hour
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-Large8 x 1.6Ghz(high IO)
14 GB memory
605 GB OS Disk
16 Data Disks (1TB)
16 x 500 Max IOPs
$0.02 Per service
hour
X-Small
X-Small
Shared Core
(low IO) 768 MB
memory 20 GB OS
disk1 Data Disk
(1TB)1 x 500 Max
IOPs
A6
$1.02 Per service
hour
A7
$2.04Per service
hour
A64 x
1.6Ghz(high mem)
28 GB memory
285 GB OS Disk
8 Data Disks (1TB)
8 x 500 Max IOPs
A78 x
1.6Ghz(high mem)
56 GB memory
605 GB OS Disk
16 Data Disks (1TB)
16 x 500 Max IOPs
A5
$0.51 Per service
hour
A52 x
1.6Ghz(high mem)
14 GB memory
135 GB OS Disk
4 Data Disks (1TB)
4 x 500 Max IOPs
Windows Azure VM Platform ImagesMicrosoft
Windows Server 2012 R2 PreviewWindows Server 2012Windows Server 2008 R2 SP1SharePoint Server 2013 TrialSQL Server 2014 CTP1SQL Server 2012SQL Server 2008 R2 SP2BizTalk Server 2013Visual Studio Ultimate 2013 Preview
Open SourceOpenSUSE 12.3
SUSE Linux Enterprise Server 11 SP3
SUSE Linux Enterprise Server 11 SP2
Ubuntu 12.04 LTS
Ubuntu 12.10
Ubuntu 13.04
CentOS 6.3
• Per-hour/per-minute license in the cloud
What about software licensing?
Windows Server
• License Mobility for Applications ( SA )• Per-hour/per-minute license in the
cloud for subset of products ( SQL & BizTalk )
MicrosoftApplicatio
ns• Based upon vendor and product
External Applicatio
ns
Virtual Machines & Cloud ServicesVMs exist within a Cloud Service
Cloud Service
Cloud Service is a…• Public IP Address• Public DNS
Name• Internet Firewall• Load Balancing
boundary
Virtual Machines & Cloud ServicesMultiple VMs can be hosted within the same cloud service Cloud Service
VM 1 VM 2
VM 3 VM 4
Cloud Service is a…• Public IP Address• Public DNS
Name• Internet Firewall• Load Balancing
boundary
Imaging VMs in the CloudCloud
Base.VHD
Identical/similar deployment instances using common OS image
as start
Capture VM Saves Customized Image to Your Image Library
Virtual Machine PortabilityOn-Premises Cloud
MyApp.vhd
Bring Your Own Server to the CloudOn-Premises
On Premises Virtual Server
MyApp.vhd
Cloud
Provision VM from Image or
Disk using portal, script or APIUse 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
Load-Balanced Endpoints
PORT 443
PORT 443
Single Public IP Per Cloud Service
Cloud App / Hosted Service
EndpointPublic PortLocal PortProtocol (TCP/UDP)Name
PORT 443
Virtual Machine Availability SetsUpdate Domains are honored by host OS updates
Fault DomainRack
Fault DomainRack
IIS1
SQL1
IIS2
SQL2
UD #2
UD #2
UD #1
UD #1
SQL Server VM2
SQL Server VM1
End-to-End Highly Available SolutionRedundancy at every level
IIS Web Application
IIS VM2
IIS Web Application
IIS VM1
LB
SQ
L M
irro
ring
Internet
DB-AVSET
Web-AVSET
IIS VM1
:-)
• Based on CPU Utilization Thresholds
• Scale-up: Start VMs
• Scale-down: Stop VMs
auto-scaling
IIS VM2
:-)
IIS VM3
:-)
Auto-scaling Windows Azure VM’s
Cloud Service
Disaster Recovery Scenario
80/443
Cloud Service
Windows Azure Virtual Network
File SQL AD/DNS
On-Premises
AD/DNS
SQL
File Web
Web
VPN Tunnel
AD Repl
S
SQL DB Mirroring / AlwaysOnS
Distributed Filesystem Replication ( DFS-R )
S
Xcopy / Robocopy based Deployments
Windows Azure Scripting Tools
http://www.windowsazure.com/en-us/downloads/#cmd-line-tools
• 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!
Windows Azure Free Trial Subscription
Getting Started with Azure and PowerShell# Download & Install Windows Azure PowerShell modulehttp://aka.ms/CloudLabStartHere
# Import Azure PowerScript ModuleSet-ExecutionPolicy RemoteSigned Import-Module Azure.psd1
# Download Azure Publisher Settings File ( cert )Get-AzurePublishSettingsFile
# Import Azure Publisher Settings FileImport-AzurePublishSettingsFile mycloud.pubsettings
Build Cloud VMs with PowerShell – Part 1# Set Default Azure Subscription Set-AzureSubscription –DefaultSubscription
“Azure Free Trial”
# Set Default Storage AccountGet-AzureSubscription | Set-AzureSubscription
-CurrentStorageAccount XXXlabstor01
# Set VM Image ( Platform or Custom Image )$myImage = Get-AzureVMImage –ImageName “XXXimage01”
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 = “P@ssw0rd1”
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
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
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 = “http://” + $myStorageAcct +
“.blob.core.windows.net/vhds/MyServerDisk.vhd”
# Upload VHD to Azure Storage AccountAdd-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 VMAdd-AzureVMImage –OS Windows –ImageName “XXXimage01”
–MediaLocation $myDestVHD –Label “Descriptive Label” # Add VM Image
Yung Chou’s Azure Deployment Scripthttp://aka.ms/QSK
Contact.Me(Tommy Patterson);• http://virtuallycloud9.com• @tommy_patterson• http://aka.ms/tplinkedin• http://aka.ms/tpohours• http://aka.ms/tpmeetup• [email protected]• Bonus – Try Server 2012 R2 @
http://aka.ms/mshosting