Quotas for AWS CodeBuild - AWS CodeBuild

Quotas for AWS CodeBuild

The following tables list the current quotas in AWS CodeBuild. These quotas are for each supported AWS Region for each AWS account, unless otherwise specified.

Service quotas

The following are the default quotas for the AWS CodeBuild service.

Name Default Adjustable Description
Associated tags per project Each supported Region: 50 No Maximum number of tags you can associate with a build project
Build projects Each supported Region: 5,000 Yes Maximum number of build projects
Build timeout in minutes Each supported Region: 480 No Maximum build timeout in minutes
Concurrent request for information about builds Each supported Region: 100 No Maximum number of builds you can request information about at any one time using the AWS CLI or an AWS SDK.
Concurrent requests for information on build projects Each supported Region: 100 No Maximum number of build projects you can request information about at any one time using the AWS CLI or an AWS SDK.
Concurrently running builds Each supported Region: 60 Yes Maximum number of concurrently running builds
Minimum period for build timeout in minutes Each supported Region: 5 No Minimum build timeout in minutes
Security groups under VPC configuration Each supported Region: 5 No Security groups available for VPC configuration
Subnets under VPC configuration Each supported Region: 16 No Subnets available for VPC configuration

Quotas for the maximum number of concurrent running builds vary, depending on the compute type. For some platforms and compute types, the default is 20. For a new account, the quota can be as low as 5. To request a higher concurrent build quota, or if you get a "Cannot have more than X active builds for the account" error, use the link above to make the request.

Other limits

Build projects

Resource Default
Allowed characters in a build project description Any
Allowed characters in a build project name The letters A-Z and a-z, the numbers 0-9, and the special characters - and _
Length of a build project name 2 to 255 characters, inclusive
Maximum length of a build project description 255 characters
Maximum number of reports you can add to a project 5
Number of minutes you can specify in a build project for the build timeout of all related builds 5 to 480 (8 hours)

Builds

Resource Default
Maximum time the history of a build is retained 1 year
Number of minutes you can specify for the build timeout of a single build 5 to 480 (8 hours)

Reports

Resource Default
Maximum duration a test report is available after it is created 30 days
Maximum length of a test case message 5,000 characters
Maximum length of a test case name 1,000 characters
Maximum number of report groups per AWS account 1,000
Maximum number of test cases per report 500

Tags

Tag limits apply to tags on CodeBuild build projects and CodeBuild report group resources.

Resource Default
Resource tag key names

Any combination of Unicode letters, numbers, spaces, and allowed characters in UTF-8 between 1 and 127 characters in length. Allowed characters are + - = . _ : / @

Tag key names must be unique, and each key can only have one value. A tag key name cannot:

  • begin with aws:

  • consist only of spaces

  • end with a space

  • contain emojis or any of the following characters: ? ^ * [ \ ~ ! # $ % & * ( ) > < | " ' ` [ ] { } ;

Resource tag values

Any combination of Unicode letters, numbers, spaces, and allowed characters in UTF-8 between 0 and 255 characters in length. Allowed characters are + - = . _ : / @

A key can only have one value, but many keys can have the same value. A tag key value cannot contain emojis or any of the following characters: ? ^ * [ \ ~ ! # $ % & * ( ) > < | " ' ` [ ] { } ;