0

A little background (before I get downvoted to oblivion!)

I'm working on an intranet-hosted ASP.NET web application in a highly secure environment. At the moment it's deployed by building a package in Visual Studio, the zip file is copied onto the server and installed in IIS using WebDeploy (right-click -> Deploy -> Import Application).

What I'd like to do is deploy a sanitised version of this application to an Azure Web Site for demonstration purposes, however most of the standard Azure deployment methods do not apply to me because:

  • I work on a secure network so Visual Studio is blocked from connecting to Azure (rendering 95% of documentation irrelevant!)
  • installable software is strictly controlled on this network so I cannot install the Azure SDK needed to create Service Definitions, Configurations and Packages
  • The only machine I have access to which can connect to Azure is woefully underpowered and can only run puTTY, PowerShell and basic text editors.

At the moment, I have a Windows VM in Azure just running IIS and WebDeploy - this works but seems like overkill (and a good way to burn through my credit) when Web Apps in theory do everything I need.

What can I do?

Mourndark
  • 2,526
  • 5
  • 28
  • 52
  • 1
    How about good old FTP deployment? Will that work for you? https://azure.microsoft.com/en-in/documentation/articles/web-sites-configure/. – Gaurav Mantri Apr 22 '16 at 11:33
  • Also please see this thread if FTP is a viable option: http://stackoverflow.com/questions/22273360/connecting-to-azure-website-via-ftp. – Gaurav Mantri Apr 22 '16 at 11:35

3 Answers3

1

in that case:

1) FTP from your machine using your own FTP client or i would recommend to use PSFTP from Putty package.

2) Still WebDeploy, but use that to generate the needed files, then you can use PowerShell like that.

Alex Belotserkovskiy
  • 4,012
  • 1
  • 13
  • 10
  • Doesn't 2) still require a WebDeploy build targeted at Azure to generate Publish-WebApplicationWebsite.ps1 and AzureWebSitePublishModule.psm1? Or is everything I need in the Azure PowerShell module? – Mourndark Apr 22 '16 at 13:38
  • Yes, it will require that. Sorry, that approach will need Azure SDK installed, i completely forgot. – Alex Belotserkovskiy Apr 22 '16 at 14:10
1

You can also use https://www.microsoft.com/web/webmatrix/ to connect to azure websites. It works with HTTP, only problem could be a corporate proxy.

elvir.dolic
  • 191
  • 5
  • 14
1

Another option may be to checkin the WebDeploy package to a free subscription of Visual Studio Team Services (VSTS = TFS in the cloud) and then create a deployment pipeline in VSTS using the new Release Management features.

https://www.visualstudio.com/features/release-management-vs.aspx

chief7
  • 14,263
  • 14
  • 47
  • 80