Create deployment
Describes how to create a deployment using the portal and the CLI. For more information, see Create a deployment.
Use the portal
- Sign in to the Azure Portal. To locate the Azure Sphere service, in the top search bar, enter and select Azure Sphere. The Azure Sphere page is displayed.
- By default, catalogs captured by a default subscription filter are displayed. Ensure your subscription filter is set to see all catalogs and resource groups.
- The Azure Sphere page displays a list of available catalogs. Select an catalog name from the list.
- Select Device groups under Manage in the menu on the left side of the page. The Device groups page listing available device groups is displayed.
- Click on the device group in which you want to create the deployment.
- On the Device groups page, select the Deployments tab, and then click Create.
- Search and select the image ID or name and click Create.
- A message is displayed when the deployment is successfully created.
Use the CLI
Use the az sphere deployment create
command.
az sphere deployment create --resource-group MyResourceGroup --catalog MyCatalog --product MyProduct --device-group MyDeviceGroup --images 25b91eed-1996-4049-ab9f-70982b87ad58
Tip
We recommend that you configure the default values for the subscription, resource group, and catalog parameters. This helps reduce redundancy and can significantly shorten CLI command syntax.
Unless you have set the active subscription, the --subscription
parameter will be required for all commands. You can set the active subscription using the command az account set --subscription <subscription-name>
.