You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this quickstart, you will deploy a suite of IoT services to an Azure Arc-enabled Kubernetes cluster so that you can remotely manage your devices and workloads. Azure IoT Operations Preview is a digital operations suite of services that includes Azure IoT Orchestrator Preview. This quickstart guides you through using Orchestrator to deploy these services to a Kubernetes cluster. At the end of the quickstart, you have a cluster that you can manage from the cloud that's generating sample data to use in the following quickstarts.
18
+
In this quickstart, you will deploy a suite of IoT services to an Azure Arc-enabled Kubernetes cluster so that you can remotely manage your devices and workloads. Azure IoT Operations is a digital operations suite of services that includes Azure IoT Orchestrator Preview. This quickstart guides you through using Orchestrator to deploy these services to a Kubernetes cluster. At the end of the quickstart, you have a cluster that you can manage from the cloud that generates sample data to use in the following quickstarts.
19
19
20
20
The services deployed in this quickstart include:
21
21
@@ -30,26 +30,36 @@ The services deployed in this quickstart include:
30
30
31
31
The following quickstarts in this series build on this one to define sample assets, data processing pipelines, and visualizations. If you want to deploy Azure IoT Operations to run your own workloads, see [Prepare your Azure Arc-enabled Kubernetes cluster](../deploy-iot-ops/howto-prepare-cluster.md) and [Deploy Azure IoT Operations Preview extensions to a Kubernetes cluster](../deploy-iot-ops/howto-deploy-iot-operations.md).
32
32
33
+
## Before you begin
34
+
35
+
This series of quickstarts is intended to give you an opportunity to evaluate an end-to-end scenario with Azure IoT Operations. In a true development or production environment, these tasks would be performed by multiple teams working together and some tasks require elevated permissions.
36
+
37
+
For the best new user experience, we recommend using a free Azure subscription so that you have owner permissions over the resources in these quickstarts. We also recommend using GitHub Codespaces as a virtual environment in which you can quickly begin deploying resources and running commands without installing new tools on your own machines.
38
+
39
+
Once you're ready to learn more about the individual roles and tasks, the how-to guides provide more specific implementation and permissions details.
40
+
33
41
## Prerequisites
34
42
35
43
Review the prerequisites based on the environment you use to host the Kubernetes cluster.
36
44
37
-
For this quickstart, we recommend GitHub Codespaces as a quick way to get started in a virtual environment without installing new tools. Or, use Azure Kubernetes Service (AKS) Edge Essentials to create a cluster on Windows devices or K3s on Ubuntu Linux devices.
45
+
For this quickstart, we recommend using a virtual environment as a quick way to get started without installing new tools.
38
46
39
-
As part of this quickstart, you create a cluster in either Codespaces, AKS Edge Essentials, or Linux. If you want to reuse a cluster that you've deployed Azure IoT Operations to before, refer to the steps in [Clean up resources](#clean-up-resources) to uninstall Azure IoT Operations before continuing.
47
+
As part of this quickstart, you create a cluster in either GitHub Codespaces, AKS Edge Essentials, or K3s on Ubuntu Linux. If you want to reuse a cluster that you've deployed Azure IoT Operations to before, refer to the steps in [Clean up resources](#clean-up-resources) to uninstall Azure IoT Operations before continuing.
40
48
41
49
# [Virtual](#tab/codespaces)
42
50
43
51
* An Azure subscription. If you don't have an Azure subscription, [create one for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
44
52
45
53
* A [GitHub](https://github.com) account.
46
54
47
-
# [Windows](#tab/windows)
55
+
* Visual Studio Code installed on your development machine. For more information, see [Download Visual Studio Code](https://code.visualstudio.com/download).
48
56
49
-
* You'll use the `AksEdgeQuickStartForAio.ps1` script to set up an AKS Edge Essentials single-machine K3S Linux-only cluster. Ensure that your machine has a minimum of 10 GB RAM, 4 vCPUs, and 40 GB free disk space. To learn more, see the [AKS Edge Essentials system requirements](/azure/aks/hybrid/aks-edge-system-requirements).
57
+
# [Windows](#tab/windows)
50
58
51
59
* An Azure subscription. If you don't have an Azure subscription, [create one for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
52
60
61
+
* Ensure that your machine has a minimum of 10 GB RAM, 4 vCPUs, and 40 GB free disk space. To learn more, see the [AKS Edge Essentials system requirements](/azure/aks/hybrid/aks-edge-system-requirements).
62
+
53
63
* Azure CLI installed on your development machine. For more information, see [How to install the Azure CLI](/cli/azure/install-azure-cli).
54
64
55
65
This quickstart requires Azure CLI version 2.46.0 or higher. Use `az --version` to check your version and `az upgrade` to update if necessary.
Copy file name to clipboardExpand all lines: articles/iot-operations/includes/connect-cluster.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.custom: include file, ignite-2023, devx-track-azurecli
11
11
12
12
To connect your cluster to Azure Arc:
13
13
14
-
1. On the machine where you deployed the Kubernetes cluster, sign in with Azure CLI:
14
+
1. On the machine where you deployed the Kubernetes cluster or your codespace terminal, sign in with Azure CLI:
15
15
16
16
```azurecli
17
17
az login
@@ -27,7 +27,7 @@ To connect your cluster to Azure Arc:
27
27
```bash
28
28
# Azure region where the created resource group will be located
29
29
# Currently supported regions: "eastus", "eastus2", "westus", "westus2", "westus3", "westeurope", or "northeurope"
30
-
export LOCATION="WestUS3"
30
+
export LOCATION="<REGION>"
31
31
```
32
32
33
33
```bash
@@ -64,13 +64,13 @@ To connect your cluster to Azure Arc:
64
64
az group create --location $LOCATION --resource-group $RESOURCE_GROUP --subscription $SUBSCRIPTION_ID
65
65
```
66
66
67
-
1. Use the [az connectedk8s connect](/cli/azure/connectedk8s#az-connectedk8s-connect) command to Arc-enable your Kubernetes cluster and manage it in the resource group you created in the previous step:
67
+
1. Use the [az connectedk8s connect](/cli/azure/connectedk8s#az-connectedk8s-connect) command to Arc-enable your Kubernetes cluster and manage it as part of your Azure resource group:
1. Get the `objectId` of the Microsoft Entra ID application that the Azure Arc service uses. Run this command in the [Azure Cloud Shell](https://portal.azure.com/#cloudshell) or on your local machine:
73
+
1. Get the `objectId` of the Microsoft Entra ID application that the Azure Arc service uses. Run this command in the [Azure Cloud Shell](https://portal.azure.com/#cloudshell), on your local machine, or in a Cloudspaces terminal:
74
74
75
75
```azurecli
76
76
az ad sp show --id bc313c14-388c-4e7d-a58e-70017303ee3b --query id -o tsv
Copy file name to clipboardExpand all lines: articles/iot-operations/includes/prepare-codespaces.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ ms.custom:
10
10
- ignite-2023
11
11
---
12
12
13
-
Use GitHub Codespaces to try Azure IoT Operations on a Kubernetes cluster without installing anything on your local machine. Use the **explore-iot-operations** codespace that is preconfigured with:
13
+
Use GitHub Codespaces to try Azure IoT Operations on a Kubernetes cluster without installing anything on your local machine. The **Azure-Samples/explore-iot-operations** codespace is preconfigured with:
14
14
15
15
-[K3s](https://k3s.io/) running in [K3d](https://k3d.io/) for a lightweight Kubernetes cluster
16
16
-[Azure CLI](/cli/azure/install-azure-cli)
@@ -22,20 +22,24 @@ Use GitHub Codespaces to try Azure IoT Operations on a Kubernetes cluster withou
22
22
23
23
To get started with your codespace:
24
24
25
-
1. Create the codespace in GitHub Codespaces.
25
+
1. Create a codespace in GitHub Codespaces.
26
26
27
-
[](https://codespaces.new/Azure-Samples/explore-iot-operations?quickstart=1)
27
+
[](https://codespaces.new/Azure-Samples/explore-iot-operations?quickstart=1)
28
28
29
29
1. Provide the following details to configure your codespace:
30
30
31
31
| Parameter | Value |
32
32
| --------- | ----- |
33
33
| SUBSCRIPTION_ID | Your Azure subscription ID. |
34
34
| RESOURCE_GROUP | A name for a new Azure resource group where your cluster will be created. Remember the resource group name to use in the following CLI commands. |
35
-
| LOCATION | An Azure region close to you. The following regions are supported in public preview: eastus, eastus2, westus, westus2, westus3, westeurope, or northeurope. Remember the region you choose to use in the following CLI commands. |
35
+
| LOCATION | An Azure region close to you. The following regions are supported in public preview: eastus, eastus2, westus, westus2, westus3, westeurope, or northeurope. Remember the region to use in the following CLI commands. |
36
36
37
37
1. Select **Create new codespace**.
38
38
39
39
1. Once the codespace is ready, select the menu button at the top left, then select **Open in VS Code Desktop**.
40
40
41
41

42
+
43
+
1. In Visual Studio Code, select **View** > **Terminal**.
44
+
45
+
Use this terminal to run all of the command line and CLI commands for managing your cluster.
0 commit comments