This article shows basic tutorial for flexible environment of Google App Engine(GAE) on Google Computing Platform(GCP).
🎳 Advanced Preparation
Download and install Google Cloud SDK:
https://cloud.google.com/sdk/docs/
# 初期化 |
😸 Quick Start
Create Dockerfile
Create Dockerfile
with listing port 8080
.
Create app.yml
Create gcloud-app.yml
.
runtime: custom |
More Detail:
- https://cloud.google.com/appengine/docs/flexible/custom-runtimes/configuring-your-app-with-app-yaml
- https://cloud.google.com/appengine/docs/flexible/custom-runtimes/build
Deploy the app
# build docker image |
Browse the app
gcloud app browse |
🎃 References
🖥 Recommended VPS Service
VULTR provides high performance cloud compute environment for you.
Vultr has 15 data-centers strategically placed around the globe, you can use a VPS with 512 MB memory for just $ 2.5 / month ($ 0.004 / hour).
In addition, Vultr is up to 4 times faster than the competition, so please check it => Check Benchmark Results!!