Migrate an ASP.NET Web application to an Azure Virtual Machine
Article
This document provides an overview of how to migrate an ASP.NET web application from on-premises to an Azure Virtual Machine.
Quickstart
Learn how to create a virtual machine and publish your app to it: Publish to an Azure VM
Get Started
These tutorials demonstrate the steps to create (or migrate) a virtual machine, publish your web application to it, and other tasks that may be required to support your application in Azure.
Create a virtual machine for your ASP.NET application in Azure using one of the following options:
Virtual machines offer the easiest path to migrate an application from on-premises to the cloud. They enable you to replicate the same environment your application uses on-premises, while removing the need to maintain your own data centers. Virtual Machine Scale Sets provide high availability and scalability for applications running in Virtual Machines.
Just like an on-premises machine, you are responsible for maintaining and updating the virtual machine*. If your application can run in a Platform as a Service (PaaS) environment such as Azure App Service or in a container, that will remove this need.
You want to make sure that your application is highly available and can scale, migrate your VM image to an Azure Virtual Machine Scale Set to improve the availability and scalability of your application. VM Scale Sets provide the ability to use an existing VM you've already configured or set up a build pipeline to build an image with your application.
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: