Note: Because this is an ongoing series, viewers will not receive a certificate of completion.
Skill Level Intermediate
- [Instructor] Sometimes it's nice to have a reference architecture as a place to start to be able to see how these things can be put together to create different ingestion pipelines or how the services work. Azure has something called the azureiotsolutions.com where you can browse out to and try out couple of these reference architectures. There is one for Connected Factory. There's one for Predictive Maintenance, Device Simulation. If you click on the link, you can click on the Try Now and it'll tell you what services are used for that particular scenario.
For instance, in the Create a Connected Factory Solution, we've got a storage account, we got VMs, we have an IoT hub, which is an ingestion service that lets you register different kinds of devices and be able to then do analytics against the data. It also includes a key vault, a Time Series insights, as well as an app service that gives you a dash board. To create one of these, just put in a solution name. For instance, I'll call this bankoConnectedFactory. Pick your subscription, let me use my free trial.
And then once I do that, I can pick the region, need to accept the use of the map. Let me put this in the East US and then come down, and as soon as it confirms that the name is available, go ahead and click on Create The Solution and what it does then is it goes over and if you click the link, it'll actually give us the provisioning log as it goes out to set that up. And it gives you the information about what it is that it's creating and you can see this inside of Azure. I've already created one more my remote monitor and if I click on that, you can see, it includes a Solution Dashboard where I can run the application and see what it looks like when it's running.
All the different components. For the Remote Monitor, you've got a number of different devices that are simulated and if you look at the charts, you can see temperature, I can see the pressure. I can get different information about the different locations. I can zoom in and as I do this, I can get more information about how this is running. I can see the devices that have been set up to run with this. I've got rules for what I want to go out and run different kinds of responses to things. The management of this is all done inside of Azure, so if I go back over to my Azure IoT Solution and scroll down, you can say, here's my management portal.
This takes me to where I can log into Azure and actually go into that resource group for this and see all of the different components. In here, I've got my storage account. I've got the app service plan. I've got a Cosmos database. And if you wanna see how these things are configured, you can click on the link and it'll tell you more information. For instance, here's our IoT hub, where we've got some monitoring of how this is running so we've got pressure, we've got messages set up to take in data.
If I look at the left-hand side, I can say, here's my device configuration, so here's my IoT devices. I can see the information about what type of device they are. I could add more devices if I wanted to. I've got the ability to query and run information against the data. I can also come back over here and I can say, here's my event hub, which is going to have data flowing through it. I can go in and see how it's configured. I can see what event hubs are provisioned, the different configurations of these.
It's a real great way to be able to see how this stuff all kind of comes together. One of the ones that I'd like to show is the stream analytics jobs because this is going to take the data that's flowing in and then using a SQL query language, it can go out and pull back information about what's running and it uses that to then create those charts and that analytics that we saw on the dashboard. Nice thing about this is that while this is all up and running and I can see it here, I can also, when I'm done with it, just click on Delete Solution and it will then de-provision all of the things that I had and it's all self-contained and if I wanna spin it up later again, I can do that, but it gives you a great opportunity to go out and try it.
You can also go out and you can see all the source code by going into GitHub, and that then lets you actually download and see how they built it and so you can use that to build your own solutions. So that is the Azure IoT Solutions.