Updated Readme file for VM Setup

This commit is contained in:
Justin Clareburt 2017-12-01 15:45:30 -08:00
Родитель 73e7adeee4
Коммит cd0fca3574
1 изменённых файлов: 18 добавлений и 19 удалений

Просмотреть файл

@ -1,26 +1,25 @@
# ASPNet-VM
Scripts and Templates for setting up a Windows Server VM with to deploy and run ASP.NET web applications
Scripts and Templates for setting up a Windows 2016 Server VM that hosts ASP.NET 4.6 web applications on IIS and has Web Deploy 3.6 installed and configured.
## Deploy to Azure
## Create new VM in Azure
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fjustcla%2FASPNet-VM%2Fmaster%2FASPNet-ARMTemplate.json" target="_blank">
<img src="http://azuredeploy.net/deploybutton.png"/>
</a>
<a href="http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com%2Fjustcla%2FASPNet-VM%2Fmaster%2FASPNet-ARMTemplate.json" target="_blank">
<img src="http://armviz.io/visualizebutton.png"/>
</a>
Click the following **Create Azure VM** button to use <a href="https://github.com/aspnet/Tooling/blob/AspNetVMs/VMSetup/ASPNet-ARMTemplate.json" target="_blank">this custom Azure Resource Manager template</a> to provision a new VM in Azure that's set up for hosting ASP.NET web apps and publishing from Visual Studio.<br>
## Deploy to an on-prem Server
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Faspnet%2FTooling%2FAspNetVMs%2FVMSetup%2FASPNet-ARMTemplate.json" target="_blank">![Create ASP.NET VM in Azure][Create Azure VM button]</a>
- Run [`setup.ps1`](https://github.com/justcla/ASPNet-VM/blob/master/setup.ps1) in an elevated prompt
The template performs the following actions:
## Related Resources
- [Download IISAdministration](https://manage.iis.net/get)
- [Web Manager](https://manage.iis.net)
- [IISAdministration Docs](https://docs.microsoft.com/en-us/IIS-Administration/)
- [Blog](https://blogs.iis.net/adminapi)
- Sources/Issues/Feedback
- [IIS.Administration](https://github.com/microsoft/iis.administration)
- [IIS.WebManager](https://github.com/microsoft/iis.webmanager)
* Provision a new Azure VM (Windows Server 2016 Datacenter)
* Configure components and features on the VM (available as [PowerShell script][PowerShellScript])
* Configure Azure Firewall rules (Ports 80 and 8172)
> Important:
> You need to manually configure a DNS name for the VM in order to use the **Microsoft Azure Virtual Machines** publishing wizard in Visual Studio.
## Configure an existing VM
- Run [`setup.ps1`][PowerShellScript] in an elevated prompt
[Create Azure VM button]: ../media/create-asp-net-vm-with-webdeploy/CreateAzureVM.png
[PowerShellScript]: https://github.com/aspnet/Tooling/blob/AspNetVMs/VMSetup/setup.ps1