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 video, 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.
Click on the video below to view in details:
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
Extra Credit:
- Codelab → https://goo.gle/3OYjEZS
- Python 2 START ("mod15") code → https://goo.gle/3HWe7kw
- Python 2 & 3 FINISH ("mod16") code → https://goo.gle/3Q5NIUD