I have 10 different APIs across two AWS regions (us-east-1, ca-central-1). Using base path mapping, us-east-1.example.com is serving 5 APIs in US and ca-central-1.example.com is serving the other 5 APIs (API Gateway). Although the backend is running the same code, it was part of the requirement from clients. Our clients are public universities and they want to have their own servers in their own country. For example, the current setup is using Custom Name & base path from API Gateway.
American universities:
us-east-1.example.com/harvard
us-east-1.example.com/stanford
us-east-1.example.com/mit
Canadian universities:
ca-central-1.example.com/ubc
ca-central-1.example.com/bcit
ca-central-1.example.com/waterloo
Is there a way to combine them into a single custom domain using Route 53 like the following?
api.example.com/harvard
api.example.com/ubc
I just talked to an AWS Professional and was told this is not a possible architecture.