Error: Error creating Instance: googleapi: Error 400: the number of instance cannot exceed the limit

Hi Everyone,

Need assistance on this Apigee issue for guidance, I’m still new in GCP apigee. How can I request for more quota and increase the limit of at least two apigee instances? Please let me know for updates.

2 Likes

Hello jht!

If you are using an evaluation apigee organization you can only provision a single runtime instance. If you want to test multi regional deployments you can configure a PAYG (pay-as-you-go) organization. You can configure your org and then expand to additional regions of choice.

Docs: Multi-Region Expansion

All this can be achieved in the UI, but in summary:

  • You will need additional IP Ranges: /22 and /28 x regions
  • You can update the already configured network peering against google service networking by adding the new region reserved ranges.
  • KMS resources for you new region will be required.
  • After you have both runtime instances provisioned, you can attach an environment to both of them for multi regional API Proxy deployment.
  • Configure a Global External Application Load Balancer: You will need 2 backends pointing to each runtime instance. You can use Private Service Connect Network Endpoint groups to point to a published service. Use each runtime instance service attachment as Target Service.

Let me know if it helps!

2 Likes

can you give me some sample minor terraform script on enabling two apigees? if that’s possible since i already have a terraform script for creating apigee instance it’s just that i can’t create two apigees.

My apologies, how can i change the eval org into a multi-region type “PAYG”. I’ve been trying to search it and i can’t seem to change it.

1 Like

Hello @jht-noworries , you cant transform an eval org into a PAYG org. If you want to work with PAYG, I recommend creating a new project and provisioning Apigee from scratch. If you want to reuse the same project, you need to delete the resources created (associated with apigee) and delete your apigee organization.

If you want to delete your evaluation org: https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations/delete

Consider: For organizations with BillingType EVALUATION, an immediate deletion is performed.

After that (while reusing project or in a new one), you can go ahead and configure apigee payg following this documentation: https://cloud.google.com/apigee/docs/api-platform/get-started/console-select-project

Important Note: Don’t forget that apigee pay as you go can create charges into your configured billing account. For more information, check the following link: https://cloud.google.com/apigee/docs/api-platform/reference/pay-as-you-go-updated-overview

2 Likes

Thanks for your asistance @ricardosm , we hope you find this information helpful @jht-noworries if Ricardo’s answers helped you, don’t forget you can “Accept an answer as a solution”. So othera can identify this information easier