Downloading or Creating Windows Stemcells

This topic describes how to download or create the stemcell that VMware Tanzu Application Service for VMs [Windows] needs to create VMs on an infrastructure.

Note: Traffic between the Gorouter and Windows stemcells is not encrypted with TLS.

Windows Stemcells

A BOSH stemcell is a versioned OS image wrapped with IaaS-specific packaging. BOSH uses a stemcell to supply the basic OS for any Windows VM it creates. A typical BOSH stemcell for Windows contains the following:

  • A bare minimum Windows OS skeleton.
  • A BOSH Agent.
  • OS Configuration files and common utilities.

For more information about stemcells, see What is a Stemcell? in the Cloud Foundry BOSH documentation.


Depending on your IaaS, you can create or download a stemcell using these methods:

Configuring the Azure Light Stemcell

On Azure, the stemcell exists as an offering in the Azure Marketplace. To start using the Azure light stemcell:

Enable the Azure Light Stemcell

To use the Azure light stemcell, you must first accept the corresponding Microsoft license agreement and enable the stemcell for your non-trial Azure Subscription through the Azure Marketplace.

Enable Your Azure Subscriptions

To enable the Azure subscriptions with which you want to use your stemcell:

  1. Go to the Microsoft Azure portal and log in.

  2. From the options on the left side of the page, click + Create a resource.

  3. In the Search the Marketplace bar, search for BOSH Stemcell for Windows Server 2019.

  4. Select BOSH Stemcell for Windows Server 2019 from your search results. A description of the Azure stemcell offering appears.

  5. Below the description, at the bottom of the page, click the blue banner that reads Want to deploy programmatically? Get started ➔.

  6. Review the Terms of Use on the “Configure Programmatic Deployment” page that appears.

  7. Under Choose the subscriptions, click Enable for each Azure subscription with which you want to use the stemcell.

  8. Click Save.

Accept the License Agreement

To accept the license agreement for your stemcell:

  1. To log in to to Azure with the Azure CLI, use the following command:

    az login
    
  2. To list the available Windows stemcells and find latest Windows stemcell urn, run the following Azure CLI command:

    az vm image list --all --publisher pivotal --sku 2019
    

    For example:

    az vm image list --all --publisher pivotal --sku 2019
    Offer                     Publisher    Sku    Urn                                                  Version
    ------------------------  -----------  -----  ---------------------------------------------------  -------------
    bosh-windows-server-2019  pivotal      2019   pivotal:bosh-windows-server-2019:2019:2019.1.050001  2019.1.050001
    bosh-windows-server-2019  pivotal      2019   pivotal:bosh-windows-server-2019:2019:2019.2.022001  2019.2.022001
    bosh-windows-server-2019  pivotal      2019   pivotal:bosh-windows-server-2019:2019:2019.3.041001  2019.3.041001
    bosh-windows-server-2019  pivotal      2019   pivotal:bosh-windows-server-2019:2019:2019.4.044001  2019.4.044001
    bosh-windows-server-2019  pivotal      2019   pivotal:bosh-windows-server-2019:2019:2019.5.006001  2019.5.006001
    bosh-windows-server-2019  pivotal      2019   pivotal:bosh-windows-server-2019:2019:2019.6.025001  2019.6.025001
    bosh-windows-server-2019  pivotal      2019   pivotal:bosh-windows-server-2019:2019:2019.7.012001  2019.7.012001
    bosh-windows-server-2019  pivotal      2019   pivotal:bosh-windows-server-2019:2019:2019.8.028001  2019.8.028001
    

    In the example above, pivotal:bosh-windows-server-2019:2019:2019.8.028001 is the latest Windows stemcell urn.

  3. To accept the terms for the selected Windows stemcell for each Azure subscription with which you want to use the stemcell, run the following command:

    az vm image accept-terms --subscription SUBSCRIPTION_ID --urn URN-ID
    

    Where:

    • SUBSCRIPTION_ID is an Azure subscription with which you want to use the stemcell.
    • URN-ID is the urn for the latest Windows stemcell.

Download the Azure Light Stemcell

To download the Azure light stemcell for use in Ops Manager:

  1. Go to the Stemcells (Windows) page on VMware Tanzu Network.

  2. Download the Azure Light Stemcell for Windows 2019 Server.

For information about how to deploy and configure the TAS for VMs [Windows] tile, see Installing and Configuring TAS for VMs [Windows].