Skip to content

Compute fleets - MacOSs Insufficient Capacity

0

Hello, I have a code build project set up in the N. Virginia (us-east-1). I am trying to add a MacOS build fleet with one mac OS machine of type Apple M2 8 vCPU, 24 GiB memory. But I keep gettin the status as "Insufficient capacity". We currently do not have the sufficient capacity for the instance type you requested. Please try again later.
What can I do to get past this issue that comes up intermittently ? Is there a service quota that I can request to increase the available mac machines to our service account ?

asked a year ago529 views

1 Answer
0

The "Insufficient capacity" error you're encountering with your macOS build fleet in AWS CodeBuild indicates that AWS currently doesn't have enough available M2 Mac instances in the us-east-1 region to fulfill your request.

This is different from a quota limit issue. When you see "Insufficient capacity," it means that the physical hardware resources (in this case, Apple M2 Mac mini computers that power these instances) are temporarily unavailable in that region, rather than your account hitting a service quota.

To address this issue, you have a few options:

  1. Try again later: Since you mentioned this happens intermittently, the capacity constraints may be temporary. AWS continuously adds capacity, so trying at a different time might resolve the issue.

  2. Try a different instance type: If your workload can run on a different Mac instance type (such as the M2 with 12 vCPUs and 32 GB memory), you could try that configuration instead.

  3. Try a different AWS region: If your workflow allows, you could attempt to create your macOS fleet in another AWS region where CodeBuild supports macOS.

  4. Contact AWS Support: If this is a recurring issue affecting your production workloads, reaching out to AWS Support might help. They can provide more specific guidance based on capacity forecasts and may be able to help with capacity planning.

Unlike some other AWS services where you can request quota increases through Service Quotas, this particular issue is related to physical hardware availability rather than an account limit that can be adjusted through a quota increase request.
Sources
Run builds on reserved capacity fleets - AWS CodeBuild
The Maximum fleet capacity limit was exceeded. Requested: 1, Limit: 0 | AWS re:Post
Amazon EC2 Mac Instances - Amazon Web Services
Add macOS to your continuous integration pipelines with AWS CodeBuild | AWS News Blog

answered a year ago

EXPERT

reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.