7

"MS Azure: DevOps с помощью TeamCity и PowerShell"

Embed Size (px)

Citation preview

Page 1: "MS Azure: DevOps с помощью TeamCity и PowerShell"
Page 2: "MS Azure: DevOps с помощью TeamCity и PowerShell"
Page 3: "MS Azure: DevOps с помощью TeamCity и PowerShell"

Deployment App Services• Download Publish Profile• Get Values From Publish Profile And

Set To Build Step: 1) PublishUrl -> MsDeployServiceUrl 2) MSdeploySite -> DeployIISAppPath 3) UserName -> UserName 4) UserPWD -> Password

Page 4: "MS Azure: DevOps с помощью TeamCity и PowerShell"

Deployment Roles to Cloud Service• Set Roles Configuration• Download Publish Settings File• Import Publish Settings File to PowerShell• For Deployment Use PowerShell Command

«New-AzureDeployment» With Parameters: 1) Cloud Service Name 2) Storage Account Name 3) Slot 4) Package Path 5) Configuration Path 6) Publish Settings File Path

Page 5: "MS Azure: DevOps с помощью TeamCity и PowerShell"

Migrate Data Between Storage Accounts• Migrate Blobs Using PowerShell

Command «Start-CopyAzureStorageBlob»• Migrate Tables Using AZCopy• Create Same Queues In

Destination Storage Account

Page 6: "MS Azure: DevOps с помощью TeamCity и PowerShell"

Migrate Azure Virtual Machine• Copy OS VHD Between Storage Accounts• Copy Data VHD Between Storage

Accounts• Mount OS VHD In The Destination

Subscription• Create Azure VM Using Migrated OS

Image• Mount Data VHD Into New Azure VM

Optional• Add Same Endpoints

Page 7: "MS Azure: DevOps с помощью TeamCity и PowerShell"

The End. Any Questions?