We are looking at the advent of Industry 4.0.
You might have heard this sentence many times. However, if you ask different experts about the specifics, you hear different answers. Some refer this revolution as autonomous industries , some say digitization  and some simply say that humans will no longer be working and that terminators will take over.
The truth is, in Innovation studies we evaluate the applicability each new technology by a couple of parameters. One of them is the Gartner hype-cycle. Currently, it seems that all aforementioned technologies are at the peak of this hype-cycle and frankly quite close to each other. Therefore, it is unclear which one will lead the revolution.
As an automation and entrepreneurship student, I can help clarify what can most probably derive the Industry 4.0 revolution. Let’s establish one thing, we are working towards less human resources. Every industry is trying to cut their employee cost because they see potential in automation. Nothing against humanity, just a fact. Don’t believe me, check out this piece from the book Factfulness, by Hans Rosling  as the author went to inspect a pill producing company which was selling lesser than the material costs, thus accusing them of fraud. This is how the conversation goes.
However, our industries have been dependent on human labor for centuries and it won’t be easy to replace them. More importantly, the society is not ready to accept such a change. But there is a way this can be achieved incrementally. Let me tell you how:
We know that artificial intelligence (AI) is dependent on data. More the data, the more clever the AI and thus more capable of performing more tasks. Now keep this in mind and turn your attention to the Internet-of-things (IOT)  technology. Imagine all machines in a factory sending data to a common database, regardless of who is operating them. This kind of system is cake for the factory managers and owners. It means that they can monitor their daily production to a micro-level and take more informed business decisions, all while keeping their human work force. This my friend is one of the perks of IOT, easy and plausible. However, the implication is that this humungous data will serve as a gateway for future AI and robotic systems. Thus, creating a passage for total automation in the Industries. Based on this case, I would say IOT will be the one to first show up in our future industries.
Now that you know the importance let’s dive into how we can deploy a cloud based IOT application within minutes.
We shall setup an IOT application on the cloud with the following features.
To begin we shall perform the following tasks on our local computer.
Now that this is done, lets prepare our Google Project. Create a new Google Project then go to API & Services and enable the following by searching.
Next, we will create a Service Account to allow Google App Engine to talk with the IOT Core. Go to IAM & Admin then create a new service account with Editor role. Download the JSON key file and save it at the root of the project we downloaded before.
Now, just fill up the requirements in internal/config.py and viola you have a complete IOT application able to run in the cloud!
We know that data laws require that data from a country should be stored in the same region. You can make that possible by creating two separate projects in GCP. The App Engine, however, can be in any region since it does not store the telemetry data.
I created a small python script testing/goo.py to test the system using a simulated IOT device. You can run this script on any Linux system (I was having trouble with windows though). The script will send random data to the cloud application as your device.
 Andersen, T. J. (2000). Strategic planning, autonomous actions and corporate performance. Long range planning, 33(2), 184-200.
 Muro, M., Liu, S., Whiton, J., & Kulkarni, S. (2017). Digitalization and the American workforce.
 Chen, X., & Han, T. (2019, June). Disruptive Technology Forecasting based on Gartner Hype Cycle. In 2019 IEEE Technology & Engineering Management Conference (TEMSCON) (pp. 1-6). IEEE.
 H. Rosling, Factfulness: Ten Reasons We're Wrong About the World--and Why Things Are Better Than You Think
 Gubbi, J., Buyya, R., Marusic, S., & Palaniswami, M. (2013). Internet of Things (IoT): A vision, architectural elements, and future directions. Future generation computer systems, 29(7), 1645-1660.