1 00:00:00,300 --> 00:00:02,880 ‫So now let's talk about Amazon Cognito. 2 00:00:02,880 --> 00:00:06,510 ‫And the goal of it is to give user an identity to interact 3 00:00:06,510 --> 00:00:08,580 ‫with a web and mobile application. 4 00:00:08,580 --> 00:00:13,050 ‫So these users usually sit outside of our AWS account, 5 00:00:13,050 --> 00:00:15,750 ‫hence the name Cognito, because it gives an identity 6 00:00:15,750 --> 00:00:18,810 ‫to users that we don't know about yet. 7 00:00:18,810 --> 00:00:22,230 ‫So we have two kind of sub-services within Cognito. 8 00:00:22,230 --> 00:00:24,120 ‫We have the Cognito User Pool, 9 00:00:24,120 --> 00:00:27,420 ‫and this provides a sign-in functionality for app users 10 00:00:27,420 --> 00:00:29,040 ‫and has really good intuition 11 00:00:29,040 --> 00:00:32,520 ‫with API Gateway and the Application Load Balancer. 12 00:00:32,520 --> 00:00:35,850 ‫And we have the Cognito Identity Pool 13 00:00:35,850 --> 00:00:38,250 ‫used to be called Federated Identity. 14 00:00:38,250 --> 00:00:42,840 ‫And this is to actually provide temporary AWS credentials 15 00:00:42,840 --> 00:00:45,810 ‫to users that are registered with our application, 16 00:00:45,810 --> 00:00:49,980 ‫so that they can access some resources of AWS directly. 17 00:00:49,980 --> 00:00:51,150 ‫And there is a good integration 18 00:00:51,150 --> 00:00:53,640 ‫as we'll see with Cognito User Pools. 19 00:00:53,640 --> 00:00:55,950 ‫So if you are asking yourself 20 00:00:55,950 --> 00:00:58,200 ‫don't we already have users in IAM? 21 00:00:58,200 --> 00:00:59,700 ‫The answer is yes, you do. 22 00:00:59,700 --> 00:01:02,070 ‫But Cognito is gonna be for your web 23 00:01:02,070 --> 00:01:05,820 ‫and mobile application users, which sits outside of AWS. 24 00:01:05,820 --> 00:01:09,570 ‫So look for the keywords such as hundreds of users 25 00:01:09,570 --> 00:01:11,970 ‫or mobile users, or authentication 26 00:01:11,970 --> 00:01:16,410 ‫with whatever mechanisms such as SAML and so on. 27 00:01:16,410 --> 00:01:17,280 ‫Okay, that's it. 28 00:01:17,280 --> 00:01:20,253 ‫I hope you liked it and I will see you in the next lecture.