While creating VM in azure, NIC also created. Initially, I thought that both the virtual network and NIC are the same. Then I got to know that both are different. So, anyone of you kindly helps me to clarify this
While creating VM in azure, NIC also created. Initially, I thought that both the virtual network and NIC are the same. Then I got to know that both are different. So, anyone of you kindly helps me to clarify this
Hi,
In Azure when you deploy a VM the following components gets deployed along :
NIC
Network Security Group
Public IP
Disk
A NIC is a component which holds the Public IP and the private IP of the VM. Also you can associate the NSG to the NIC.
NIC can be deployed in a subnet of the Virtual Network.
Hope this helps!
If i may nit-pick, aren't Virtual Network, Disk & NIC the minimal resources that are created as part of VM creation? Public IP and NSG are optional
VM needs at least one NIC, NIC connects VM to the VNet. One VM can have multiple NIC's as well.
A network interface enables an Azure Virtual Machine to communicate with internet, Azure, and on-premises resources. When creating a virtual machine using the Azure portal, the portal creates one network interface with default settings for you.
Please find the below link for more information regarding same
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface.
@NavinPrasadK hope this helps, please accept the answer if information finds useful.
Network Interface Card (NIC) is assigned with IP address and associated with NSG rules, which is used for the communication between virtual machine's or internal network or internet.
Where as the virtual network (vNet) works on layer 3 and layer 4 for communication of traffic in secure way.
If you use Terraform for Azure, you will find NSG rules with NICs,
because NIC is part of NSG rules.
Read here:
https://docs.microsoft.com/en-us/azure/virtual-network/application-security-groups
8 people are following this question.