Manage the lifecycle of an Azure IoT Operations instance

Important

Azure IoT Operations Preview – enabled by Azure Arc is currently in preview. You shouldn't use this preview software in production environments.

You'll need to deploy a new Azure IoT Operations installation when a generally available release is made available. You won't be able to upgrade a preview installation.

See the Supplemental Terms of Use for Microsoft Azure Previews for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.

Use the Azure CLI and Azure portal to manage, uninstall, or update Azure IoT Operations instances.

Prerequisites

  • An Azure IoT Operations instance deployed to a cluster. For more information, see Deploy Azure IoT Operations.

  • Azure CLI installed on your development machine. This scenario requires Azure CLI version 2.64.0 or higher. Use az --version to check your version and az upgrade to update if necessary. For more information, see How to install the Azure CLI.

  • The Azure IoT Operations extension for Azure CLI. Use the following command to add the extension or update it to the latest version:

    az extension add --upgrade --name azure-iot-ops
    

Manage

After deployment, you can use the Azure CLI and Azure portal to view and manage your Azure IoT Operations instance.

List instances

  1. In the Azure portal, search for and select Azure IoT Operations.
  2. Use the filters to view Azure IoT Operations instances based on subscription, resource group, and more.

View instance

You can view your Azure IoT Operations instance in the Azure portal.

  1. In the Azure portal, go to the resource group that contains your Azure IoT Operations instance, or search for and select Azure IoT Operations.

  2. Select the name of your Azure IoT Operations instance.

  3. On the Overview page of your instance, the Arc extensions table displays the resources that were deployed to your cluster.

    Screenshot that shows the Azure IoT Operations instance on your Arc-enabled cluster.

Update instance tags and description

  1. In the Azure portal, go to the resource group that contains your Azure IoT Operations instance, or search for and select Azure IoT Operations.

  2. Select the name of your Azure IoT Operations instance.

  3. On the Overview page of your instance, select Add tags or edit to modify tags on your instance.

Uninstall

The Azure CLI and Azure portal offer different options for uninstalling Azure IoT Operations.

The Azure portal steps can delete an Azure IoT Operations instance, but can't affect the related resources in the deployment. If you want to delete the entire deployment, use the Azure CLI.

  1. In the Azure portal, go to the resource group that contains your Azure IoT Operations instance, or search for and select Azure IoT Operations.

  2. Select the name of your Azure IoT Operations instance.

  3. On the Overview page of your instance, select Delete.

  4. Review the list of resources that are and aren't deleted as part of this operation, then type the name of your instance and select Delete to confirm.

    A screenshot that shows deleting an Azure IoT Operations instance in the Azure portal.

Upgrade

In public preview, Azure IoT Operations supports upgrading instances from version 0.7.x to 0.8.x.

When a generally available release is made available, you'll need to deploy a new Azure IoT Operations installation. You won't be able to upgrade from a preview installation.

  1. In the Azure portal, go to the resource group that contains your Azure IoT Operations instance, or search for and select Azure IoT Operations.

  2. Select the name of your Azure IoT Operations instance.

  3. On the Overview page of your instance, select Upgrade.

  4. The Upgrade Azure IoT Operations wizard prompts you to make sure you have the latest version for the Azure IoT Operations CLI extension. Copy and run the provided az extension add command.

  5. Update to the latest version of Azure IoT Operations instance. Copy and run the provided az iot ops upgrade command.

  6. Once the upgrade command completes successfully, you can exit the wizard and refresh your instance page.