-1

Getting the following error while trying to deploy using the free tier :

ERROR: (gcloud.app.deploy) Error Response: [13] Flex operation projects/daidish/regions/asia-south1/operations/5cb7dbc1-ce4d-4dd6-b136-141d1b82faff error [INTERNAL]: An internal error occurred while processing task /appengine-flex-v1/insert_flex_deployment/flex_create_resources>2020-05-25T10:04:05.204Z40459.jo.13: Deployment Manager operation daidish/operation-1590401046216-5a6761968fe71-d73da15d-e65f3da7 errors: [code: "RESOURCE_ERROR" location: "/deployments/aef-default-20200525t153043/resources/aef-default-20200525t153043" message: "{\"ResourceType\":\"compute.beta.regionAutoscaler\",\"ResourceErrorCode\":\"403\",\"ResourceErrorMessage\":{\"code\":403,\"errors\":[{\"domain\":\"usageLimits\",\"message\":\"Exceeded limit \'QUOTA_FOR_INSTANCES\' on resource \'aef-default-20200525t153043\'. Limit: 8.0\",\"reason\":\"limitExceeded\"}],\"message\":\"Exceeded limit \'QUOTA_FOR_INSTANCES\' on resource \'aef-default-20200525t153043\'. Limit: 8.0\",\"statusMessage\":\"Forbidden\",\"requestPath\":\"https://compute.googleapis.com/compute/beta/projects/daidish/regions/asia-south1/autoscalers\",\"httpMethod\":\"POST\"}}"

VJR
  • 1

1 Answers1

1

the issue you are facing is due to you have exceeded the limit QUOTA_FOR_INSTANCES. In GCP there are limits that can be requested to be adjusted. Here is the documentation about Quotas in GAE Flex.

For many billing accounts, you are limited to 8 Compute Engine instances (VMs) per project. You can request quota increases through the console.

App Engine in the Flexible environment uses Compute Engine VMs. There are 2 ways you may be consuming these:

  • Multiple deployed versions running concurrently
  • Multiple instances per deployed version.

You should be able to determine this via the App Engine dashboard and/or by listing the Compute Engine instances.

Joss Baron
  • 131
  • 2