Create a content library to deploy VMs in Azure VMware Solution

A content library stores and manages content in the form of library items. A single library item consists of files you use to deploy virtual machines (VMs).

In this article, learn how to create a content library in the vSphere Client and deploy a VM using an ISO image from the content library.

Prerequisites

An NSX-T Data Center segment and a managed DHCP service are required to complete this tutorial. For more information, see Configure DHCP for Azure VMware Solution.

Create a content library

  1. From the on-premises vSphere Client, select Menu > Content Libraries.

    Screenshot showing the Content Libraries menu option in the vSphere Client.

  2. Select Add to create a new content library.

    Screenshot showing how to create a new content library in vSphere.

  3. Provide a name and confirm the IP address of the vCenter Server and select Next.

    Screenshot showing the name and vCenter Server IP for the new content library.

  4. Select the Local content library and select Next.

    Screenshot showing the Local content library option selected for the new content library.

  5. Select the datastore for storing your content library, and then select Next.

    Screenshot showing the vsanDatastore storage location selected.

  6. Review the content library settings and select Finish.

    Screenshot showing the settings for the new content library.

Upload an ISO image to the content library

Now that you created the content library, you can add an ISO image to deploy a VM to a private cloud cluster.

  1. From the vSphere Client, select Menu > Content Libraries.

  2. Right-click the content library you want to use for the new ISO and select Import Item.

  3. Import a library item for the Source by doing one of the following, and then select Import:

    1. Select URL and provide a URL to download an ISO.

    2. Select Local File to upload from your local system.

    Tip

    Optional, you can define a custom item name and notes for the Destination.

  4. Open the library and select the Other Types tab to verify that your ISO was uploaded successfully.

Deploy a VM to a private cloud cluster

  1. From the vSphere Client, select Menu > Hosts and Clusters.

  2. In the left panel, expand the tree and select a cluster.

  3. Select Actions > New Virtual Machine.

  4. Go through the wizard and modify the settings you want.

  5. Select New CD/DVD Drive > Client Device > Content Library ISO File.

  6. Select the ISO uploaded in the previous section and then select OK.

  7. Select the Connect check box so the ISO is mounted at power-on time.

  8. Select New Network > Select dropdown > Browse.

  9. Select the logical switch (segment) and select OK.

  10. Modify any other hardware settings and select Next.

  11. Verify the settings and select Finish.

Next steps

Now that you created a content library to deploy VMs in Azure VMware Solution, learn more about: