A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
Hello Nitrox, it sounds like you’ve accidentally been running the App Modernize (containerization) flow for your on-prem IIS/Oracle server, so Azure Migrate is treating your web app as a candidate for containers/Kubernetes. If all you want is a simple “lift-and-shift” of the entire Windows VM (OS, Oracle, web site) – no App Service, no containers – you need to use the Server migration scenario instead of the Web App containerization or Modernize option.
Here’s how to do a pure lift-and-shift of your Hyper-V VM “as is”:
- Create (or use) an Azure Migrate project scoped to Server migration
- When you set up replication, choose Hyper-V as the source.
- Install the Azure Migrate replication appliance and Hyper-V provider agents (see “Migrate machines as physical servers to Azure”).
- Skip the App Containerization blade
- In the portal, go to Discover + assess > Servers rather than Web apps or Modernize.
- Don’t add your web app under the Web App assessment.
- Run an assessment and then enable replication for those servers
- Once the VM is replicating, you’ll get a target Azure VM that contains everything on-prem, Oracle and IIS included.
- Perform a test failover, validate functionality, then do the final cutover.
If you still see Kubernetes as a target, it means you’re on the App Modernize path. To switch back, either:
a) Create a fresh Azure Migrate project and choose Migrate servers to Azure.
b) Or in your existing project, under Assessments, filter out Web apps and only include the servers you want to replicate.
Hope that clears things up – you’ll end up with an Azure VM that’s a carbon copy of your on-prem server, no code changes or container work required!
Reference docs
- What is Azure Migrate? (overview for server & web apps) https://learn.microsoft.com/azure/migrate/migrate-services-overview?view=migrate
- Migrate Hyper-V VMs (server migration) https://learn.microsoft.com/azure/migrate/tutorial-discover-hyper-v?view=migrate
- Migrate machines as physical servers to Azure https://learn.microsoft.com/azure/migrate/tutorial-migrate-physical-virtual-machines?view=migrate
- Migrating web apps to Azure App Service (to see why the Modernize flow suggests containers) https://learn.microsoft.com/azure/migrate/tutorial-migrate-webapps?view=migrate