DEV Community

Cover image for How To Update and Maintain Azure Resources
jeremiah enoghase
jeremiah enoghase

Posted on Edited on

How To Update and Maintain Azure Resources

In this article, we will learn about the process of updating and managing Azure Resources, which includes Networks, Virtual Machines, and Storage blobs.

Create A Resource Group

A resource group is a container for keeping similar items together. we can view a resource group like directory or folder

  • Log in to the Azure portal and search for Resource Group and click on + Create

  • Enter guided-project-rg in the Resource group name field
  • Select create and review and select create.

Create A Virtual Network with a Subnet.

A Virtual network is an isolated network that allows you to create a private and secure environment for your cloud resources. We can view a VN as a small and private apartment in a bigger or giant building.

  • From the Azure portal, search for Virtual Network and select Virtual Network.
  • select + create

  • Name the virtual network -guided-project-vnet
  • Select Review + Create, then select Create.

  • Wait for it to deploy and select go to Resources

Create A Virtual Machine.

A virtual Machine is software that allows you to run applications and containers without the need for physical hardware.

  • From the Azure portal, search for Virtual Machine and select Virtual Network.
  • select + create

  • Select guided-project-rg for the Resource group.

  • Enter guided-project-vm for the Virtual machine name.
  • For the Image, select one of the Ubuntu Server options.
  • Select Password for authentication type.
  • Enter guided-project-admin for the admin Username.
  • Enter a password for the admin account.
  • Confirm the password for the admin account.

  • Leave the rest of the settings as default settings.
  • Select Review + create to confirm the resource cost and create the virtual machine

  • Select Go to resource

Create A Storage Account.

  • From the Azure portal, search for Storage account and select.
  • Select + Create

  • Name the Storage account "guidedprojectstorage37".
  • Select Review + create and select Create.

  • Wait for the resource to deploy and select Go to resources

Update The Virtual Network

The steps below are carried out to update our Virtual network.

Create a new subnet on an existing virtual network (vNet)

_Note: subnets are needed for organizing and managing resources within a virtual Network
_

  • Navigate to the Virtual Network (guidedproject-vnet) that was created earlier. From the guided-project-vnet blade, under Settings, select Subnets.
  • Select + Subnet
  • For Subnet purpose leave it as Default.
  • For Name enter: ftpSubnet.
  • Leave the rest of the settings alone and select Add.

Create a network security group

  • From the Azure portal home page, in the search box, enter virtual networks.
  • Select virtual networks under services.
  • Select Network security groups.
  • Select + Create

  • Verify the subscription is correct.
  • Select the guided-project-rg resource group.
  • Enter ftpNSG for the network security group name.
  • Select Review + create.

  • Select Create


-Wait for it to deploy and then 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.

 .

Kindly Leave your Comments.
Thank You.

Top comments (0)