What is a Virtual Machine:
A virtual machine (VM) in the Azure portal is a fully configurable, cloud-based computing resource that emulates a physical computer, enabling users to deploy and manage applications with customizable processing power, memory, and storage, all accessible through a secure, browser-based interface designed for efficient workload management and global scalability.
In this article, we will be focusing on:
Prerequisites
Before you begin, make sure you have:
An active Azure account. You can sign up for a free trial if you don’t have one.
Step-by-Step Guide to Create a Virtual Machine
Step 1: Sign in to the Azure Portal
Go to https://portal.azure.com and sign in with your Azure credentials.Step 2: Navigate to Virtual Machines
In the left-hand navigation pane, click on "Virtual Machines". If it’s not visible, use the search bar at the top to search for “Virtual Machines.
- Step 3: Click on "Create" Click the "+ Create" button and select "Azure virtual machine".
- Create a Resource Group and give your resource group a name
- Give your Virtual machine a name
- Choose region
- Choose Availability Options (Zones)
- Choose Image (Software that will run the Virtual Machine)
-To Save cost, select/click Run with Azure Spot discount
For Azure Administrator account for your Virtual Machine.
- Create Username and Password for your virtual machine
-To access internet, select Public inbound ports, for testing choose to allow selected ports, for real live, choose none and create your own as a professional
- Select inbound ports, choose HTTP for windows and SSH for Linux, RDP will be automatically selected
-Click to confirm the Licensing
- Go to Monitoring and Select Disable to disable the virtual Machine from running
-Go to Tags, under Name put Department, under value, put the name of your department e.g. IT
- Review and Create to complete the Deployment
-After Deployment, Go to Resource
- To connect to the virtual machine, click the connect button
- We are going to use native RDP, Click Select
- The next step is to download the RDP file, click on Download RDP file
- Click keep to keep and download RDP file
Access the Downloaded RDP File on your Computer and Click Connect to connect to your Virtual Machine
Input the Username and Password that you have created earlier to login to your virtual machine
- Increase the Virtual machine idle time from 4 minutes to 30 minutes, go to Virtual machine ip address- overview-configuration-ip address-increase the idle time
- save your work
- Dissociate the Virtual Machine from running
- Whenever you want to use the virtual machine, go back and click associate to reconnect the virtual machine
- Stop the virtual machine from running, go to Home page, go to overview page, click on stop to stop the virtual machine from running
- Whenever you want to run the virtual machine, go back and click start
Top comments (2)
nice
Good information