Skip to content

Commit 84b15ba

Browse files
Merge pull request #313454 from barnstee/main
Update tutorial with latest VM deployment changes.
2 parents 8a052fa + 249bb0d commit 84b15ba

1 file changed

Lines changed: 5 additions & 29 deletions

File tree

articles/iot/tutorial-iot-industrial-solution-architecture.md

Lines changed: 5 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -107,37 +107,20 @@ Select the **Deploy** button to deploy all required resources to your Azure subs
107107
The deployment process prompts you to provide a password for the virtual machine (VM) that hosts the production line simulation and the Edge infrastructure. The password should include three of: a lowercase character, an uppercase character, a number, and a special character. The password length must be between 12 and 72 characters.
108108

109109
> [!NOTE]
110-
> To reduce cost, the deployment creates a single Windows 11 Enterprise VM for both the production line simulation and the Edge infrastructure. In a production scenario, the production line simulation isn't required, and for the base OS you should use Windows IoT Enterprise Long Term Servicing Channel.
111-
112-
When the deployment completes, use RDP to connect to the deployed Windows VM. You can download the RDP file from the **Connect** options on the page for your VM in the Azure portal. Sign in using the credentials you provided during the deployment, open a Windows command prompt, and use the following command to install the Windows Subsystem for Linux (WSL):
113-
114-
```cmd
115-
wsl --install
116-
```
117-
118-
When the command finishes, reboot your VM and sign in again. A command prompt finishes the WSL installation and you're prompted to enter a new username and password for WSL. Then, in WSL, use the following command to install K3S, a lightweight Kubernetes runtime:
119-
120-
```bash
121-
curl -sfL https://get.k3s.io | sh
122-
```
123-
124-
Your VM is now ready to run the production line simulation.
110+
> To reduce cost, the deployment creates a single Linux VM for both the production line simulation and the edge infrastructure. In a production scenario, the production line simulation isn't required, and for the base OS you should use Azure Local.
125111
126112
## Run the production line simulation
127113

128-
In the VM, open a Windows command prompt, enter *wsl*, and press **Enter**. Navigate to the `/mnt/c/ManufacturingOntologies-main/Tools/FactorySimulation` directory and run the **StartSimulation** shell script:
114+
Use SSH to connect to the deployed VM using the credentials you provided during the deployment (you may need to enable Just-in-time access in the Azure portal first). Navigate to the `/opt/ManufacturingOntologies-main/Tools/FactorySimulation` directory and run the **StartSimulation** shell script:
129115

130116
```bash
131117
sudo ./StartSimulation.sh "<Your Event Hubs connection string>"
132118
```
133119

134120
`<Your Event Hubs connection string>` is your Event Hubs namespace connection string. To learn more, see [Get an Event Hubs connection string](/azure/event-hubs/event-hubs-get-connection-string). A connection string looks like: `Endpoint=sb://ontologies.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=abcdefgh=`
135121

136-
> [!NOTE]
137-
> If the external IP address for a Kubernetes service shows as `<pending>`, use the following command to assign the external IP address of the `traefik` service: `sudo kubectl patch service <theService> -n <the service's namespace> -p '{"spec": {"type": "LoadBalancer", "externalIPs":["<the traefik external IP address>"]}}'`.
138-
139122
> [!TIP]
140-
> To prevent WSL and K3s from automatically shutting down, keep your WSL command prompt open.
123+
> If the external IP address for some Kubernetes services shows as `<pending>`, use the following command to assign the external IP address of the `traefik` service: `sudo kubectl patch service <theService> -n <the service's namespace> -p '{"spec": {"type": "LoadBalancer", "externalIPs":["<the traefik external IP address>"]}}'`.
141124
142125
## UA Cloud Library
143126

@@ -198,16 +181,9 @@ edges
198181

199182
## Optionally deploy Azure IoT Operations on the edge
200183

201-
By default, the production line simulation sends data directly to the **data** hub endpoint in your Event Hubs namespace.
202-
203-
To manage this process, you can use Azure IoT Operations on the edge instead. Azure IoT Operations is a unified data plane for the edge. It includes a set of modular, scalable, and highly available data services that run on Azure Arc-enabled edge Kubernetes clusters.
204-
205-
Before you deploy Azure IoT Operations, confirm that you started the production line simulation. Then, follow these steps in [Azure IoT Operations deployment details](/azure/iot-operations/deploy-iot-ops/overview-deploy).
206-
207-
> [!TIP]
208-
> You can use VM and K3S instance you deployed previously in this tutorial to deploy and run Azure IoT Operations.
184+
You can use Azure IoT Operations on the edge. Azure IoT Operations is a unified data plane for the edge. It includes a set of modular, scalable, and highly available data services that run on Azure Arc-enabled edge Kubernetes clusters.
209185

210-
### Configure your Azure IoT Operations deployment
186+
Follow these steps in [Azure IoT Operations deployment details](/azure/iot-operations/deploy-iot-ops/overview-deploy).
211187

212188
You can configure your Azure IoT Operations deployment by using the [operations experience](https://iotoperations.azure.com/) web UI. Add the asset endpoints, assets, and data flows to process the data from the production line simulation and route it to the **data** hub in your Event Hubs namespace.
213189

0 commit comments

Comments
 (0)