Quickstart: Deploy a private mobile network and site - ARM template

Azure Private 5G Core is an Azure cloud service for deploying and managing 5G core network functions on an Azure Stack Edge device, as part of an on-premises private mobile network for enterprises. This quickstart describes how to use an Azure Resource Manager template (ARM template) to deploy the following.

An Azure Resource Manager template is a JavaScript Object Notation (JSON) file that defines the infrastructure and configuration for your project. The template uses declarative syntax. You describe your intended deployment without writing the sequence of programming commands to create the deployment.

If your environment meets the prerequisites and you're familiar with using ARM templates, select the Deploy to Azure button. The template will open in the Azure portal.

Button to deploy the Resource Manager template to Azure.

Prerequisites

Review the template

The template used in this quickstart is from Azure Quickstart Templates. The template for this article is too long to show here. To view the template, see azuredeploy.json.

The following Azure resources are defined in the template.

Deploy the template

  1. Select the following link to sign in to Azure and open a template.

    Button to deploy the Resource Manager template to Azure.

  1. Select or enter the following values, using the information you retrieved in Prerequisites.

    Field Value
    Subscription Select the Azure subscription you want to use to create your private mobile network.
    Resource group Create a new resource group.
    Region Select the region in which you're deploying the private mobile network.
    Location Leave this field unchanged.
    Mobile Network Name Enter a name for the private mobile network.
    Mobile Country Code Enter the mobile country code for the private mobile network.
    Mobile Network Code Enter the mobile network code for the private mobile network.
    Site Name Enter a name for your site.
    Service Name Leave this field unchanged.
    Sim Policy Name Leave this field unchanged.
    Slice Name Leave this field unchanged.
    Sim Group Name If you want to provision SIMs, enter the name of the SIM group to which the SIMs will be added. Otherwise, leave this field blank.
    Sim Resources If you want to provision SIMs, paste in the contents of the JSON file containing your SIM information. Otherwise, leave this field unchanged.
    Azure Stack Edge Device Enter the resource ID of the Azure Stack Edge resource in the site.
    Control Plane Access Interface Name Enter the virtual network name on port 5 on your Azure Stack Edge Pro device corresponding to the control plane interface on the access network. For 5G, this interface is the N2 interface; for 4G, it's the S1-MME interface; for combined 4G and 5G, it's the N2/S1-MME interface.
    Control Plane Access Ip Address Enter the IP address for the control plane interface on the access network.
    Note: Please ensure that the N2 IP address specified here matches the N2 address configured on the ASE Portal.
    User Plane Access Interface Name Enter the virtual network name on port 5 on your Azure Stack Edge Pro device corresponding to the user plane interface on the access network. For 5G, this interface is the N3 interface; for 4G, it's the S1-U interface; for combined 4G and 5G, it's the N3/S1-U interface.
    User Plane Data Interface Name Enter the virtual network name on port 6 on your Azure Stack Edge Pro device corresponding to the user plane interface on the data network. For 5G, this interface is the N6 interface; for 4G, it's the SGi interface; for combined 4G and 5G, it's the N6/SGi interface.
    User Equipment Address Pool Prefix Enter the network address of the subnet from which dynamic IP addresses must be allocated to User Equipment (UEs) in CIDR notation. You can omit this if you don't want to support dynamic IP address allocation.
    User Equipment Static Address Pool Prefix Enter the network address of the subnet from which static IP addresses must be allocated to User Equipment (UEs) in CIDR notation. You can omit this if you don't want to support static IP address allocation.
    Data Network Name Enter the name of the data network.
    Core Network Technology Enter 5GC for 5G, EPC for 4G, or EPC + 5GC for combined 4G and 5G.
    Napt Enabled Set this field depending on whether Network Address and Port Translation (NAPT) should be enabled for the data network.
    Dns Addresses Enter the DNS server addresses. You should only omit this if you don't need the UEs to perform DNS resolution, or if all UEs in the network will use their own locally configured DNS servers.
    Custom Location Enter the resource ID of the custom location that targets the Azure Kubernetes Service on Azure Stack HCI (AKS-HCI) cluster on the Azure Stack Edge Pro device in the site.
  1. Select or enter the following values, using the information you retrieved in Prerequisites.

    Field Value
    Subscription Select the Azure subscription you want to use to create your private mobile network.
    Resource group Create a new resource group.
    Region Select the region in which you're deploying the private mobile network.
    Location Leave this field unchanged.
    Mobile Network Name Enter a name for the private mobile network.
    Mobile Country Code Enter the mobile country code for the private mobile network.
    Mobile Network Code Enter the mobile network code for the private mobile network.
    Site Name Enter a name for your site.
    Service Name Leave this field unchanged.
    Sim Policy Name Leave this field unchanged.
    Slice Name Leave this field unchanged.
    Sim Group Name If you want to provision SIMs, enter the name of the SIM group to which the SIMs will be added. Otherwise, leave this field blank.
    Sim Resources If you want to provision SIMs, paste in the contents of the JSON file containing your SIM information. Otherwise, leave this field unchanged.
    Azure Stack Edge Device Enter the resource ID of the Azure Stack Edge resource in the site.
    Control Plane Access Interface Name Enter the virtual network name on port 3 on your Azure Stack Edge Pro device corresponding to the control plane interface on the access network. For 5G, this interface is the N2 interface; for 4G, it's the S1-MME interface; for combined 4G and 5G, it's the N2/S1-MME interface.
    Control Plane Access Ip Address Enter the IP address for the control plane interface on the access network.
    Note: Please ensure that the N2 IP address specified here matches the N2 address configured on the ASE Portal.
    User Plane Access Interface Name Enter the virtual network name on port 3 on your Azure Stack Edge Pro device corresponding to the user plane interface on the access network. For 5G, this interface is the N3 interface; for 4G, it's the S1-U interface; for combined 4G and 5G, it's the N3/S1-U interface.
    User Plane Data Interface Name Enter the virtual network name on port 4 on your Azure Stack Edge Pro device corresponding to the user plane interface on the data network. For 5G, this interface is the N6 interface; for 4G, it's the SGi interface; for combined 4G and 5G, it's the N6/SGi interface.
    User Equipment Address Pool Prefix Enter the network address of the subnet from which dynamic IP addresses must be allocated to User Equipment (UEs) in CIDR notation. You can omit this if you don't want to support dynamic IP address allocation.
    User Equipment Static Address Pool Prefix Enter the network address of the subnet from which static IP addresses must be allocated to User Equipment (UEs) in CIDR notation. You can omit this if you don't want to support static IP address allocation.
    Data Network Name Enter the name of the data network.
    Core Network Technology Enter 5GC for 5G, EPC for 4G, or EPC + 5GC for combined 4G and 5G.
    Napt Enabled Set this field depending on whether Network Address and Port Translation (NAPT) should be enabled for the data network.
    Dns Addresses Enter the DNS server addresses. You should only omit this if you don't need the UEs to perform DNS resolution, or if all UEs in the network will use their own locally configured DNS servers.
    Custom Location Enter the resource ID of the custom location that targets the Azure Kubernetes Service on Azure Stack HCI (AKS-HCI) cluster on the Azure Stack Edge Pro device in the site.
  1. Select Review + create.

  2. Azure will now validate the configuration values you've entered. You should see a message indicating that your values have passed validation.

    If the validation fails, you'll see an error message and the Configuration tab(s) containing the invalid configuration will be flagged. Select the flagged tab(s) and use the error messages to correct invalid configuration before returning to the Review + create tab.

  3. Once your configuration has been validated, you can select Create to deploy the resources. The Azure portal will display a confirmation screen when the deployment is complete.

Review deployed resources

  1. On the confirmation screen, select Go to resource group.

    Screenshot of the Azure portal showing a deployment confirmation for the ARM template.

  2. Confirm that the following resources have been created in the resource group.

    • A Mobile Network resource representing the private mobile network as a whole.
    • A Slice resource representing a network slice.
    • A Data Network resource representing a data network.
    • A Mobile Network Site resource representing the site as a whole.
    • A Packet Core Control Plane resource representing the control plane function of the packet core instance in the site.
    • A Packet Core Data Plane resource representing the data plane function of the packet core instance in the site.
    • An Attached Data Network resource representing the site's view of the data network.
    • A Service resource representing the default service.
    • A SIM Policy resource representing the allow-all SIM policy.
    • A SIM Group resource (if you provisioned any SIMs).

    Screenshot of the Azure portal showing a resource group containing the resources for a full Azure Private 5G Core deployment.

Clean up resources

If you do not want to keep your deployment, delete the resource group.

Next steps

If you have kept your deployment, you can either begin designing policy control to determine how your private mobile network will handle traffic, or you can add more sites to your private mobile network.