The requested region is currently out of capacity for the requested instance size

I am attempting to provision an M10 60gb cluster in the ap-southeast-2 region and end up with this error in my terraform.

│ Error: error creating MongoDB Cluster: POST https://cloud.mongodb.com/api/atlas/v1.0/groups/64b0c9XXXXXXXc45372d56/clusters: 409 (request "OUT_OF_CAPACITY") The requested region is currently out of capacity for the requested instance size.
│ 
│   with module.vpc.mongodbatlas_cluster.mongo_db_cluster,
│   on ../modules/aws_network/main.tf line 267, in resource "mongodbatlas_cluster" "mongo_db_cluster":
│  267: resource "mongodbatlas_cluster" "mongo_db_cluster" {

Is this a lack of resources in MongoDB Cloud or an issue with my account and resource capacity?

Hi :wave: @Tony_Edward,

Welcome to the MongoDB Community!

This error message indicates that the chosen cloud provider (AWS, Azure, GCP) currently does not have the capacity to deploy the instance size in the selected region.

The workaround is to wait a few minutes and try to deploy the cluster again. Cloud providers are aware of the capacity issue and are actively working on it.

Another option is to select a different instance size (a higher-tiered cluster) or a different region for deploying the cluster until the capacity issue is resolved. You can later modify the cluster to scale back down to your preferred instance size and region.

I hope it helps!

Regards,
Kushagra

1 Like