How to create publishing profile for azure virtual machine?
Asked Answered
S

1

19

How to create publishing profile for a website running on azure virtual machine?

I know how to do it for Azure Web Site, but can this be done if I have IIS running on a VM in azure?

I also have a console application running using task scheduler on this VM, it would be nice to automate that deployment too.

( After working with Rails and Php frameworks, I miss the common config file used by the website and CronJob to connect to the DB)

Sommer answered 7/3, 2014 at 19:14 Comment(0)
R
35

You need to set up Webdeploy in the azure VM. it is same as an on-premises server.

Web Deploy Installation.. You need to install prerequisites - .net framework.

Configuring IIS 7 with webdeploy / Or with IIS8

Set up endpoints on azure vm to do webdeploy. Port 8172 for Webdeploy.

Then you can create a publish profile in Visual Studio 2012/13 to deploy to this endpoint. http://msdn.microsoft.com/en-us/library/dd465337(v=vs.110).aspx

or You can do it using Powershell scripts. sample- http://gallery.technet.microsoft.com/scriptcenter/Deploy-a-Web-App-to-Two-99f1a3bc

Reuven answered 9/3, 2014 at 5:48 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.