Overview

Skill Level: Any Skill Level

This recipe explains how to configure Softlayer to allow you to boot a native Softlayer VM from a custom ISO image file.

Ingredients

For this recipe the following prerequisites are expected:

  • a Softlayer account;
  • permission to create a Softlayer VM;
  • permission to create an object storage;
  • an ISO image file.

Step-by-step

  1. Create a Softlayer Virtual Machine

    Assuming you have access to Softlayer to request a VM, follow steps below.

    1. Login on the Softlayer portal;
    2. Navigate on the menu: Devices > Device List;
    3. Click on the Order Devices link – a new page will open;
    4. Choose one of the available options – on this case a Public or a Dedicated VM;
    5. Finish the setup following configuration page and submit your order.

    Note: VMs can also be requested remotelly using Softlayer API, which is not the goal for this recipe.

  2. Create a Softlayer Object Storage

    Assuming you have access to Softlayer to request an object storage, follow steps below.

    1. Login on the Softlayer portal;
    2. Navigate on the menu: Storage > Object Storage;
    3. Click on the Order Object Storage link – a new page will open;
    4. Select “Cloud Object Storage – Standard Regional Swift API” and click continue;
    5. Finish the setup following configuration page and submit your order.
    6. Once done you can navigate to the Object Storage and select “Add File” to upload the ISO image file to be used on the VM boot.
  3. Set VM to boot from the new ISO image file.

    From the Softlayer portal, follow steps below.

    1. Navigate on the menu: Devices > Device List;
    2. Locate the device created on step;
    3. Click on Actions Drop Box and select Boot from Image;
    4. Locate the updated Image from step 3;

    The VM will boot using the provided image file.

  4. Gain VM Console Access (Optional)

    In case you need to have access to the VM console for further configuration or maybe you are installing a new OS using the ISO image file, follow steps below.

    1. Navigate on the menu: Devices > Device List;
    2. Locate the device created on step;
    3. Click on Actions Drop Box and select KVM Console – a new page will open;
    4. Take notes of the provided info, like below:
      Address: nn.nn.nn.nn Port: 1234
      Username: root Password: ABCD
    5. With the above information, open a VNC client and point to the provided IP Address and Port and use the provided Password to log in.

     

Join The Discussion