Creating your first Virtual Machine in Azure | Scribe

    Creating your first Virtual Machine in Azure

    • Hafeez Baig |
    • 19 steps |
    • 3 minutes
    information ordinal icon

    Refer to this guide to learn how to create Microsoft Azure Account\ <https://scribehow.com/shared/Creating_Microsoft_Azure_Account__7DG9fgobQjSwqykdHBQfDw>

    1

    Sign in into the **Microsoft Azure Portal**

    2

    Type **Virtual Machines** in the search bar and click on the **Virtual machines** to view the Virtual Machines dashboard

    information ordinal icon

    **What is Azure Virtual Machine?** An Azure Virtual Machine is a scalable computing resource provided by Microsoft Azure, enabling users to deploy and manage virtualized instances of operating systems such as Windows or Linux in the cloud.

    3

    On the **Virtual machines** dashboard, in the top left corner click on the **Create** dropdown button and click on the option **Azure virtual machine**

    4

    **Create Virtual machine** wizard will open, click on the **Create new** link to create a Resource group

    information ordinal icon

    **What is a Resource group?** A Resource Group in Azure is a logical container for grouping and managing related resources such as virtual machines and databases. It helps organize resources, apply policies, and manage costs effectively.

    5

    **Resource group** wizard will open, type "**compute-rg**" and click on the **OK** button

    6

    Scroll to the **Instance details** section, type **"my-first-vm"** in the **Virtual machine name** and Select **(US) East US** from the **Region**

    7

    Click on the **Availability zone** dropdown and select the option **Zone 2**

    information ordinal icon

    **What are Availability zones in Azure?** Availability Zones in Azure are physically separate data centers within an Azure region. Each Availability Zone is made up of one or more data centers equipped with independent power, cooling, and networking. Azure ensures that these zones are located far enough apart to withstand data center failures while remaining close enough for low-latency connections.

    8

    Click on the **Image** dropdown and select the option **Ubuntu Server 20.04 LTS -x64 Gen2 (free service eligible)**

    9

    Click on the **Size** dropdown and select the option **Standard_Bs1 - vcpu, 1GiB Memory (free service eligible)**

    information ordinal icon

    **What is Standard B1s size in Azure Virtual Machine?** The Standard B1s size in Azure Virtual Machines is one of the basic and smallest sizes available. It offers a balanced CPU-to-memory ratio suitable for lightweight workloads, development and test scenarios, or small-scale applications.

    10

    Scroll to the **Administrator account** section and select the **SSH public key** option for the Authentication type

    information ordinal icon

    **What is SSH public key Authentication type?** SSH public key authentication is a method of authentication that relies on asymmetric cryptography. In this process, a user generates a key pair consisting of a public key and a private key. The public key is placed on the server (in this case, an Azure virtual machine), while the private key is kept securely by the user. When the user attempts to connect to the server, the server requests proof of identity.

    11

    Scroll the page and type the Key pair name as "**my-first-vm_key**"

    12

    Scroll to the **Inbound port rules** section and choose the **Allow selected ports** option for **Public inbound ports**.

    13

    Click on the **Select inbound ports** dropdown and select the option **HTTP(80)**

    information ordinal icon

    **What is HTTP and SSH inbound ports?** HTTP inbound port (usually on port 80 or 443) allows web traffic to reach your Azure virtual machine, while SSH inbound port (typically on port 22) enables secure remote access for administration.