The Streaming Data Simulator is a very powerful tool for testing out an architecture in a virtual environment. The Simulator uses Node-Red to create digital twins of all the Device Types that represent the different types of data being collected in the Architecture. It also creates a node in Node-Red for every compute node in every node group that represents the mqtt queue on that compute node. The user can configure the data generated by each Device Type and simulate data flowing into mqtt to perform an end-to-end test of the architecture.
To access the Simulator, you need to install a VPN client on your local machine. Here are the instructions:
How to Setup the Wireguard VPN to access your Simulation
Step 1:
Install the wireguard client on your computer.
Wireguard is available for download from https://www.wireguard.com/install/ for Windows, macOS and linux.
macOS
- There are two options. You can install the UI client from the Apple app store. Or you can install the basic CLI using HomeBrew or MacPorts.
Linux
- For Ubuntu can you run the command “sudo apt install wireguard”. See the Wireguard installation page for other distributions.
Windows
- The windows installer can be downloaded from here.
Step 2:
Download theTunnel Configuration for your deployment from the Pratexo Design Studio that is associated with your deployment. There will be a link in your Deployment listing that you can click on to access the configuration file.
The configuration file will look similar to the following:
[Interface]
PrivateKey = sFuVjmRfZYbczpP0gEcZp5pH9EDy4bw33m2B0EMFvlo=
Address = 10.2.1.3/24
MTU = 1380
[Peer]
PublicKey = tcajcQ/xUHTl/R94vmWqgzwUxzgiEPQBLiB4DbnQJQQ=
Endpoint = 34.150.141.134:51820
AllowedIPs = 10.2.1.0/24,10.0.0.0/16,10.1.0.0/16
You do not need to modify this file. Simply import the file by clicking on the "Import tunnel(s) from file" button, when you see this screen:
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article