Azure Vnet
- Vnet Concepts
- Address Space: when creating VNET, we must specify a custom private IP address space. Address space is cidr notation of the vnet ip addresses. Address space is for private networking. In azure we can extend our network by adding more address spaces
- Subnets: Subnets enable you to segment the virtual network into one or more subnets where you assign portion of virtual networks address sapce.
- Regions without zones
- Regions with zones
- Regions without zones
- IpAddress: Generally all the resources connected to a subnet will get a private addresss, we have an option to choose whether the private address is static or dynamic. In addition to private IPaddress, we can give/assign public ip addresses to the resources (static/dynamic)
- Address Space: when creating VNET, we must specify a custom private IP address space. Address space is cidr notation of the vnet ip addresses. Address space is for private networking. In azure we can extend our network by adding more address spaces
- Experiment: Lets create a virtual machine in subnet1
- Create a vm in subnet1 in hellovnet
- Now lets examine the virtual machine overview
- Now lets navigate to resource groups and see the network interface
- Now lets login into virtual machine (using ssh) ssh username@<publicip>
- Lets create a network interface in subnet1 and try to attach to the vm qtdevops
- Network interface is allocated with static private ip address
- Lets navigate to VM
- Now lets stop the vm, wait for the vm to be stopped and navigate to networking
- Now attach network interface
- Exercise: Now start the vm and see what are possible private ip addressses. Login into the vm and execute
ifconfig
- Create a vm in subnet1 in hellovnet