Quickstart: Complete the prerequisites to deploy a Containerized Network Function in Azure Operator Service Manager
In this Quickstart, you complete the tasks necessary prior to using the Azure Operator Service Manager (AOSM).
Prerequisites
- You have enabled AOSM on your Azure subscription.
Download and install Azure CLI
To install the Azure CLI locally, refer to How to install the Azure CLI.
To sign into the Azure CLI, use the az login
command and complete the prompts displayed in your terminal to finish authentication. For more sign-in options, refer to Sign in with Azure CLI.
Note
If you're running on Windows or macOS, consider running Azure CLI in a Docker container. For more information, see How to run the Azure CLI in a Docker container. You can also use the Bash environment in the Azure cloud shell. For more information, see Start the Cloud Shell to use Bash environment in Azure Cloud Shell.
Install Azure Operator Service Manager (AOSM) CLI extension
Install the Azure Operator Service Manager (AOSM) CLI extension using this command:
az extension add --name aosm
- Run
az version
to see the version and dependent libraries that are installed. - Run
az upgrade
to upgrade to the current version of Azure CLI.
Requirements for Containerized Network Function (CNF)
For those utilizing Containerized Network Functions, it's essential to ensure that the following packages are installed on the machine from which you're executing the CLI:
- Install docker, refer to Install the Docker Engine.
- Install Helm, refer to Install Helm CLI. You must use Helm v3.8.0 or later.
Configure Containerized Network Function (CNF) deployment
For deployments of Containerized Network Functions (CNFs), it's crucial to have the following stored on the machine from which you're executing the CLI:
Helm Packages with Schema - These packages should be present on your local storage and referenced within the
cnf-input.jsonc
configuration file. When following this quickstart, you download the required helm package.Creating a Sample Configuration File - Generate an example configuration file for defining a CNF deployment. Issue this command to generate an
cnf-input.jsonc
file that you need to populate with your specific configuration.az aosm nfd generate-config --definition-type cnf
Your container images must be present in either:
- A reference to existing Azure Container Registries that contain the images for your CNF.
- A reference to other Container Registries that contain the images for your CNF.
Important
Use the docker login
command to sign in to a non-Azure container registry hosting your container images before you run any az aosm
commands.
Download sample Helm chart
Download the sample Helm chart from here Sample Helm chart for use with this quickstart.
Next steps
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for