Skip to main content

Create Your First Virtual Machine (VM) Using Azure Portal

Overview
In this article, we will talk about how we can create VM using Azure Portal. Most of the times, especially when we are newer to Azure technology, we wonder how we can create a VM. Trust me, creating a VM is not a big deal when using Azure.
I just want to inform you that we can get a free Azure subscription for 1 month using the Azure portal. Use the below URL for an Azure subscription.
Microsoft also provides 12-months free subscription as a part of Visual Studio Dev Essentials program. You can register yourself for Visual Studio Dev Essentials program for free. Using Visual Studio Dev Essentials, we get $300 credit for 1 year. Every month, we get $25 credit.
For more information on registering yourself using Visual Studio Dev Essentials, visit one of the best articles of C# Corner, mentioned below. 

One more thing that I want to share with you is that sometimes when we check prices for Azure VM, we think we don’t have enough credit to purchase the VM. But the fact is that Azure provides a feature “Pay only for what you use”. Suppose, I have 2500 INR in my Azure subscription credit and my VM price is 12,500 INR, then when I create the VM it charges me on per hour basis.
Suppose my rate per hour is 12 INR., then I will have deducted 12 INR. per hour. It will cost other charges. For more information and conditions, visit the official Azure portal.
So now, let’s get started!
Step 1
Login using Azure Portal  - https://portal.azure.com/
Step 2
From Virtual Machines, create a new Virtual Machine.

Step 3
Select Windows Server.

Step 4
I want to create an Azure VM for Windows Server 2016. So, I will choose Windows Server 2016 Datacenter. As per your requirement, you can choose Windows Server.

Step 5
Now, there is a first step to fill all the information.

  • Name – Name for Azure Machine
  • Disk Type – Choose from SSD or HDD – For more information use this link
  • Username – Name for system administrator
  • Password – Add Password
  • Subscription – Choose your subscription
  • Resource Group – For more information use this link

After filling all the information, click OK.

 

Step 6
Now, it’s time to choose a size for VM. Enter your requirement in boxes and search all the available VMs accordingly.

Click on "View all" to search all the available plans.

I will choose the above selected VM.
Step 7
Now, here, we need to select Storage type. As a beginner, we just press OK.

For more details, please visit Microsoft’s official article for these terms.
Step 8
It will show my VM’s price per hour. Accept the terms and conditions and press "Create".

Step 9
We can see this kind of screen and notification.

 

Step 10
Once deployment has been successful, it will show the following notification.

Step 11
Now, copy the Public IP and perform RDP.

You can connect with Azure VM.

Conclusion
Now, I hope you have got an idea of creating VM in Azure. It’s very easy and simple.

Comments

Popular posts from this blog

How to partition or split DataTable in C#?

Today we will discuss how we can divide or split a very large data table into fixed size of chunks? Scenario: Suppose there is a data table which has 1000 Rows. When you perform for each loop on data table and read each row at that time it will take too much time. If we devide 1000 Rows datatable into 10 fixed sizes (e.g. 100 Rows) datatable, It will take less time. Let's check how to achieve it. Here is a code. private static List<DataTable> SplitTable(DataTable originalTable, int batchSize) { List<DataTable> tables = new List<DataTable>(); int i = 0; int j = 1; DataTable newDt = originalTable.Clone(); newDt.TableName = "Table_" + j; newDt.Clear(); foreach (DataRow row in originalTable.Rows) { DataRow newRow = newDt.NewRow(); newRow.ItemArray = row.ItemArray; newDt.Rows.Add(newRow); i++; if (i == batchSize) ...

How To Lock Objects In Power BI

Overview Sometimes, there is a situation where when we open a report and click on any visual it accidentally nudges a chart a little bit to the right or left. Sometimes, by mistake when viewing a report, the arrangement of visuals scatters a little bit. Microsoft rolls out one new amazing feature to resolve this issue, that is, Lock Objects in Power BI. Advantages of using this feature When our purpose is to only view a report, this feature is a boon for us. Visualization’s position is not changed. Saves a lot of the developer's time to resolve the position related issues. Note   -  This feature is not saved with the report. So, every time you open a report, you need to enable this feature. Now, let’s understand this feature in a brief manner. To understand this, I will first show you one report in which I have not enabled “Lock Objects” feature. Step 1 The below screenshot shows my report which doesn’t have the enabled Lock Objects feature. ...

Create Event Calendar In Power BI

Overview In this article, we will learn how we can create Event Calendar within Power BI. We have a requirement from many of my clients to show Events within the Calendar by Category Colors. In order to achieve that requirement, we can use the custom visual from the marketplace which is “ Calendar by MAQ Software ”. You can directly download it using   URL . At the end of the article, you are able to create Event Calendar as shown in the following screenshot. We have the following data to be shown in the event Calendar. Event Start Date Event End Date Description Category   For your practice, you can download sample data source file and Power BI file using   GitHub . Let’s get started! Step 1 Import “ Calendar by MAQ Software ” from Marketplace or download using the   URL . Once it is imported we can see the visual in visualization pane. Step 2 Drag the “ Calendar by MAQ Software ” visual and set the following property. ...