Migrating App Engine Blobstore to Cloud Storage (Module 16)

1 375
10.2
Next
57 days – 9 2002:02
BigLake in a minute
Popular
Published on 10 Aug 2022, 4:00
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 → goo.gle/3OYjEZS
Python 2 START ("mod15") code → goo.gle/3HWe7kw
Python 2 & 3 FINISH ("mod16") code → goo.gle/3Q5NIUD

Other Migration Module references:
All "Serverless Migration Station" resources → goo.gle/3EINuh6
Migration Module 1 "App Engine webapp2 to Flask" codelab → goo.gle/3QlkMaV
Migration Module 1 "App Engine webapp2 to Flask" video → goo.gle/3zwU1aH
Migration Module 2 "App Engine ndb to Cloud NDB" codelab → goo.gle/3B2XFuZ
Migration Module 2 "App Engine ndb to Cloud NDB" video → goo.gle/30xb6pn
Migration Module 15 "How to use App Engine Blobstore" codelab → goo.gle/3BJQevC
Migration Module 15 "How to use App Engine Blobstore" video → goo.gle/3oUsoWd

App Engine Blobstore and Cloud Storage references:
Python 2 Blobstore usage guide → goo.gle/3btkLms
Python 2 Blobstore API reference → goo.gle/3Q0vpjP
Python 2 Blobstore API auxiliary reference → goo.gle/3BEdpY9
Python 3 Blobstore usage guide → goo.gle/3BMFTix
Python 3 Blobstore API reference → goo.gle/3P0k9Co
Python 3 Blobstore API auxiliary reference → goo.gle/3d7CLn1
Migrate to Cloud Storage → goo.gle/3Sp2tU1
Cloud Storage client libraries → goo.gle/3JxiHqf
Cloud Storage documentation → goo.gle/3oWndF8

Other related Cloud and external references:
Using 3rd-party libraries with Python 2 App Engine → goo.gle/3zYwxPc
Long-term support for Python 2 and other legacy runtimes → goo.gle/3oSJ5RS
Original Python 2.5 App Engine runtime webapp framework → goo.gle/3SoZxXv
Python 2.7 App Engine runtime webapp2 framework → goo.gle/3xdsnz3
Python 2.5 App Engine runtime and webapp deprecation → goo.gle/3OXTvtV
Migrating to Cloud NDB → goo.gle/3vFJ0ok
Cloud NDB client library → goo.gle/3ykHkPU
Flask → goo.gle/3jCdKkR
Cloud client libraries → goo.gle/3Sp4ZK1
Cloud SDK and gcloud CLI → goo.gle/3bvvaOx

Check out more episodes of Serverless Expeditions → goo.gle/ServerlessExpeditions
Subscribe to Google Cloud Tech → goo.gle/GoogleCloudTech

#ServerlessExpeditions
autotechmusickids