Cannot have more than 0 builds in queue for the account

0

Hello. I have created - root user and admin user in IAM. (payment method is with active card)

After that i have created CodeCommit repo and CodeBuild project.

Tried to start build and obtain an error

Build failed to start Build failed to start. The following error occurred: Cannot have more than 0 builds in queue for the account

Checked Service Quotas and default is 60 concurrent builds.

  1. What am I doing wrong?

  2. How can i solve this problem without buying support plan ? (current i have free basic support plan)

Thank you in advance

Kris
已提問 1 年前檢視次數 904 次
3 個答案
1
已接受的答案

Hello,

This is difficult to troubleshoot without knowing the account ID.

CodeBuild has an on-demand fleet, which scales based on incoming customer volume. If capacity is not immediately available, CodeBuild tries to queue the builds for additional capacity to be available in the build fleet. The rate at which the builds are processed are determined by your build concurrency limit - which is 0 as per the error message. The default is 60 [1] but this can be lower for new accounts. Did you just create an account? if so, can you please launch an EC2 for a few minutes (a t2.micro should do fine)? Then you can try again your code build at least an hour after.

[1] https://docs.aws.amazon.com/codebuild/latest/userguide/limits.html#service-quotas

Hope it helps,

Jon

profile pictureAWS
專家
已回答 1 年前
1

Thank you Jon. You are absolutely right. After i started EC2 instance, i received message about "Your Request For Accessing AWS Resources Has Been Validated"

And after that - Codebuild started work as expected

Kris
已回答 1 年前
0

Thank you Jon, yesterday i was also facing the same error i even created a support ticket to increase the concurrent build quota which was already 60 . but at the end of the i implemented your solution and it worked for me.

i simply created a t2.micro for 10 mints and then terminated it then after that i re-triggered my build stage and boom....it was working fine Thank jon.

已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南