Several factories incorporate preventive maintenance policies to avoid wear and tear failures and increase equipment lifetime. However, equipment failures often occur from multiple process factors and are not easily predictable. Industry 4.0 proposes the implementation of condition monitoring (CM) systems reporting alarms when measurements are outside the sensor operational ranges or also by predictive models of equipment failures. In this context there are multiple CM applications, however some of them fall under the exclusivity of their own brand, they simply work for a group of initially configured sensors and do not allow the user to add more devices to the application. For this reason, this work proposes a local Industrial Internet of Things (IIOT) architecture for the collection, by means of the S7 protocol, and transmission, by means of the MQTT protocol, of the sensors measurements from the factory to the cloud. Moreover, a new architecture is proposed in the AWS cloud capable of capturing and storing sensor measurements to a non-sql database. This cloud architecture hosts a CM web interface, which permits visualizing past sensor measurements and in real-time. The CM interface permits the user to add new devices without limitation of brands or communication protocol of the physical equipment. Finally, an alarm system was implemented to operate ranges and risk thresholds.