Let's assume we own the domain example.com
. In Google Cloud, I would like to achieve the following setup.
There are two Cloud Run services available at api-a.example.com
and api-b.example.com
.
There is a third backend service running in App Engine available at api-c.example.com
.
There are is a dockerized Nginx container with a frontend deployed to App Engine at frontend-a.example.com
. This is the frontend for an internal application used by the employees of our company.
The last service is another dockerized Nginx. It should be available at a wildcard subdomain *.example.com
. If none of the subdomains mentioned above match, the request should land here. We offer a SaaS and each customer has their own subdomain such as client-1.example.com
. These subdomains are indefinite and ever-changing, hence we would like to use a wildcard.
The domain example.com
without subdomain is not used.
Is this possible and if so, how?