Skip to main content
Creating a cluster on AWS fails, and the cluster logs show:
The preflight report of the cluster can also show [FAIL] VPC quota.

Cause

By default, a cluster managed by Qovery gets its own VPC. AWS limits the number of VPCs per region and per account, with a default quota of 5. When the region already holds as many VPCs as the quota allows, AWS refuses to create one more. The default VPC of the region counts too, as do VPCs left behind by deleted clusters or other tools.

Fix

Pick one of the three options.

Raise the VPC quota

  1. Open the AWS Service Quotas console in the region of the cluster.
  2. Go to Amazon Virtual Private Cloud (Amazon VPC), then VPCs per Region.
  3. Request a higher value. Small increases are often approved automatically within minutes.
  4. Deploy the cluster again from the Qovery Console.

Delete unused VPCs

In the AWS VPC console, list the VPCs of the region and delete the ones nothing uses any more. Check first that a VPC has no running instances, load balancers, NAT gateways or databases. VPCs created by Qovery for deleted clusters carry the tags described in AWS account cleanup.

Deploy the cluster on an existing VPC

When you create the cluster, choose Deploy on my existing VPC in the network settings and give the VPC ID and the subnet IDs. Qovery then creates no new VPC. The VPC must have DNS hostnames enabled and the subnets must carry the tags Qovery needs. See Use your existing VPC and the VPC configuration checks.
The existing VPC option is set when the cluster is created and cannot be changed afterwards.

Check quotas before you create a cluster

Qovery runs preflight checks before it creates an AWS cluster, including the VPC, Elastic IP and EKS quotas of the region. Add the servicequotas:GetServiceQuota permission to the IAM policy used by Qovery so the checks read your real quotas instead of the AWS defaults.

Still stuck?

Contact Qovery support from the Console: click the help button at the bottom right, then Contact Support. You can also post in your dedicated Slack channel. Include the Console URL of the service, the deployment ID or the time of the error, and the error line from the logs. See Help and Support.