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 becomes available. You won't be able to upgrade a preview installation.
For legal terms that apply to Azure features that are in beta, in preview, or otherwise not yet released into general availability, see the Supplemental Terms of Use for Microsoft Azure Previews.
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 andaz 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
- In the Azure portal, search for and select Azure IoT Operations.
- 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.
In the Azure portal, go to the resource group that contains your Azure IoT Operations instance, or search for and select Azure IoT Operations.
Select the name of your Azure IoT Operations instance.
On the Overview page of your instance, the Arc extensions table displays the resources that were deployed to your cluster.
Update instance tags and description
In the Azure portal, go to the resource group that contains your Azure IoT Operations instance, or search for and select Azure IoT Operations.
Select the name of your Azure IoT Operations instance.
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.
In the Azure portal, go to the resource group that contains your Azure IoT Operations instance, or search for and select Azure IoT Operations.
Select the name of your Azure IoT Operations instance.
On the Overview page of your instance, select Delete.
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.
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.
In the Azure portal, go to the resource group that contains your Azure IoT Operations instance, or search for and select Azure IoT Operations.
Select the name of your Azure IoT Operations instance.
On the Overview page of your instance, select Upgrade.
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.Update to the latest version of Azure IoT Operations instance. Copy and run the provided
az iot ops upgrade
command.Once the upgrade command completes successfully, you can exit the wizard and refresh your instance page.