My managed VM was deployed and working fine. Then about a week ago it stopped working and started returning 500 for all requests. This is an Ubuntu container which is running a flask application.
The instances where showing as "restarting" in the developer console, but they were stuck that way for along time. When I tried deleting the instances I got an error messages saying the instances could not be deleted.
I tried to deploy the app again. The image creation process was a success, after which I got this error
Updating service [abc]...failed.
ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: The following quotas
were exceeded: BACKEND_SERVICES (quota: 0, used: 0 + needed: 1),
IN_USE_ADDRESSES (quota: 0, used: 0 + needed: 2), INSTANCES (quota:
0, used: 0 + needed: 2).
The app has billing enabled, and a working credit card attached. There are not pending invoices. Does anyone know why this happens?