Muokkaa

Jaa


Quickstart: Create a Containerized Network Function (CNF) Site Network Service (SNS) with Nginx

This article walks you through the process of creating a Site Network Service (SNS) using the Azure portal. Site Networks Services is an essential part of a Network Service Instance and is associated with a specific site. Each Site Network Service instance references a particular version of a Network Service Design (NSD).

Prerequisites

Create the site network service

  1. Sign in to the Azure portal.

  2. Select Create a resource.

  3. Search for Site network service, then select Create.

    Screenshot shows the Marketplace screen with site network service in the search bar. Options beneath the search bar include Site Network Service are shown.

  4. On the Basics tab, enter for select the information in the table and accept the default values for the remaining settings.

    Setting Value
    Subscription Select your subscription.
    Resource group Select resource group operator-rg.
    Name Enter nginx-sns.
    Region Select the location you used for your prerequisite resources.
    Site Enter nginx-site.
    Managed Identity Type Select User Assigned.
    User Assigned Identity Select identity-for-nginx

    Screenshot showing the basics tab to input project, instance, and identity details.

  5. Select Next: Choose a Network Site Design >.

  6. On this screen, select the Publisher, Network Service Design Resource, and the Network Service Design Version you published earlier.

    Note

    Be sure to select the same Publisher Offering Location you defined in the Network Service Design Quickstart (nginx-nsdg_NFVI.)

    Screenshot shows the Choose a Network Service Design tab where you choose the details of the initial Network Service Design version.

  7. Select Next: Set initial configuration >.

  8. Select Create New and enter nginx-sns-cgvs in the Name field.

    Screenshot showing the Initial Configuration screen including the dialog box that appears when you select the Create New option.

  9. In the resulting editor panel, enter the following configuration:

    {
    "nginx-nsdg": {
        "deployParameters": [{}],
        "customLocationId": "<resource id of your custom location>",
        "nfdv": "1.0.0",
        "managedIdentity": "<managed-identity-resource-id>"
    },
    
    }
    

    Tip

    Refer to the Retrieve Custom Location section for config group value for the customlocationID. For more information, see Quickstart: Prerequisites for Operator and Containerized Network Function (CNF).

  10. Select Review + Create then Create.

  11. Allow the deployment state to reach a state of Succeeded. This status indicates your CNF is up and running.

  12. Access your CNF by navigating to the Site Network Service Object in the Azure portal. Select the Current State -> Resources to view the managed resource group created by Azure Operator Service Manager (AOSM).

    Screenshot shows an overview of the site network service created.

You have successfully created a Site Network Service for a Nginx Container as a CNF in Azure. You can now manage and monitor your CNF through the Azure portal.

When you have finished, remember to delete the resources. To do this:

  1. Delete the Operator Resource Group.
  2. When step 1 is complete, delete the Publisher Resource Group.