Introduction
In this article, you'll learn how to create a virtual machine (VM) in Azure. Follow these steps to guide you through creating a virtual machine using the Azure portal.
What is Cloud Computing?
Cloud computing is the delivery of computing services over the internet, including servers, storage, databases, networking software, and services.
What is Azure?
Azure is Microsoft's cloud computing platform. It offers a comprehensive suite of over 200 products and services, including computing, analytics, storage, networking, and more.
Create a Virtual Machine using the Azure Portal
Step 1. Accessing the Azure Portal
- Go to the Azure portal by following this link: https://portal.azure.com/
- Log in to the Azure portal using your admin credentials.
- Then, click "Next."
Step 2. Navigating to the Virtual Machine Creation Page
- Click "Show Portal Menu".
- Then, click "Create a resource".
- Next, click "Create" for Virtual Machine.
Step 3. Configuring Basics
Enter basic details such as VM name, region, availability options, Security type, and operating system image. and VM architecture.
Step 4. Administrative Credentials
- Provide the administrative username and password for the VM.
- Then, allow the inbound port rule to access the VM by RDP connection.
- Finally, click "Next: Disk."
Step 5. Choosing VM Size
- Select the VM size based on your workload requirements and budget constraints.
- Then click "Next: Networking."
For this demo, keep the settings as default.
Step 6.Configuring Networking
- Configure networking settings, including virtual network, subnet, public IP address, and network security group (NSG), to control inbound and outbound traffic.
- Then click "Next: Management."
For this demo, keep the settings as default.
Step 7. Configuring Management
- Configure management options for your VM. Optionally, enable or disable automatic Windows updates and VM shutdown.
- Then click "Next: Monitoring."
For this demo, keep the settings as default.
Step 8. Configure monitoring
- Configure monitoring options for your VM. Optionally, enable monitoring and diagnostics settings for the VM to gather insights into its performance and health.
- Then click "Next: Advanced."
For this demo, keep the settings as default.
Step 9. Add additional configuration
For this demo, keep the settings as default.
Then click "Next: Tags."
Step 10. Adding Tags
It's optional to assign tags to the VM for better organization and management. Tags are in the format of name/value.
For this demo, keep the settings as default.
Then click "Next: Review + Create."
Step 11. Review and Create
Review the configuration details.
Then click "Create."
Step 12. Deployment Progress
Once validation has passed, you can monitor the deployment progress.
Step 13. Accessing the Deployed Virtual Machine
Once deployment is complete, click "Go to resource." access the deployed VM
Step 14. Connect VM
- Click "Connect."
- Then click "Download RDP File."
Access the deployed VM using Remote Desktop Protocol (RDP) for Windows VMs or Secure Shell (SSH) for Linux VMs. Utilize the provided administrative credentials to log in.
After downloading the RDP file, open it and connect to the VM.
Then, enter the login credentials.
Now, the virtual machine has been deployed successfully.