hands-on lab

Manage Authentication with Amazon Cognito
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Lab description

Amazon Cognito is an offering from Amazon Web Services that you can use to manage user accounts. It provides authentication and authorization as well as enabling integrations with SAML and OIDC compatible identity providers.

In this hands-on lab, you will use the Amazon Web Services Management Console to create users, register an application with Amazon Cognito, and test user authentication.

Learning Objectives

Upon completion of this lab you will be able to:

  • Create a Cognito User Pool, and configure it with various policies
  • Create a job to Import users into a User Pool
  • Manually add users into the User Pool
  • Use the AWS SDK to authenticate users


You should be familiar with:

  • Amazon Web Services Management Console
  • Although not required, familiarity with JavaScript and SDKs is preferred
  • A basic understanding of GitHub is also helpful


After completing the lab instructions the environment should look similar to:




January 30th, 2023 - Updated the instructions and screenshots to reflect the latest UI

April 22nd, 2022 - Updated web app in accordance with API change

November 2nd, 2020 - Updated instructions and screenshots to match the updated user interface

January 10th, 2019 - Added a validation Lab Step to check the work you perform in the Lab

About the author
Greg DeRenne
Lab Research dev

Greg has been a consistent high performer for pioneering technologies in the wireless web industries with an illustrious career that is a testament to his breadth of knowledge. Dabbling with MS Azure, at Cloud Academy, Greg really thrives on evangelizing the benefits of Amazon Web Services. A dedicated and passionate professional who learns new and emerging technologies quickly, Greg always ensures the highest quality and caliber of everything he produces.

Covered topics
Lab steps
Logging In to the Amazon Web Services Console
Creating a User Pool
Importing Users to a User Pool
Manually Adding Users to the User Pool
Authenticating using the AWS JavaScript SDK