Select Language:
If you’re using AWS CodeBuild and finding that your builds are stopping earlier than expected, even though you’ve set a longer timeout, here’s a simple way to address the issue.
AWS CodeBuild allows you to set build timeouts anywhere from 5 minutes up to 36 hours (2,160 minutes). You can specify the timeout when creating your project, and you also have the option to update this at any time through the project settings. Additionally, if needed, you can override the timeout during the actual build process.
However, some users have noticed that even when they set a 3-hour (180 minutes) timeout, the builds often end after only about 45 minutes. This isn’t a typical or documented behavior for CodeBuild—it should normally follow the timeout value you’ve set or overridden during the build.
To troubleshoot, ensure that:
1. Your project is correctly set with a 180-minute timeout.
2. Your account’s quotas support the full range of 5 to 2,160 minutes.
3. No overrides are accidentally being applied during builds.
If all these points are correct but your builds still end early, the issue might be on AWS’s side. The best next step is to contact AWS Support and explain the problem. They can look into your project configuration, review build logs, and check if any backend settings are causing this mismatch.
While waiting for support assistance, double-check whether any organization policies or account restrictions—such as AWS Organizations service control policies—might be limiting the timeout options for your account. Sometimes, broader account policies can interfere with specific service settings.
By following these steps, you can better determine whether the problem is related to your configuration or something on AWS’s side, and get it sorted out faster.



