Windows Azure Platform Application Lifecycle

Download Report

Transcript Windows Azure Platform Application Lifecycle

Service
Artefacts
*.cspkg
Model
Config
*.cscfg
Visual Studio Tools for Windows Azure now supports
one-click deployment.
Service
Aimed at rapid build/deploy/test/fix
scenarios.
Service
http://msdn.microsoft.com/ee924680
Release
Changes
WA-GUEST-OS-1.0_200912-01
Patches
WA-GUEST-OS-1.1_201001-01
Patches
WA-GUEST-OS-1.2_201003-01
Patches
URL Rewriting and Compression
.NET 4.0 RC
WA-GUEST-OS-1.3_201004-01
Patches, .NET 4, URL Rewrite 2
o View, Create, Delete
Deployment
o Swap Deployment
o Modify configuration
o Scale Up/Scale Up
o Upgrade deployment
o Walk Upgrade Domain
o List Accounts
o Get Account
Properties
o Get Account Keys
o Regenerate Keys
o Get OS Version
makecert -r -pe -a sha1 -n CN=AzureMgmt -ss My -sky exchange
"AzureMgmt.cer"
Creates a new self-signed certificate, writes it to the "AzureMgmt.cer"
file in the current directory and saves it to the CurrentUser\My
certificate store.
http://tinyurl.com/azuresamples
csmanage /update-deployment /hosted-service :<service>
/slot:staging /status:suspended
csmanage /delete-deployment /hosted-service :<service>
/slot:staging
csmanage /create-deployment /hosted-service:<service>
/slot:production
/name:<name>
/label:<label>
/package:$(BlobStorageEndpoint)packages/ServicePack
age.cspkg
/config:$(SolutionDir)\ServiceConfiguration.cscfg
csmanage /update-deployment /hosted-service:<service>
/slot:staging /status:running
http://tinyurl.com/azurecmdlets
$cert = Get-Item cert:\CurrentUser\My\D6BE55AC439FEA8CBEBAFF432BDC0780F1BD00CF
get service
get production slot
set status to running
wait for async operation to finish
http://tinyurl.com/Azure-MSBuild
Four Instances
Four Instances
Fault Domain
Fault Domain
U/G Domain #1
U/G Domain #2
Worker Role
Worker Role
U/G Domain #1
U/G Domain #2
Load Balancer:
VM
VM
Prod
VM
VM
Worker Role
Worker Role
VM
VM
VM
VM
Stage
Load Balancer:
#1
#2
Worker Role
#1
#2
Worker Role