With Amazon CodeGuru, there are no upfront fees or commitments; you simply pay for what you use.

Free tier - 90 day free trial

You can try Amazon CodeGuru for 90 days at no cost in supported AWS Regions. You will have access to the full feature set during the free trial. You can start your free trial of CodeGuru at any time.

Pricing

Amazon CodeGuru Reviewer

When you enable Amazon CodeGuru Reviewer on your source code repository, you can set it up to perform a scan for every source code pull request made on that repository.

Amazon CodeGuru Profiler

When you enable Amazon CodeGuru Profiler to profile your application, it samples the CPU utilization and latency characteristics of your application runtime to create an application profile. For applications running on Amazon EC2 instances, Amazon ECS, Amazon EKS, AWS Fargate or AWS Lambda each application profile is priced based on the number of sampling hours CodeGuru Profiler performs. One sampling hour is equivalent to running the CodeGuru Profiler agent on one instance or container for one hour. Similarly, if one application is running on two instances or containers for one hour each and the agent is running on these two instances, it will collect 2 sampling hours.

Pricing examples

(All examples are after the 90 day free trial has expired)

Amazon CodeGuru Reviewer

Pricing Example #1

Consider a scenario where you have 50 developers working on code in a repository. Each month they are performing a total of 200 new pull requests, averaging 500 lines per request. They are also making 800 incremental changes to previously analyzed pull requests, averaging 25 lines each. You’d like Amazon CodeGuru Reviewer to perform analysis for every source code pull request and revision made against the repository.

Number of lines analyzed = (200 new PRs * 500 lines of code) + (800 revisions * 25 lines of code) = 120,000

Cost of analyzing code = $0.75 per 100 lines of code * (120,000/100) = $900

In this example, Amazon CodeGuru Reviewer charges for your account for this billing period would be $900, which is the equivalent of $900 / 50 developers = $18 per developer per month.

Amazon CodeGuru Profiler

Pricing Example #1

Consider a scenario where you want CodeGuru Profiler to profile 1 application running on 50 EC2 instances. In this case the profiling group will consist of a single application.

Sampling hours = 1 application * 50 instances * 24 hours per day * 30 days per month = 36,000 sampling hours

In this example, CodeGuru Profiler charges for your account for this billing period would be 36,000 sample hours at a rate of $0.005 per hour, for a total of $180.
 

Pricing Example #2

Consider a scenario where you want CodeGuru Profiler to profile 10 applications, each as a different profiling group, running on EC2 instances with 15 EC2 instances per application.

Sampling hours per profiling group = 1 application * 15 instances * 24 hours per day * 30 days per month = 10,800 sampling hours

In this example, since each of the 10 profiling groups collects under 36,000 sampling hours, CodeGuru Profiler charges for your account for this billing period would be 10,800 sampling hours per profiling group at a rate of $0.005 per hour, multiplied by 10 profiling groups, for a total of $540.

Pricing Example #3

Consider a scenario where you want CodeGuru Profiler to profile a single application running on 70 ECS containers.

Sampling hours = 1 application * 70 instances * 24 hours per day * 30 days per month = 50,400 sampling hours, capped at 36,000 sampling hours per profiling group per month.

In this example, CodeGuru Profiler charges for your account for this billing period would be 36,000 sampling hours at a rate of $0.005 per hour, for a total of $180.

Pricing Example #4

Consider a scenario where you want CodeGuru Profiler to profile an AWS Lambda function which runs for 5 seconds on each invocation and gets invoked 1,000,000 times in a month.

Sampling hours = (5 seconds * 1,000,000 invocations) / 3,600 seconds = 1,388.89 sampling hours

In this example, since the first 500 sampling hours per payer account are free, CodeGuru Profiler charges for your account for this billing period would be 888.89 sampling hours at a rate of $0.005 per hour, for a total of $4.44.

Pricing Example #5

Consider a scenario where you want CodeGuru Profiler to profile two AWS Lambda functions as part of the same profiling group. The first Lambda function runs for 3 seconds on each invocation and gets invoked 10,000,000 times in a month. The second Lambda function runs for 6 seconds on each invocation and gets invoked 20,000,000 times in a month.

Sampling hours = (3 seconds * 10,000,000 invocations + 6 seconds * 20,000,000 invocations) / 3,600 seconds = 41,666.67 sampling hours

In this example, assuming this is all what you profile for AWS Lambda in your account, since the first 500 sampling hours are free for your account, and since we don’t charge beyond 36,000 hours per profiling group, the CodeGuru Profiler charges for your account for this billing period would be (36,000-500)*0.005 = $177.50.

Additional pricing resources

TCO Calculator

Calculate your total cost of ownership (TCO)

AWS Pricing Calculator

Easily calculate your monthly costs with AWS

Economics Resource Center

Additional resources for switching to AWS

Product-Page_Standard-Icons_01_Product-Features_SqInk
See FAQs for additional information

Visit the Amazon CodeGuru FAQs page.

Learn more 
Product-Page_Standard-Icons_02_Sign-Up_SqInk
Sign up for a free account

Instantly get access to the AWS Free Tier. 

Sign up 
Product-Page_Standard-Icons_03_Start-Building_SqInk
Start building in the console

Get started building with Amazon CodeGuru in the AWS Management Console.

Sign in