Using Your Own Custom External Domain with AWS Cognito
You can use your own domain with Amazon for authentication. For this tutorial, I am going to use an external domain and not use route 53.
So, basically, you can set up a custom domain using route 53 or use another external provider for DNS management. As I already have a purchased domain and I was using another external provider for DNS management, it does not make sense to start all over again using route 53, so we are going to set up our Cognito with another external provider. I believe there are a lot of people in my situation.
Strategy
- Create an AWS Certificate Manager (ACM);
- Add the created domain to Cognito Domain Name;
AWS Certificate Manager (ACM)
You need to have an SSL/TLS certificate to be able to use your own domain in AWS.
1 — Select the Virginia region. AWS only supports Virginia to request certificates.
“you must request or import the certificate in the US East (N. Virginia) region”
1 — AWS Certificate Manager (ACM);
3 — In Provision certificates select Get Started;
4 — Now you can import your certificate or request a public certificate for free. I am going to…