I want to connect an external gateway which recieves data from mqtt devices to my AWS IoT Core.
In this picture you can find (more or less) an overview of the project.
To summarize, I would like to connect the IoT Gateway of the previous picture to AWS IoT Core.
I have seen a lot of examples about similar topics, but in none of them I can find what I want to do.
Is it possible to do it only by knowing the hostname/endpoint of my AWS cloud account and put it in my getaway to send data to that host?
How can I find my AWS hostname/endpoint? Is this valid: aws iot describe_endpoint?
After putting the host name in the external gateway I will create the subscription in the IoT Core.
The most similar tutorial that I have found was this:
https://aws.amazon.com/es/blogs/iot/how-to-bridge-mosquitto-mqtt-broker-to-aws-iot/
But instead of build a bridge between Mosquitto and AWS IoT, I will send directly the data from the gateway to AWS IoT.
If this is not the correct way, How I should do it?
Thanks!