Skip to content

OpenShift installation

0

i am getting VPC limit issues while installing openshift on AWS EC2 instance.

er-api-guests" name="ocp-qhk9d" reconcileID="98ce2426-e1e6-4ac9-9aee-33dbbb74a806" cluster="openshift-cluster-api-guests/ocp-qhk9d" DEBUG I1111 17:43:57.792918 794859 recorder.go:104] "Failed to create new managed VPC: VpcLimitExceeded: The maximum number of VPCs has been reached.\n\tstatus code: 400, request id: ebfb5a44-8734-45e8-9cbd-e0b56c780ffa" logger="events" type="Warning" object={"kind":"AWSCluster","namespace":"openshift-cluster-api-guests","name":"ocp-qhk9d","uid":"321d59fc-d354-4c6f-ba24-d46f536f6bd3","apiVersion":"infrastructure.cluster.x-k8s.io/v1beta2","resourceVersion":"855"} reason="FailedCreateVPC" DEBUG E1111 17:43:57.815982 794859 controller.go:316] "Reconciler error" err=< DEBUG failed to create new managed VPC: failed to create vpc: VpcLimitExceeded: The maximum number of VPCs has been reached. DEBUG status code: 400, request id: ebfb5a44-8734-45e8-9cbd-e0b56c780ffa

asked a year ago128 views

1 Answer
0

To resolve the VPC limit issue while installing OpenShift on AWS, you need to increase your VPC quota. By default, AWS limits accounts to 5 VPCs per region, and your error message indicates you've reached this maximum.

Here's how to increase your VPC quota:

  1. Open the AWS Service Quotas console
  2. Look for "Amazon Virtual Private Cloud (Amazon VPC)" service (not under Amazon EC2)
  3. Find the "VPCs per Region" quota which has a default value of 5
  4. Request an increase for this quota (you can request up to 15 or more)
  5. Provide a justification for your increase
  6. AWS will review your request and typically respond within a few business days

If you don't see the "VPCs per Region" quota listed in the console, you can open a support case through the AWS Support Center to request the increase.

Note that increasing this quota will also increase the quota on internet gateways per Region by the same amount. AWS allows for hundreds of VPCs per Region, so increasing to a higher limit should be possible to accommodate your OpenShift installation needs.

Once your quota is increased, you should be able to proceed with your OpenShift installation on AWS without encountering the VPC limit error.
Sources
How to increase number of "VPCs per region" from 5 to 15 ? | AWS re:Post
Red Hat OpenShift architecture on AWS - AWS Prescriptive Guidance

answered a year ago

  • i have already got that increased to 50. Utilization Not available Applied account-level quota value 50 AWS default quota value 5 Adjustability Account level

    but still i am getting errors on openshift installer

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.