I am trying to use SSL/TLS for Python Flask/Waitress server running the ECS Fargate. I haven't found a solution for our use case.
Here are the designs for the ECS Fargate:
- Container will only interacts with backend AWS Lambda
- Public IP disabled, only private ip is enabled.
- No use of load balancer. The Python server is stateful and spinning a new container when requested is more cost effective.
How should I make a HTTPS request from Lambda to the ECS Fargate?