Skip to main content

How to Create a VM Instance from an Image in mCloud - Knowledgebase / mCloud - Micron21 Helpdesk

How to Create a VM Instance from an Image in mCloud

Authors list

This guide details the steps for creating a new VM instance using a Cloud Image in your mCloud Dashboard.

Prerequisites

Before you create a new VM want to ensure that you have an SSH Key-Pair available to add to the VM this will help in gaining access to the new VM. Without an SSH Key-Pair connections will be difficult.

Method:

  1. Log into mCloud at https://mcloud.micron21.com/

  2. Navigate to Project > Compute > Instances

    1. 3a.png

  3. Click "Launch Instance"

    1. 3b.png

  4. Enter an Instance Name, and select the appropriate Availability Zone. Usually, this will be “Kilsyth”. Then click “Next”

    1. 3c.png

    2. If you wish to add multiple VMs with the exact same configuration, you can increase the “count” on this page.

  5. On the source Page, set the following options as required

    1. Set the boot source to ‘image’,

    2. Select "Yes" for Create New Volume’,

    3. Under ‘Volume Size (GB)’ set the size for the VM.

    4. Scroll down to ‘Unallocated’ and determine which Image file you’d like allocated to the domain, click the Up-Arrow to assign the image to ‘Allocated’

      1. 3d.png

  6. Scroll to the bottom of the Source Page and Click Next to continue.

  7. On the Flavor page, you can select the VM’s Resource Limits. Click the Up-Arrow next to the desired Flavor to allocate the resources to the VM. Then Click Next

    1. 3e.png

  8. Select the network/s you would like associated with the Instance (Public, VLAN etc.) Then click Next

    1. 3f.png

  9. On the Network Ports page you can configure specific Network ports as required, if you do not have any specific port requirements, you can click Next to proceed without making any changes

    1. 3g.png

  10. On the Security Groups page, select all applicable groups required, then click Next (in most cases this can be left blank)

    1. 3h.png

  11. Select which key pair you wish to use to connect to the default user and click Next.

    1. Important: If you do not have an SSH Key Pair configured we recommend that you set one at this stage. Without an SSH Key, connecting to the VM will prove difficult.

       

    2. 3i.png

  12. If you have any cloud-init configuration you wish to add you can do so here and click Next.

    1. 3j.png

    2. You can find more information on cloud-init configuration here: https://cloudinit.readthedocs.io/en/latest/

  13. Click Launch Instance, and wait for the deployment to complete and the new instance will be available in the Cloud Dashboard via Project > Compute > Instances

    1. This should take around 1 minute, depending on the size of the image.

Video Guide:

 

 

Helpful Unhelpful