Mapping custom domains
As we saw in the previous sections, for each of the Cloud Run services that are deployed, an automatic URL is generated. You might want to map your domain instead of using the generated one. This is possible with the mapping custom domains feature. It requires that you do the following:
- Map a custom domain to a service.
- Add the DNS records to your domain registrar.
If you do not own a domain, you can register a domain with the Cloud Domains service directly from the Cloud Run console.
Note that this feature is only available in a few regions. To find the list of all the supported regions and see the step-by-step procedure for mapping the custom domains, check out https://cloud.google.com/run/docs/mapping-custom-domains.
IAM roles
Access to Cloud Run is secured with IAM. Let's have a look at a list of predefined roles, along with a short description of each:
- Cloud Run admin (
roles/run.admin
): Has the right to create...