I think it would be extremely valuable if someone could post and example code connecting esp8266 nodemcu with IoT AWS Mqtt services. I've done research over internet but all the solutions that i've came across uses the C SDK presented by AWS or Mongoose or similar. But none of them uses properly MQTT NodeMCU Lua libraries to accomplish that. It's not straighforward in this case, because i think AWS needs some extra certificate logic before establishing the connection, as oppose to Azure (in that case the connection is straighforward and simple).
I'm sure that this example would be very useful for many people, especially the following years with the new powerful esp32 around. Has someone worked on this? Please post your code if so.. We'll appreciate that.
Any comments would help also, even if you don't have the code but have experience with this platforms.