Google Cloud IN_USE_ADDRESSES Quota Exceeded – Solutions

google-cloud-platformgoogle-compute-engine

I am spending the past 3 hours of finding ways to release Google Compute Engine API In-use IP addresses as I have 8/8 in use. I googled, read the manuals but there is no way of releasing it anywhere in the console. I am trying to setup a Rails app. When compiling it got stuck with errors as I didn't provide the correct socket for DB (which doesn't really matter here). When getting stuck I released with hitting Ctrl+C in my terminal and that I assume is the issue. – I am brand new to Google Cloud, hence I can only assume.

The error message:

ERROR: (gcloud.app.deploy) Error Response: [400] The following quotas were exceeded: IN_USE_ADDRESSES (quota: 8, used: 8 + needed: 2).
https://appengine.googleapis.com/v1/apps/workepics/services/default/versions?alt=json

Here visualised in the console:
enter image description here

When I click within the console on compute engines I am only being asked if I want to create one. There is no other option.

Any help would be appreciated! Thank you.

Best Answer

I can't take full credit for this answer - I just remembered this one - but a deployment to Google's cloud leaves the old deployment in place (and thus using an IP and your hard-earned money) indefinitely.

Deployments can be triggered with --stop-previous-version to prevent this behavior, and you can use list and stop to find and remove the old deployments so they no longer use resources.

Related Topic