Create a virtual machine

In this topic, you learn how to create a virtual machine on the Microsoft Azure portal.

Prerequisites

  • You have a SSH key pair. See here for more information.

  • You have a valid Microsoft Azure account.

Procedure

  1. Sign in to the Microsoft Azure portal.

  2. Select Create a resource.

    azure vm resource
  3. Select Ubuntu Server.

    Result: The free trial page opens. You can select a free trial for 30 days or a subscription.

  4. Select Project details > Basics. Make sure to select the correct subscription.

    azure resource group
  5. Select Resource group > Create new.

    Result: A new window opens.

  6. Add a name for the resource group and select OK.

  7. Select Instance details.

    1. Add the name for the virtual machine.

    2. Select the region closest to your users.

    3. Set the memory and CPU size according to your requirements. The minimum requirement for Neptune DXP - Open Edition is 2vcpus with 4 GB memory.

    4. You can leave the other parameters at default value.

      azure instance details
  8. Select Administrator Account.

    1. As Authentication type, select SSH public key.

    2. Enter your username.

    3. Paste your public SSH key into the text box.

      Remove any leading or trailing white space in your public key.
      administrator account azure
  9. Select Inbound Port Rules.

    1. In Public inbound ports, select Allow selected ports.

    2. In Select inbound ports, select SSH (22) and HTTP (80).

      inbound port rules
  10. Leave the remaining entries to their default values. Select Review + create at the bottom of the page.

  11. Select Create a virtual machine.

    1. Check the configurations of your virtual machine.

    2. Select Create.

Result

  • You have created your virtual machine. This process may take a few minutes.