title: Why deploying a spring boot (Java) application to Googles App Engine gives error for both Flexible and Standard environment?
body: <p>It is a Spring boot Java application using Maven.
  I am using Intelij for developement.</p>
  <p>I am availing $300 as I got by default from GCP and using it.</p>
  <p>For a flexible environment, the app.yaml configuration is</p>
  <pre><code>runtime: java
  env: flex
  </code></pre>
  <p>Error as below: The requested amount of instances has exceeded GCE's default quota</p>
  <pre><code>[INFO] GCLOUD: ERROR: (gcloud.app.deploy) Error Response: [8] Flex operation projects/dqnews/regions/asia-south1/operations/c9221a49-6939-4778-88a8-01f73f444cce error [RESOURCE_EXHAUSTED]: An internal error occurred while processing task /app-engine-flex/insert_flex_deployment/flex_create_resources&gt;2020-11-23T13:30:57.284Z11582.fw.0: The requested amount of instances has exceeded GCE's default quota. Please see https://cloud.google.com/compute/quotas for more information on GCE resources
  </code></pre>
  <p>When I using a Standard enviorment</p>
  <pre><code>runtime: java
  env: standard
  </code></pre>
  <p>The Error showing as below</p>
  <pre><code>Java 6 applications are prevented from being deployed to Google App Engine from any version of the SDK, including older ones. If you need to continue to deploy Java 6 applications for compatibility reasons, you can request that your application be whitelisted for Java 6 deployment by visiting
  </code></pre>
  <p>Here is the links for Quotas:<a href="https://cloud.google.com/appengine/quotas" rel="nofollow noreferrer">free quotes</a></p>
  <p>It would be great to get help in detail.</p>
  <ol>
  <li>If I need to increase my quotes, how and which component to be increased ?</li>
  <li>What will be the app.yaml configuration for standard/flexible, if I have mentioned wrong?</li>
  <li>Why Java 6 Error is coming ?</li>
  </ol>