Manage Authentication with Amazon Cognito

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

The hands-on lab is part of these learning paths

Ready for the real environment experience?

Time Limit1h


Lab Overview

In this Lab you will log into the Amazon Web Services Management Console. You will use the console for Cognito to create a User Pool, register an application with the User Pool, create a job to import users into the pool (bulk-add) and add users manually. You will also use the Amazon SDK to test authentication of users you previously added to the pool.

Lab 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

Lab Prerequisites

You should be familiar with:

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

Lab Environment

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




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 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.