Serverless Migration Station is a Serverless Expeditions mini-series, focused on helping developers modernize their applications running on a Google Cloud serverless compute platform. In this Module 16, the second video focused on App Engine Blobstore, Google engineers Martin & Wesley show developers how to migrate an App Engine app using its legacy Python NDB (Datastore) and Blobstore APIs. They also cover the webapp2 framework to Cloud NDB & Cloud Storage, the Flask framework, and upgrading to an app that’s both Python 2 & 3 compatible.
Chapters:
0:00 – Introduction
0:45 – FOUR migrations?!?
2:21 – Preparing for the migrations
2:39 – Updating configuration
3:59 – Required package updates
5:01 – Updating Datastore access
5:31 – Updating upload & download handlers
6:18 – Updating the main handler
6:42 – Validating the migrations
7:21 – There’s one more thing…
8:28 – Summary and references
Module 16 references:
Codelab → https://goo.gle/3OYjEZS
Python 2 START ("mod15") code → https://goo.gle/3HWe7kw
Python 2 & 3 FINISH ("mod16") code → https://goo.gle/3Q5NIUD
Other Migration Module references:
All "Serverless Migration Station" resources → https://goo.gle/3EINuh6
Migration Module 1 "App Engine webapp2 to Flask" codelab → https://goo.gle/3QlkMaV
Migration Module 1 "App Engine webapp2 to Flask" video → https://goo.gle/3zwU1aH
Migration Module 2 "App Engine ndb to Cloud NDB" codelab → https://goo.gle/3B2XFuZ
Migration Module 2 "App Engine ndb to Cloud NDB" video → https://goo.gle/30xb6pn
Migration Module 15 "How to use App Engine Blobstore" codelab → https://goo.gle/3BJQevC
Migration Module 15 "How to use App Engine Blobstore" video → https://goo.gle/3oUsoWd
App Engine Blobstore and Cloud Storage references:
Python 2 Blobstore usage guide → https://goo.gle/3btkLms
Python 2 Blobstore API reference → https://goo.gle/3Q0vpjP
Python 2 Blobstore API auxiliary reference → https://goo.gle/3BEdpY9
Python 3 Blobstore usage guide → https://goo.gle/3BMFTix
Python 3 Blobstore API reference → https://goo.gle/3P0k9Co
Python 3 Blobstore API auxiliary reference → https://goo.gle/3d7CLn1
Migrate to Cloud Storage → https://goo.gle/3Sp2tU1
Cloud Storage client libraries → https://goo.gle/3JxiHqf
Cloud Storage documentation → https://goo.gle/3oWndF8
Other related Cloud and external references:
Using 3rd-party libraries with Python 2 App Engine → https://goo.gle/3zYwxPc
Long-term support for Python 2 and other legacy runtimes → https://goo.gle/3oSJ5RS
Original Python 2.5 App Engine runtime webapp framework → https://goo.gle/3SoZxXv
Python 2.7 App Engine runtime webapp2 framework → https://goo.gle/3xdsnz3
Python 2.5 App Engine runtime and webapp deprecation → https://goo.gle/3OXTvtV
Migrating to Cloud NDB → https://goo.gle/3vFJ0ok
Cloud NDB client library → https://goo.gle/3ykHkPU
Flask → https://goo.gle/3jCdKkR
Cloud client libraries → https://goo.gle/3Sp4ZK1
Cloud SDK and gcloud CLI → https://goo.gle/3bvvaOx
Check out more episodes of Serverless Expeditions → https://goo.gle/ServerlessExpeditions
Subscribe to Google Cloud Tech → https://goo.gle/GoogleCloudTech
#ServerlessExpeditions