Unit 20: Deploying your App to Google Appengine and Google Cloud SQL
In this Unit we cover how to host your app on Google Appengine, with data stored in Google SQL. This gives you an extremely scalable, and secure, hosting for your application.
- google_cloud_example app: This is the app we upload to the cloud (the README.md is important, and so are the details in
- You need to be running a version of py4web that includes the changes in this PR. Update your py4web to the latest version to get them.
- Google is everywhere… but especially in Los Angeles! Don’t do as I did in my video: do not create the database in Oregon (us-west1); rather, choose Los Angeles (us-west2). For some reason, Google appengine is not available in us-west1, and it is best to keep database and appengine in the same location, to reduce latency.
- The DB machine type I used is db-f1-micro, which is $7.67 / month at the time of writing.