You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 1, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+40-30Lines changed: 40 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ Codelabs begin with a "START" code base then walks developers through that migra
7
7
8
8
> **NOTE:** These migrations are *only* for those with Python 2 (2.7) App Engine apps.
9
9
> 1.*Python 3.x App Engine users*: You're *already* on the next-gen platform, so there's no need for you to be here unless you help 2.x developers migrate.
10
-
> 1.*Python 2.5 App Engine developers*: to revive apps on the original 2.5 runtime, [deprecated in 2013](http://googleappengine.blogspot.com/2013/03/python-25-thanks-for-good-times.html) and [shutdown in 2017](https://cloud.google.com/appengine/docs/standard/python/python25), you must [migrate from `db` to `ndb`](http://cloud.google.com/appengine/docs/standard/python/ndb/db_to_ndb) before attempting these migrations.
10
+
> 1.*Python 2.5 App Engine users*: to revive apps from the original 2.5 runtime, [deprecated in 2013](http://googleappengine.blogspot.com/2013/03/python-25-thanks-for-good-times.html) and [shutdown in 2017](https://cloud.google.com/appengine/docs/standard/python/python25), you must [migrate from `db` to `ndb`](http://cloud.google.com/appengine/docs/standard/python/ndb/db_to_ndb) and get those apps running on Python 2.7 before attempting these migrations.
11
11
12
12
13
13
## Prerequisites
@@ -21,7 +21,7 @@ Codelabs begin with a "START" code base then walks developers through that migra
21
21
22
22
## Cost
23
23
24
-
App Engine is not a free service. While you may not have needed to enable billing in App Engine's early days, [all applications now require an active billing account](https://cloud.google.com/appengine/docs/standard/payment-instrument) backed by a financial instrument (usually a credit card). Don't worry, App Engine (and other GCP products) still have an ["Always Free" tier](https://cloud.google.com/free/docs/gcp-free-tier#always-free), and as long as you stay within those limits, you won't incur billing. Also check the App Engine [pricing](https://cloud.google.com/appengine/pricing) and [quotas](https://cloud.google.com/appengine/quotas) pages for more information.
24
+
App Engine is not a free service. While you may not have needed to enable billing in App Engine's early days, [all applications now require an active billing account](https://cloud.google.com/appengine/docs/standard/payment-instrument) backed by a financial instrument (usually a credit card). Don't worry, App Engine (and other GCP products) still have an ["Always Free" tier](https://cloud.google.com/free/docs/gcp-free-tier#always-free), and as long as you stay within those limits, you won't incur any charges. Also check the App Engine [pricing](https://cloud.google.com/appengine/pricing) and [quotas](https://cloud.google.com/appengine/quotas) pages for more information.
25
25
26
26
27
27
## Why
@@ -60,33 +60,35 @@ The table below summarizes migration module resources currently available to dev
If there is a logical codelab to do immediately after completing one, they will be designated as NEXT. Other recommended codelabs will be listed as RECOMMENDED, and the more optional ones will be labeled as OTHERS (and usually in some kind of priority order).
80
80
81
-
- Module 1 codelab: **Migrate from `webapp2` to [Flask](https://flask.palletsprojects.com)**
81
+
82
+
-[Module 1 codelab](http://g.co/codelabs/pae-migrate-flask): **Migrate from `webapp2` to [Flask](https://flask.palletsprojects.com)**
82
83
-**Required** migration (can also pick your own framework)
83
84
- `webapp2` does not do routing thus unsupported by App Engine (even though a [3.x port exists](https://github.com/fili/webapp2-gae-python37))
- Module 9 codelab: **Migrate a Python 2 Cloud NDB & Cloud Tasks app to a Python 3 Cloud Datastore app**
122
+
-[Module 9 codelab](http://g.co/codelabs/pae-migrate-py3dstasks): **Migrate a Python 2 Cloud NDB & Cloud Tasks app to a Python 3 Cloud Datastore app**
121
123
-**Mixed migration recommendation**
122
124
- Migrating to Python 3 is required, but...
123
125
- Migrating to Cloud Datastore is optional as Cloud NDB works on 3.x; it's to give you the experience of doing it
124
-
- This codelab includes the migration in the [Module 3 codelab](), so skip it
126
+
- This codelab includes the [Module 3 migration codelab](http://g.co/codelabs/pae-migrate-datastore), so skip if you complete this one
- Module 5 codelab - migrate to Cloud Run container with Cloud Buildpacks
147
+
- OTHER OPTIONS (in somewhat priority order):
148
+
- Module 7 codelab - add App Engine (push) tasks
144
149
145
-
- Module 5 codelab: **Migrate from App Engine to [Cloud Run](http://cloud.google.com/run) with Cloud Buildpacks**
150
+
-[Module 5 codelab](http://g.co/codelabs/pae-migrate-runbldpks): **Migrate from App Engine to [Cloud Run](http://cloud.google.com/run) with Cloud Buildpacks**
146
151
-**Optional** migration
147
152
- "Containerize" your app (migrate your app to a container) with...
148
-
- [Cloud Buildpacks]() which lets you containerize your app without Dockerfiles
153
+
- [Cloud Buildpacks]() which lets you containerize your app without `Dockerfile`s
- Module 4 codelab - migrate to Cloud Run container with Docker
174
+
- OTHER OPTIONS (in somewhat priority order):
175
+
- Module 5 codelab - migrate to Cloud Run container with Cloud Buildpacks
166
176
- Module 6 codelab - migrate to Cloud Firestore
167
177
168
-
- Module 6 codelab: **Migrate from Cloud Datastore to [Cloud Firestore](http://cloud.google.com/firestore)**
178
+
-[Module 6 codelab](http://g.co/codelabs/pae-migrate-firestore): **Migrate from Cloud Datastore to [Cloud Firestore](http://cloud.google.com/firestore)**
169
179
-**Highly optional** migration (WARNING: infrequent/uncommon & "expensive" migration)
170
180
- Requires new project & Datastore has better write performance (currently)
171
181
- If you **must have** Firestore's Firebase features
@@ -175,7 +185,7 @@ If there is a logical codelab to do immediately after completing one, they will
175
185
- RECOMMENDED:
176
186
- Module 7 codelab - add App Engine (push) tasks
177
187
- OTHER OPTIONS (in somewhat priority order):
178
-
- Module 4 codelab - migrate to Cloud Run container with Docker
188
+
- Module 5 codelab - migrate to Cloud Run container with Cloud Buildpacks
0 commit comments