Custom Domain

Use a custom domain for Kubeflow on AWS

Prerequisite

Before you configure custom domain, you must have read this section to understand ALB with Cognito or OIDC setup.

Using Custom Domain

In the Cognito App client setting page, use https://{YOUR_DOMAIN_NAME}/oauth2/idresponse in the callback URLs. The rest steps are exact same as the steps in this section

Cognito Application Client Setting

After your ingress DNS is ready, you can get ALB hostname by running follow command.

  1. kubectl get ingress istio-ingress -n istio-system
  2. NAME HOSTS ADDRESS PORTS AGE
  3. istio-ingress * a743484b-istiosystem-istio-2af2-1092604728.us-west-2.elb.amazonaws.com 80 4h9m

Go to your domain vendor, create a CNAME in your DNS records and point to this ALB host name.

Custom Domain CNAME

Then you can visit https://www.shanjiaxin.com, which is a custom domain we use in this case, it will redirect you to an authentication page. We added a user kubeflow-test-user in the Cognito setting and we can use this user for the login service.

Kubeflow main page

Feedback

Was this page helpful?

Glad to hear it! Please tell us how we can improve.

Sorry to hear that. Please tell us how we can improve.

Last modified 23.02.2020: Add more details on authn and authz settings for AWS (#1721) (7599a779)