I am creating a web application which will be sold to customers as white label, meaning the customers will see their domain in the URL but all the traffic will be routed through my servers.
I am using AWS as a host. For each new customer I create a cloudfront distribution but the problem is with the ECS backend, I don't want to create a new cluster for each customer but having the web client and server on different domains gives me a ton of problems. The server uses an SSL certificate so I can't create a route in the customer's domain to point to my server.
Anyone has any idea how I can efficiently create multiple endpoints, each with his own certificate without having to set-up extra instances and ECS clusters?