Monthly Archives: October 2020

Journey to the Cloud – Part 1

Started using AWS (Amazon Web Services). I signed up for a free account and they ended up offering me a $300 credit to use until the end of February. You can actually run a small Linux and a Windows Server for free for 12 months even without the credit.

One of the main things I did was load a bunch of Ignition Maker Edition instances. They have LAMP instances (Linux, Apache, MySQL and PHP) that can be loaded and ready to run in a few seconds. They are good for WordPress but also good for Ignition since you don’t need to load another database. The free LAMP is instance is a bit underpowered at 512 MB but I did manage to coax Ignition to run with MySQL shutdown and a second free LAMP instance running MySQL. After the fact, I found out the MySQL JDBC drivers are no longer included with Ignition and is an extra download and install. Most users have moved over the MariaDB which is a Open Source branch of MySQL after Oracle bought it.

I have a weather app that display and trend logs Ottawa data using a free API. Ignition Maker Edition only has Perspective and no Vision module. Perspective makes pages look good on both the desktop and mobile (phone/tablet) screens. I have a custom display for current weather on my phone and desktop.

AWS cloud security is all public encryption key based. There’s no password. You have to have to safely protect the 128 byte SSL file they give you. I am currently working on getting an ESP32 Arduino to communicate to a server, Industry 4.0 style. The real cloud method is to never put up your own server for data acquisition since you need to add account then open ports, configure receiver software, etc. Using a transaction protocol like MQTT, the device can send the secure data directly to the cloud with no server involved. No server to hack and never needs updating. A cloud script can display the device on a web page or log the data.