How to Build IIoT (AWS, Database and OPC UA Integration)
Overview
IIoT is IoT in the industrial field
IIoT (Industrial Internet of Things) is a system for collecting and analyzing equipment operation data, quality data and production results obtained from PLCs and sensors over a network.
In recent years there are more and more cases of using manufacturing data in cooperation with clouds such as AWS and Azure.
Here we introduce the following three of the ways to accumulate PLC data on a network
- Connect to the cloud and exchange data
- Connect to a database and insert data
- Connect via OPC UA and read data from a PC
Connecting to the cloud
Target cloud
| AWS | Amazon |
Connecting to AWS via MQTT
Here we connect to AWS via MQTT and send and receive data
Inserting into DynamoDB
Here we insert data into AWS DynamoDB
Connecting to a database
![]() | Oracle |
![]() | SQL Server |
![]() | DB2 |
![]() | MySQL |
![]() | Firebird |
![]() | PostgreSQL |
Connecting to MySQL
Here we insert data into MySQL
Connecting with OPC UA
Connecting via OPC UA
Here we connect using a PC application (UaExpert), a mobile app and the Python OPC UA library (FreeOpcUa)
FAQ
What is the difference between IIoT and IoT?
IIoT is IoT for manufacturing, aimed at collecting data from PLCs and industrial equipment.
Can a PLC connect directly to the cloud?
Yes, using AWS IoT Core, Azure IoT Hub or similar.
Should I use OPC UA or MQTT?
OPC UA is common for real-time monitoring and MQTT for cloud integration.





