Today's industry is increasingly characterized by the integration of Internet of Things (IoT) devices and the rapidly spreading digitization trend, which are also known as the foundations of Industry 4.0. The industrial revolution characterizes our everyday life, as a result of which the integration of smart devices is gaining more and more space in industry as well. As a result of the introduction of Industry 4.0, the implementation of the automation of production processes also becomes an important issue, as well as the continuous collection of data and their storage in the cloud. As a result of these integration, the method of collecting data, the usability of cloud-based systems, the feasibility of artificial intelligence-based data analysis, the visualization of massive amounts of collected data, cybersecurity issues, etc. have become everyday issues. In this article, we provide a detailed overview of a general IIoT (Industrial IoT) system, its various cloud service-based implementations, and present our open-source alternative solution. At the same time, we present the study of the security aspects and the integration of SOC into an IIoT system. Taking these aspects into account, we present two sample applications that try to offer ready to use solutions to certain problems of today's industry.