DEV Community

Cover image for Update and Maintain Resources in Azure - Prepare
nnamdi nmarah
nnamdi nmarah

Posted on

Update and Maintain Resources in Azure - Prepare

Updating and Maintaining Azure Resources

Keeping your resources up to date in Microsoft Azure is a core part of managing a reliable and secure cloud environment. Regular maintenance ensures that your services remain protected, performant, and aligned with best practices.

Azure offers multiple tools to handle this efficiently, including the Azure Portal, Azure CLI, and automation services. These tools allow engineers and administrators to monitor, update, and manage cloud resources with ease.

Routine maintenance tasks typically involve applying security patches, updating operating systems on virtual machines, adjusting storage and networking configurations, and tracking resource health and performance. Staying on top of these tasks helps reduce vulnerabilities, improve stability, and keep applications running smoothly.

Consistent upkeep of Azure resources also helps organizations minimize risks, control costs, and maintain a scalable, high-performing infrastructure. Taking a proactive approach is key to building a resilient and well-optimized cloud environment.

Project Overview

This project will be divided into multiple sections. In this article, I’ll focus on preparing the foundational resources required for the setup. In upcoming articles, I will cover:

Updating a virtual network and subnet

Managing virtual machines

Controlling storage access

Working with resource tags and locks

Create a Resource Group

  • To begin, open the Azure Portal, search for Resource groups under Services, and select it to create a new resource group for your project

resource group

  • Select Create.

+ create

  • Select Review + create.

Review + Create

Create a virtual network with one subnet

  • Search for and select virtual networks under services.

search and select VN

  • Select Create.

select create

  • Scroll down to the Instance details section and enter guided-project-vnet for the Virtual network name.

enter the name

  • Select Review + create.

review + create

  • Wait for the screen to refresh and show Your deployment is complete.

deployment is complete

Create a virtual machine

  • Search for and select virtual machines under services.

Search for and select virtual machines

  • Select Create and then select Virtual machine

select create and then VM

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

guided-project-rg

  • Enter guided-project-vm for the Virtual machine name.

guided-project-vm

  • For the Image, select one of the Ubuntu Server options. (For example, Ubuntu Server 24.04 LTS - x64 Gen2)

select one of the Ubuntu Server options

  • Continue further on the Basics page to the Administrator account section.
  • Select Password for authentication type.

Select Password

  • Enter guided-project-admin for the admin Username.

Enter guided-project-admin

  • Enter a password for the admin account.
  • Confirm the password for the admin account.

enter a password

  • Leave the rest of the settings as the default settings. You can review the settings if you like, but you shouldn’t change any.

  • Select Review + create.

review + create

  • Select Create to confirm the resource cost and create the virtual machine.Then it would deploy

deploy

  • Deployment complete now. Select Home to return to the Azure portal home page.

Deployment complete

Create a Storage account

  • Search for and select Storage accounts under services.

search and select

  • Select Create.

select create

  • Scroll down to the Instance details section and enter a name for the storage account. Storage accounts must be globally unique.
    namzkstorage

  • Select Review + create.

review + create

  • Wait for the screen to refresh and show that your deployment is complete.

deployment complete

Conclusion

Regularly updating and maintaining resources through the Azure Portal is essential for keeping cloud services stable, secure, and performing at their best. The portal offers a centralized, user-friendly interface that enables administrators to monitor resource health, apply updates, adjust configurations, and manage services in real time.

By consistently carrying out these maintenance tasks, organizations can enhance efficiency, minimize potential issues, and ensure their cloud environment remains dependable and aligned with industry best practices.

Top comments (0)