Migrating App Engine pull tasks to Cloud Pub/Sub (Module 19)

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 Module 19, the second video focused on App Engine pull tasks, Google engineers Martin & Wesley show developers how to migrate an App Engine app using its legacy Datastore and Task Queues APIs to Cloud NDB and Cloud Pub/Sub.

0:00 – Introduction
1:47 – Migrating to Cloud Pub/Sub
2:29 – Required setup before migrating
5:42 – Updating configuration
7:13 – Updating main application
9:56 – Summary and references

Module 19 references:
Codelab → https://goo.gle/3hYdmf2
Python 2 START (“mod18”) code → https://goo.gle/3ND0x8t
Python 2 FINISH (“mod19”) code → https://goo.gle/3fGGzNv

Other Migration Module references:
All “Serverless Migration Station” resources → https://goo.gle/3EINuh6
Migration Module 2 “App Engine ndb to Cloud NDB” codelab → https://goo.gle/3vhNRuo
Migration Module 2 “App Engine ndb to Cloud NDB” video → https://goo.gle/30xb6pn
Migration Module 18 “Add App Engine pull tasks to NDB Flask apps” codelab → https://goo.gle/3DFDDIY
Migration Module 18 “How to use App Engine pull tasks (Module 18)” → https://goo.gle/3Fv2aCD

App Engine Task Queue:
App Engine Task Queue overview → https://goo.gle/3h8jhky
App Engine pull tasks → https://goo.gle/3UFvACr
App Engine Task Queue pull queue full sample app → https://goo.gle/3X4Oq8B
Creating Task Queue pull queues → https://goo.gle/3Y7OiFG
Google I/O 2011 pull queue launch video → https://goo.gle/3Y0Br8k
Google I/O 2011 Votelator sample app → https://goo.gle/3hLYKSx
queue.yaml reference → https://goo.gle/3VWTYke
queue.yaml vs. Cloud Tasks → https://goo.gle/3BgvD0N
Migrating App Engine Task Queue pull tasks to Cloud Pub/Sub → https://goo.gle/3Fymbby

Cloud Pub/Sub:
Cloud Pub/Sub product page → https://goo.gle/3F9Vp86
Using Pub/Sub client libraries → https://goo.gle/3uuDrbo
Pub/Sub Python client library samples → https://goo.gle/3P9vZfw
Pub/Sub Python client library documentation → https://goo.gle/3Y4CpAk
Create & manage Pub/Sub topics → https://goo.gle/3PfUmYY
Pub/Sub topic naming guidelines https://goo.gle/3VRznOk
Create & manage Pub/Sub subscriptions → https://goo.gle/3HmL9Mm
App Engine (Flexible) sample app (deployable to Standard too; Python 3) → https://goo.gle/3iMpLpK
Repo for sample app above → https://goo.gle/3VTs74j
Pub/Sub pull subscriptions → https://goo.gle/3Y3C2WK
Pub/Sub push subscriptions → https://goo.gle/3Y3EaOe
App Engine Pub/Sub push sample app (Python 3) → https://goo.gle/3FIUyNj
App Engine Pub/Sub push sample app repo → https://goo.gle/3h4PxVD
Pub/Sub pricing information → https://goo.gle/3Y5EDzr
Cloud Tasks or Cloud Pub/Sub? (push vs. pull) → https://goo.gle/3BjaJOF

Google Cloud:
Using 3rd-party libraries with Python 2 App Engine → https://goo.gle/3PcQR5l
Cloud SDK → https://cloud.google.com/sdk

Check out more episodes of Serverless Migration Station → https://goo.gle/ServerlessMigrationStation
Subscribe to Google Cloud Tech → https://goo.gle/GoogleCloudTech


Duration: 00:12:02
Publisher: Google Cloud
You can watch this video also at the source.