Upload
shawn-ismail
View
95
Download
1
Embed Size (px)
Citation preview
Shawn Ismail Cloud Architect
@shawnismail [email protected]
https://www.linkedin.com/in/shawnismail
http://www.2tolead.comhttp://www.cloudranger.net
Azure Websites - Part 2Deploying Azure Websites
Azure Websites - Part 2 – Deploying Azure Websites
Azure Website/Web App Deployment What does publishing Website/Web App mean?
Who does the publishing?
Ways to Publish Azure Websites:
• IDE – Visual Studio and Webmatrix
• CLI – PowerShell
• Repository – Microsoft TFS and Git
Azure Websites - Part 2 – Deploying Azure Websites
Deployment SlotsSeparate Site Deployments – with own hostnames
Default Slot – Production
Up to 5 slots
Swap Slot contents
Different deployment environments - Dev, QA, UAT, Production etc.
Publishing can be done directly to any Slot
Not Available in Free, Shared and Basic plans
Azure Websites - Part 2 – Deploying Azure Websites
Azure Websites PowerShell
New-AzureWebsite -Name "rangerweb" -Location "East US2“
Publish-AzureWebsiteProject -Name "rangerweb" -Package C:\temp\rangerweb.zip -Slot "staging”
Switch-AzureWebsiteSlot -Name "rangerweb" -Slot1 "production" -Slot2 "staging"
Remove-AzureWebsite -Name "rangerweb"
Azure Websites - Part 2Deploying Azure Websites
Training Site: http://www.cloudranger.net/azure-training
YouTube: https://www.youtube.com/c/CloudrangerNetwork
Twitter : @shawnismail
Email : [email protected]
LinkedIn: https://www.linkedin.com/in/shawnismail
http://www.2tolead.comhttp://www.cloudranger.net