Automating Code Reviews with Amazon CodeGuru

Lab Steps

lock
Logging in to the Amazon Web Services Console
lock
Associating Amazon CodeGuru with a CodeCommit Repository
lock
Triggering an Amazon CodeGuru Review
lock
Viewing Amazon CodeGuru Comments

The hands-on lab is part of this learning path

Ready for the real environment experience?

DifficultyBeginner
Time Limit1h
Students153
Ratings
5/5
starstarstarstarstar

Description

Amazon CodeGuru is a machine-learning-powered solution for automating performance reviews and improving application performance. It does by acting both on your code repositories and actual applications, and it currently supports Java code.

When you submit a pull request to a CodeGuru-associated code repository, such as Amazon CodeCommit, CodeGuru will peruse the changes in the pull request and make recommendations based on its own analysis of millions of lines of external code, as comments on your file changes. Additionally, if you deploy CodeGuru as an agent in your application, over time it will make observations and recommendations to help you find and fix code issues such as performance leaks, wasted CPU cycles and more.

In this lab, you'll associate an Amazon CodeCommit repository with CodeGuru and create a pull request to be analyzed.

Lab Objectives 

Upon completion of this lab you will be able to:

  • Be familiar with the basics of Amazon CodeGuru
  • Use CodeGuru to analyze code in a repository

Intended Audience

This lab is intended for:

  • Developers
  • DevOps engineers

Prerequisites

You should be familiar with:

  • Familiarity with the AWS console is helpful but not required

Updates

May 19th, 2022 - Updated the instructions to reflect a specific CodeGuru Reviewer comment in the pull request

April 4th, 2022 - Updated the instructions and screenshots to reflect the latest UI

Environment before
PREVIEW
arrow_forward
Environment after
PREVIEW
About the Author
Students69457
Labs41
Learning paths5

Matt has worked for multiple Fortune 500 companies as a DevOps Engineer and Solutions Architect. He is an AWS Certified DevOps Engineer - Professional, and an AWS Certified Solution Architect - Associate. He enjoys reading and learning new technologies.