Archive for April 23rd, 2019

Google Cloud: first create project, then create application

April 23, 2019

It seems quite obvious, first you create a project and eventually the application.
Well, as I could see it is not 100% clear.
If you just create the project, no app can be deployed and you would get something like

Beginning interaction for module default…
Feb 29, 2019 9:45:35 AM com.google.appengine.tools.admin.AbstractServerConnection send1
WARNING: Error posting to URL: https://appengine.google.com/api/appversion/getresourcelimits?app_id=helloworlddummyname-123456&version=1&
404 Not Found
This application does not exist (project_id=u’helloworlddummyname-123456′). To create an App Engine application in this project, run “gcloud app create” in your console.
This is try #0

As by the log, action is clear but some details are missing; here are 2 readymade options :
open Google Cloud Console, select your project and you should see something like this
GoogleCloud_CreateApplication

(clear enough? ;)) press “Create Application” and select the region you prefer
GoogleCloud_CreateApplication2-Region

or run the command from the Google Cloud SDK Shell
gcloud app create --project=[your project id] --region=[a region id]

I went for the cmd line 🙂

read more here “gcloud app creat ” needed permission?

Advertisements