Skip to content

Setup Cognito/AWS Load Balancer Controller

This document describes how to install AWS Load Balancer Controller with AWS Cognito integration to minimal capacity, other options and or configurations may be required for production, and on an app to app basis.

Assumptions

The following assumptions are observed regarding this procedure.

  • ExternalDNS is installed to the cluster and will provide a custom URL for your ALB. To setup ExternalDNS refer to the install instructions.

Cognito Configuration

Configure Cognito for use with AWS Load Balancer Controller using the following links with specified caveats.

AWS Load Balancer Controller Setup

Install the AWS Load Balancer Controller using the install instructions with the following caveats.

  • When setting up IAM Role Permissions, add the cognito-idp:DescribeUserPoolClient permission to the example policy.

Deploying an Ingress

Using the cognito-ingress-template you can fill in the <required> variables to create an ALB ingress connected to your Cognito user pool for authentication.