--- title: Create and configure MCC cache nodes description: Details on how to create and configure Microsoft Connected Cache for Enterprise and Education (MCC) cache nodes. ms.service: windows-client ms.subservice: itpro-updates ms.topic: how-to manager: naengler ms.author: nidos author: doshnid appliesto: - ✅ Windows 11 - ✅ Supported Linux distributions - ✅ Microsoft Connected Cache for Enterprise ms.date: 06/03/2024 --- # Create Microsoft Connected Cache Azure resource and cache nodes This article outlines how to create and configure your Microsoft Connected Cache for Enterprise and Education (MCC) cache nodes. The creation and configuration of your cache node takes place in Azure. The deployment of your cache node requires downloading and running an OS-specific provisioning package on your host machine. ## Prerequisites 1. **Azure Pay-As-You-Go subscription**: Microsoft Connected Cache is a free-of-charge service hosted in Azure. You'll need a pay-as-you-go Azure subscription in order to onboard to our service. To create a subscription, go to [pay-as-you-go subscription page](https://azure.microsoft.com/offers/ms-azr-0003p/). 2. **Hardware to host MCC**: The recommended configuration serves approximately 35,000 managed devices, downloading a 2-GB payload in 24-hour timeframe at a sustained rate of 6.5 Gbps. For more information on sizing and OS requirements, see [the prerequisites for using MCC](mcc-ent-prerequisites.md). ## Create MCC Azure resource # [Azure portal](#tab/portal) 1. In the [Azure portal](https://portal.azure.com), select **Create a Resource** and search for "Microsoft Connected Cache for Enterprise and Education". 1. Select the Microsoft Connected Cache for Enterprise resource. When prompted, choose the subscription, resource group, and location for the resource. Then enter a name for the resource and select Review + Create. 1. After a few moments, you'll see a "Validation successful" message, indicating you can move onto the next step and select Create. 1. The creation of the resource might take a few minutes. After a successful creation, you'll see a Deployment complete page as below. Select Go to resource to create cache nodes. # [Azure CLI](#tab/cli) ### Prerequisites * An Azure CLI environment: * Use the Bash environment in [Azure Cloud Shell](/azure/cloud-shell/get-started/classic). * Or, if you prefer to run CLI reference commands locally, [install the Azure CLI](/cli/azure/install-azure-cli) * Sign in to the Azure CLI by using the [az login](/cli/azure/reference-index#az-login) command. * Run [az version](/cli/azure/reference-index#az-version) to find the version and dependent libraries that are installed. To upgrade to the latest version, run [az upgrade](/cli/azure/reference-index#az-upgrade). * Install Azure CLI extension **mcc** by following the instructions [here](/cli/azure/azure-cli-extensions-overview#how-to-install-extensions). * Resource group under which an MCC resource can be created. Use the [az group create](/cli/azure/group#az-group-create) command to create a new Resource group if you don't already have one. #### Create MCC Azure resource Replace the following placeholders with your own information: * *\*: An existing resource group in your subscription. * *\*: A name for your Microsoft Connected Cache for Enterprise resource. * *\*: The Azure region where your Microsoft Connected Cache will be located. ```azurecli-interactive az mcc ent resource create --mcc-resource-name --resource-group --location ``` --- ## Create MCC cache node # [Azure portal](#tab/portal) 1. Open Azure portal and navigate to the Microsoft Connected Cache for Enterprise resource that you created.
1. Under Cache Node Management, select on Cache Nodes and then on + Create Cache Node.
1. Provide a name for your cache node and select the host OS you plan to deploy the cache node on and select create. Note, cache node names have to be unique under the Microsoft Connected Cache resource. The creation of cache node might take a few minutes. Select Refresh to see your recently created cache node. Once the cache node state changes to **Not Configured**, you can now configure your cache node.
To know more about different cache node state, see [Cache node states](#cache-node-states). # [Azure CLI](#tab/cli) Use the following command to create a new cache node if you don't already have one. Replace the following placeholders with your own information: * *\*: An existing resource group in your subscription. * *\*: A name for your Microsoft Connected Cache for Enterprise resource. * *\*: The Azure region where your Microsoft Connected Cache will be located. * *\*: The OS on which cache node will be provisioned. Accepted values: windows, linux ```azurecli-interactive az mcc ent node create --cache-node-name --mcc-resource-name --resource-group --host-os ```
>[!NOTE] >To ensure cache node has been created successfully, please run the following command before continuing with cache node configuration. >```azurecli-interactive >az mcc ent node show --cache-node-name --mcc-resource-name --resource-group >``` >In the output look for cacheNodeState. If ***cacheNodeState = Not Configured***, you can continue with cache node configuration. >If ***cacheNodeState = Registration in Progress***, then the cache node is still in process of being created. Please wait for a minute or two more and run the command again. >To know more about different cache node state, see [Cache node states](#cache-node-states). --- ## Configure MCC cache node # [Azure portal](#tab/portal) Enter required values to configure your cache node. To learn more about the definitions of each field, review the [Configuration](#general-configuration-fields) fields at the bottom of this article. Don't forget to select save after adding configuration information. # [Azure CLI](#tab/cli) ### Configure Linux MCC Use the following command to configure cache node for deployment to a **Linux** host machine. Replace the following placeholders with your own information: * *\*: An existing resource group in your subscription. * *\*: A name for your Microsoft Connected Cache for Enterprise resource. * *\*: The Azure region where your Microsoft Connected Cache will be located. * *\*: The cache drive path. You can add upto nine cache drives. * *\*: The size of cache drive. Must be at least 50 Gb. * *\*: If proxy needs to be enabled or not.
Accepted values: enabled, disabled
Proxy should be set to enabled if the cache node will need to pass through a network proxy to download content. The provided proxy will also be used during deployment of the MCC cache node to your host machine. * *\*: The proxy host name or ip address. Required if proxy is set to enabled. * *\*: Proxy port number. Required if proxy is set to enabled. * *\*: Update ring the cache node should have.
Accepted values: slow, fast.
If update ring is set to slow, you must provide the day of week, time of day and week of month the cache node should be updated. * *\*: The day of the week cache node should be updated. Week starts from Monday.
Accepted values: 1,2,3,4,5,6,7 * *\*: The time of day cache node should be updated in 24 hour format (hh:mm) * *\*: The week of month cache node should be updated.
Accepted values: 1,2,3,4 ```azurecli-interactive az mcc ent node update --cache-node-name --mcc-resource-name --resource-group --cache-drive "[{physical-path:,size-in-gb:},{,size-in-gb:}...]"> --proxy --proxy-host <"proxy host name"> --proxy-port --auto-update-day --auto-update-time