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 one or more files you use to deploy virtual machines (VMs).
In this article, we'll walk through the procedure for creating a content library. Then we'll walk through deploying a VM using an ISO image from the content library.
An NSX-T logical switch segment and a managed DHCP service are required to complete this tutorial. For more information, see the How to manage DHCP in Azure VMware Solution article.
Create a content library
From the on-premises vSphere Client, select Menu > Content Libraries.
Select the Add button to create a new content library.
Specify a name and confirm the IP address of the vCenter server and select Next.
Select the Local content library and select Next.
Select the datastore that will store your content library, and then select Next.
Review and verify the content library settings, and then select Finish.
Upload an ISO image to the content library
Now that the content library has been created, you can add an ISO image to deploy a VM to a private cloud cluster.
From the vSphere Client, select Menu > Content Libraries.
Right-click the content library you want to use for the new ISO and select Import Item.
Import a library item for the Source by doing one of the following, and then select Import:
Select URL and provide a URL to download an ISO.
Select Local File to upload from your local system.
Optional, you can define a custom item name and notes for the Destination.
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
From the vSphere Client, select Menu > Hosts and Clusters.
In the left panel, expand the tree and select a cluster.
Select Actions > New Virtual Machine.
Go through the wizard and modify the settings you want.
Select New CD/DVD Drive > Client Device > Content Library ISO File.
Select the ISO uploaded in the previous section and then select OK.
Select the Connect check box so the ISO is mounted at power-on time.
Select New Network > Select dropdown > Browse.
Select the logical switch (segment) and select OK.
Modify any other hardware settings and select Next.
Verify the settings and select Finish.
If you plan to use VMware HCX to migrate VM workloads to your private cloud, use the Deploy and configure VMware HCX procedure.