Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I create virtual machine without virtual network in Azure Resource Manager

I am trying to create virtual machine (VM) in Azure using ARM templates. In classical model of IAAS, we can create a virtual machine without virtual network in cloud service. Similar to classical model i don't want to put VM in virtual network.

Does anyone tried to create vm without virtual network in Azure resource manager.

Thanks in advance.

like image 917
Rahul Khengare Avatar asked Oct 28 '25 01:10

Rahul Khengare


1 Answers

V2Vms, i.e. Resource manager VMs have a dependency on a network card, which has a dependency on a subnet.

A VNet is used to provide DHCP and Security Group services to the VM. Without it a VM couldn't obtain an IP Address.

It is not possible to create an Azure VM without a vnet, in the same way that it was not possible to create a V1Vm without a cloud service.

For more information see Understanding Resource Manager deployment and classic deployment

like image 93
Michael B Avatar answered Oct 30 '25 14:10

Michael B



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!