Here we will be learning about how to update an Azure Virtual Machine.
1,Create a new subnet on an existing virtual network (vNet)
Step 1: Login to Microsoft Azure at https://portal.azure.com
Step 2: From the Azure portal home page, in the search box, enter virtual networks.
Step 3: Select virtual networks under services.
Step 4: Select the guided-project-vnet virtual network.
Step 5: From the guided-project-vnet blade, under settings, *select Subnets.
*
Step 6: select + Subnet, to add a subnet
Step 7: For Subnet purpose leave it as Default.For Name enter: ftpSubnet. then leave the rest of the settings and select Add.
Configure a Network security group to Increase security
Step 1: From the Azure portal home page, in the search box, enter virtual networks.Select virtual networks under services and select Network security groups. Select +create
Step 2: Ensure the subscription is correct.
Select the guided-project-rg resource group.
Enter ftpNSG for the network security group name.
Select Review + create.
Click create
Lastly, Wait for the screen to refresh and display Your deployment is complete.
Select Go to resource.
Create an inbound security rule
Under settings, select Inbound security rules.
Select + Add.
Change the Destination port ranges from 8080 to 22.
Select TCP for the protocol.
Set the name to** ftpInbound*.
Select* Add.**
Select Home to return to the Azure portal home page.
Associate a network security group to a subnet
From the Azure portal home page, in the search box, enter virtual networks.
Select virtual networks under services.
Select the guided-project-vnet virtual network.
Under settings, select Subnets.
Select the ftpSubnet you created.
On the Edit subnet page, under the Security section heading, update the Network security group field to ftpNSG.
Select Save.
If you have followed up to this point, well-done! you have just learnt how to Update an Azure virtual network.
See you on the next article, kindly like, comment and share!