Google App Engineの作業メモ

Python 3.7で簡単にWebアプリをデプロイする.

Always Freeの利用枠

GCP の無料枠 - 無料の長期トライアル、Always Free  |  Google Cloud


$ gcloud components install app-engine-python
$ gcloud app deploy
Services to deploy:

descriptor:      [/Users/tkoyama/research/cnfbox-srv/app.yaml]
source:          [/Users/tkoyama/research/cnfbox-srv]
target project:  [cnfbox-dev]
target service:  [default]
target version:  [20191231t235132]
target url:      []

Do you want to continue (Y/n)?  Y

Beginning deployment of service [default]...
Created .gcloudignore file. See `gcloud topic gcloudignore` for details.
╠═ Uploading 601 files to Google Cloud Storage              ═╣
File upload done.
Updating service [default]...done.
Setting traffic split for service [default]...done.
Deployed service [default] to []

You can stream logs from the command line by running:
  $ gcloud app logs tail -s default

To view your application in the web browser run:
  $ gcloud app browse