Editar

Partilhar via


Quickstart: Create an Unreal Cloud DDC using Bicep

Important

The Unreal Cloud Derived Data Cache (DDC) offering has been removed from the Azure Marketplace. As such, we're retiring this documentation on March 31, 2024. Until then, this documentation exists for reference only, with no official support available from Microsoft.

Please contact your Epic Games representative for more information about using Unreal Cloud DDC.

This quickstart will show you how to create an Unreal Cloud DDC deployment using Bicep.

Review the Bicep file

The Bicep file is based on the quickstart from Azure Quickstart Templates.

param name                     string = 'horde-cluster'
param agentPoolName            string = 'k8agent'
param location                 string = 'eastus2'
param managedResourceGroupName string = 'mrg'
param agentPoolCount           int    = 3

var managedResourceGroupId = '${subscription().id}/resourceGroups/${resourceGroup().name}-${managedResourceGroupName}'

resource hordeStorage 'Microsoft.Solutions/applications@2017-09-01' = {
  location: location
  kind: 'MarketPlace'
  name: name
  plan: {
    name: 'aks'
    product: 'horde-storage-preview'
    publisher: 'microsoft-azure-gaming'
    version: '0.0.4'
  }
  properties: {
    managedResourceGroupId: managedResourceGroupId
    parameters: {
      location: {
        value: location
      }
      name: {
        value: name
      }
      agentPoolCount: {
        value: agentPoolCount
      }
      agentPoolName: {
        value: agentPoolName
      }
    }
    jitAccessPolicy: null
  }
}

Deploy the Bicep file

  1. Save the Bicep file as main.bicep to your local computer.

  2. Deploy the Bicep file using either Azure CLI or Azure PowerShell.

    az group create \
      --name exampleRG \
      --location eastus
    az deployment group create \
      --resource-group exampleRG \
      --template-file main.bicep \
      --parameters name=<horde-storage-name>
    
    

Review deployed resources

Azure CLI, or Azure PowerShell to list the deployed resources in the resource group.

az resource list \
  --resource-group managedResourceGroupId

Clean up resources

When no longer needed, use the Azure CLI, or Azure PowerShell to delete the resource group and its resources.

az group delete \
  --name exampleRG

Next steps

See also