Marcel's notes

Connecting to AWS API Gateway with HTTP

I have spent more time than expected trying to connect to AWS API Gateway with HTTP instead of HTTPS.

For the context, we have legacy IoT devices that make outbound connections via HTTP, not HTTPS. On the receiving side, we have a REST API service. The service, deployed via AWS API Gateway and AWS Lambdas, supports only HTTPS, not HTTP.

So how to connect the two?


It turns out you can use AWS CloudFront Distribution to receive HTTP and forward it to the API Gateway. In the most basic setup, it's a few steps. This StackOverflow question contains more info.


Would you like to connect? Subscribe via email or RSS , or follow me on Twitter!