Creating new VM in azure environment 

Title/ Description of the Process 

This process outlines the steps to manually or programmatically create a new Virtual Machine (VM) in Microsoft Azure. It includes selecting the appropriate VM size, configuring the operating system, defining storage and networking settings, and assigning resources such as public IPs and security groups. The process ensures that new VMs are deployed with the correct configurations, allowing for optimized performance, security, and scalability within the Azure environment. 

Purpose 

  The purpose of this process is to enable the seamless creation of new Virtual Machines        (VMs) in Azure, ensuring that they are deployed with the correct configurations for optimal performance, security, and scalability. By following a structured approach, users can efficiently allocate and manage compute resources based on specific application or business needs 

Scope 

The scope of this process includes the creation of new Virtual Machines (VMs) in Microsoft Azure, 

Responsibility 

Role Name  Responsibility 
Cloud Administrator  Responsible for creating new VM in azure environment 

Prerequisites 

  1. An active Azure subscription with appropriate permissions to create and manage resources. 
  1. A valid Azure account with access to the Azure Portal or other tools like Azure CLI or PowerShell. Existing Azure subscription. 
  1. Necessary permissions, such as Owner or Contributor roles, to create resources. 

Procedure 

Create a new Virtual Machine 

  1. Log in to the Azure portal. 
  1. In the left-hand menu, select Resource Groups. 
  1. Click + Create to create a new resource group. 
  1. Provide a name for the resource group and select the appropriate region (the region where your resources will be deployed). 
  1. Click Review + Create and then Create to finalize. 

  

  1. 4. Create a New Virtual Machine 
  1. In the Azure Portal, click on Create a resource at the top left corner. 
  1. Under Compute, select Virtual Machine. 

4.1. Configure the Basics 

  1. Subscription: Choose the appropriate subscription. 
  1. Resource Group: Select the resource group you created earlier or choose an existing one. 
  1. Virtual Machine Name: Enter a unique name for your VM. 
  1. Region: Select the region where you want to deploy the VM. 
  1. Availability Options: Choose if you want the VM to be deployed in an availability set or availability zone for high availability. 
  1. Image: Select the operating system image (e.g., Windows Server, Ubuntu). 
  1. Size: Choose an appropriate VM size based on your workload (e.g., Standard_DS2_v2). 
  1. Authentication Type: Choose Password or SSH public key based on your OS selection. 
  1. Username and Password/SSH Key: Set the credentials (username and password, or SSH public key). 

4.2. Configure Networking 

  1. Virtual Network: Select the VNet you created earlier or create a new one. 
  1. Subnet: Choose the subnet for the VM (if you have multiple subnets). 
  1. Public IP: Decide whether to assign a public IP. If required, choose Dynamic or Static. 
  1. Network Security Group (NSG): Either select an existing NSG or create a new one to define inbound and outbound traffic rules for your VM. 
  1. Accelerated Networking: Enable if needed (for high-performance workloads). 

4.3. Configure Disks 

  1. OS Disk Type: Choose between Standard HDD, Standard SSD, or Premium SSD based on performance requirements. 
  1. Data Disks: If you need additional storage disks, click + Add data disk to configure additional disks. 

4.4. Configure Management 

  1. Monitoring: Enable Boot Diagnostics, OS Diagnostics, or Azure Monitor if required for monitoring and logging. 
  1. Auto-Shutdown: Configure auto-shutdown times if you want the VM to shut down automatically after a certain period. 

4.5. Configure Advanced Settings (Optional) 

  1. Extensions: Install any extensions, such as monitoring agents or custom scripts. 
  1. Custom Data: Configure custom scripts or cloud-init for Linux VMs to automate setup tasks after deployment. 

4.6. Review and Create 

  1. After configuring the VM settings, click Review + Create. 
  1. Review all settings and ensure everything is correct. 
  1. Click Create to initiate the VM deployment. 
  1. Verify the VM Deployment
  1. Once the deployment process completes, navigate to Virtual Machines in the Azure Portal. 
  1. Locate and select your newly created VM. 
  1. Check the Overview section for status and details about the VM. 
  1. Connect to the Virtual Machine
  1. After the VM is deployed, connect to it via: 
  1. RDP (for Windows VMs) or SSH (for Linux VMs). 
  1. In the Overview section, select Connect, and choose the connection method (RDP/SSH). 
  1. Download the RDP file for Windows VMs or use an SSH client for Linux VMs to access your VM. 

 

Recent Posts

Start typing and press Enter to search