Background: SaaS company here. Each of our customers is going to receive their own private ec2 instance containing their own copy of one or more of our apps. The plan is for customers to be able to sign up on our site and automatically launch the ec2 instance via the AWS ec2 api.
My question is: How can we begin routing them to their instance as soon as it's been set up? (I don't want to give non-tech people an IP address and have to explain to them that they need to use it until their custom subdomain propagates.)
As far as urls go, either of these two methods would be acceptable (but I'd prefer the first):
How would I go about routing traffic via one of these two URL set-ups to the customer's newly launched ec2 instance?