1 00:00:00,000 --> 00:00:00,833 ‫So now let's talk 2 00:00:00,833 --> 00:00:03,780 ‫about how Lambda and CodeGuru work together. 3 00:00:03,780 --> 00:00:06,690 ‫So by using CodeGuru Profiler, you're going to get insights 4 00:00:06,690 --> 00:00:09,750 ‫into the runtime performance of your Lambda functions. 5 00:00:09,750 --> 00:00:11,850 ‫For this, when you make it work, 6 00:00:11,850 --> 00:00:14,850 ‫CodeGuru is going to get a profiler group 7 00:00:14,850 --> 00:00:16,590 ‫for your Lambda function 8 00:00:16,590 --> 00:00:19,200 ‫and that is supported for Java and Python runtimes. 9 00:00:19,200 --> 00:00:21,450 ‫And to just activate the CodeGuru integration, 10 00:00:21,450 --> 00:00:24,540 ‫you just activate it from the Lambda console. 11 00:00:24,540 --> 00:00:25,470 ‫So out of this, 12 00:00:25,470 --> 00:00:27,390 ‫we're going to get runtime performance insights 13 00:00:27,390 --> 00:00:28,680 ‫for Lambda functions. 14 00:00:28,680 --> 00:00:31,200 ‫And when you activate this integration, 15 00:00:31,200 --> 00:00:34,980 ‫this profiling, CodeGuru Profiler layer is going to be added 16 00:00:34,980 --> 00:00:37,530 ‫to your function as a Lambda layer. 17 00:00:37,530 --> 00:00:39,090 ‫The environment variables related 18 00:00:39,090 --> 00:00:41,850 ‫to CodeGuru will be added to your function. 19 00:00:41,850 --> 00:00:44,700 ‫And finally, for this to fully work, of course, 20 00:00:44,700 --> 00:00:46,320 ‫you need to have IAM permissions. 21 00:00:46,320 --> 00:00:50,430 ‫And so this AmazonCodeGuruProfilerAgentAccess policy 22 00:00:50,430 --> 00:00:53,040 ‫will be added to the function IAM role. 23 00:00:53,040 --> 00:00:54,300 ‫So hopefully that makes sense. 24 00:00:54,300 --> 00:00:57,300 ‫I hope you liked it, and I will see you in the next lecture.