Creating a Portal Image
  • 2 Minutes to read
  • PDF

Creating a Portal Image

  • PDF

Article summary

To get the image vhd files from CTERA support:

  1. Log in to the Azure portal and access the Storage Accounts service to display the images.
    The list of available storage accounts is displayed.
  2. Either create a new storage account for the image or click the storage account to use for the image.
  3. The storage account details are displayed.
  4. Click Access Keys under Security + Networking in the navigation menu and note the Storage account name and the Key 1 key value.
    Note

    Click Show keys to display the key.

  5. Click Storage browser in the navigation menu and then click Blob containers and select Add container.
    The New container page is displayed.
  6. Enter a name for the container and click Create.
  7. Click the container.
  8. Click Shared access signature under Security + Networking in the navigation menu.
    The Shared access signature page is displayed.
  9. Set the permissions and click Create.
  10. Copy the URI that is generated and save it.
    The URI includes a shared access key.

To copy the vhd files:
To copy the vhd files you can use Azure Storage Explorer for a graphical user interface (GUI) or AzCopy.exe for a command line option.

Via AzCopy.exe run the following command, from the folder where you saved AzCopy.exe, for each vhd file (CentOS-CTERA-Portal-Image-x-y-z-OS-disk.vhd and CentOS-CTERA-Portal-Image-x-y-z-Data-Disk.vhd):
AzCopy.exe cp "<source_uri>" "<destination_uri>"
source_uri – The source URI location and path of the vhd file obtained from CTERA.
destination_url – The destination URL.

The vhd files are copied to the container. This can take some time.

To create the CTERA Portal server image:

  1. Log in to your Azure portal and access the Images service to display the image obtained from CTERA support.
    The list of available images is displayed.

  2. Click Create.
    The Create an image page is displayed.
    image.png

  3. Enter the following in the Basics tab.
    Resource group – The resource group to be used. The resource group must use premium storage.
    Name – A name to uniquely identify the virtual machine.
    Region – The region to host the image.
    OS type – Select Linux.
    VM generation – Select Gen 1.

    Note

    You must select Gen 1.

    Storage blob – Either enter the storage blob URI for the OS vhd file from CTERA or click Browse.

    Note

    The storage blob must be in a storage account that is in the resource group.

    After clicking Browse, the Storage accounts page is displayed.

    1. Select the storage account from the list.
      The Containers page is displayed.
    2. Select the container from the list.
      The container content is displayed.
    3. Select the OS vhd file, CentOS-CTERA-Portal-Image-x-y-z-OS-disk.vhd, received from CTERA and click Select.

    Account type – Select Premium SSD.

  4. Click Add data disk.

  5. Either enter the storage blob URI for the data disk vhd file from CTERA or click Browse under **Source blob URI.

    1. Select the storage account from the list.
      The Containers page is displayed.
    2. Select the container from the list.
      The container content is displayed.
    3. Select the data disk vhd file, CentOS-CTERA-Portal-Image-x-y-z-Data-Disk.vhd, received from CTERA and click Select.
    4. For Account type select Premium SSD and for Host caching choose Read/write from the drop-down text boxes.

  6. Leave the other fields with their defaults and click Review + create.
    The information is checked and if okay, it is validated.
    image.png{

  7. Click Create.
    Deployment starts. On completion the following screen is displayed.
    image.png

  8. Click Go to resource.
    The image details are displayed.
    image.png


Was this article helpful?