App Engine Flexible Deployment Issue: 403 Resource Error

Solution 1:

I have tried to create an App in GAE Flex in asia-east2, but every time I try with this location, it fails, but this is due to my organization restrictions. I have created the app and successfully deployed in the region asia-northeast1.

Lets start narrowing down our issue: according to the GAE location documentation:

  1. Once you have chosen the location for the App it can not be changed.
  2. The asia-east2 should be a correct location.

We can discard the location given that your app has been correctly created. (Creating the app is different than deploying the app).

I would like to mention that GAE in the Flex environment does not use the tag instance_class: F1 in the app.yaml. Instead, and according to the app.yaml documentation, you have ti use resources, indicating cpu, memory_gb, disk_size_gb.

It is well worth to make sure your components are in the last version. To ensure this please run 'gcloud components update'.

I have also checked the GCP dashboard status to check if there was an outage with GAE, but it is just OK.

Your permissions seems to be OK. You have the owner role which is enough to deploy an app in GAE, and your Quotas are just OK

In order to discard code-issues, I would suggest:

  1. Run the Quickstart NodeJS GAE Flex in a new Project.
  2. In the step 1 is required to create an App, with the command gcloud app create --project=[YOUR_PROJECT_ID]. Please, be sure this step finishes OK.
  3. Deploy your app.

I would add a last suggestion. Is there a chance for you to make a test without your organization? Just to discard that the issue is there?

If you face the same issue, it will worth to create a Private Issue in the Public Issue Tracker in the GAE section. There, given that is private, you can share more information, so they can prove further help.