Networking is where Azure infrastructure starts to feel like real engineering. Understanding Network Interface Cards (NICs), ports, and Network Security Groups (NSGs) is critical for securing your resources. Network Interface Card (NIC) A NIC is the component that enables a VM to communicate on a network. Every VM must have at least one NIC. The NIC is assigned both a private IP (for internal communication within the VNet) and optionally a public IP (for external access from the internet). Key fact: IP addresses are associated with NICs, not directly with VMs. Ports and Protocols Ports are numbered endpoints that determine which service receives incoming data. Think of an IP address as a building's street address, and ports as individual apartment numbers. Common ports include: Port 22…
Key Takeaways
NICs connect VMs to the network — IP addresses belong to the NIC, not the VM directly.