hello ,
this is Mohamed saied an embedded software engineer specialized in IoT , as i understand the required is to have a connection with Amazon IoT Service , through Socket programming for the MQTT Broker which based on ESP8266 non OS SDK , i have experience with ESP's and ESP32 FreeRTOS SDK
I can deliver you a robust code and documented for 250 euros + freelancer commision.
Hope to talk to you soon
Thanks in advance