News for hackers. Stuff that matters.
Re:Migrating from App Engine to Google Kubernetes Engine by breput on Tuesday September 28, 2021 @09:44PM (#28689405)
I would be interested in seeing this type of article for migrating an established App Engine "standard" environment application instead of the "flexible" environment, which is basically managed containers.

The first-generation standard App Engine service was/is a PaaS environment that provided a lot of functionality on top of the basic load balancing servers, such as an automatically high availability distributed NoSQL datastore, memcache, task queues, mail services, cron, and some special libraries. So migrating off of this involves not just the infrastructure but also a considerable amount of re-implementing equivalent services.

Re:Migrating from App Engine to Google Kubernetes Engine by alooPotato on Tuesday September 28, 2021 @10:09PM (#28689537)
We migrated from Appengine Standard to GKE. All those additional services you referenced are available as standalone APIs in GCP so we just migrated the compute to GKE and had our application code call the GCP APIs for all those services instead of the appengine library calls.
Re:Migrating from App Engine to Google Kubernetes Engine by breput on Tuesday September 28, 2021 @11:11PM (#28689884)
I think there is some functionality such as google.appengine.ext.db (not ndb) which is not directly available, though? And task queues seem to be completely different. But I accept that for many applications, there are close alternatives.

Edit: And as a point of reference, our application has hit basically every single GAE limitation/quota over the years, including the 10,000 file limit (mostly source code files). So migration is a serious concern.

Re:Migrating from App Engine to Google Kubernetes Engine by alooPotato on Wednesday September 29, 2021 @01:13AM (#28690502)
I think that ext.db stuff is just a wrapper around Cloud Datastore. As for the task queues, they are almost identical - see Google Cloud Tasks (https://cloud.google.com/tasks). You might be thinking of google cloud pub/sub as the completely different one.

The way we did the migration was to first move our application code to use the first class google cloud APIs and not rely on any GAE standard libs. Once we got to that point we moved our application code to GKE. Not trying to make it sound easy, it was kind of a pain.

Re:Migrating from App Engine to Google Kubernetes Engine by breput on Wednesday September 29, 2021 @01:46AM (#28690656)
I was specifically talking about push queues, not pub/sub. My comments are also based off of migrating from Python 2.7 vs. 3 where there are additional migrations challenges and GAE limitations.

At least in our experience, it was (or will be...we'll see) easier to migrate off to a generic container based environment.

Re:Migrating from App Engine to Google Kubernetes Engine by alooPotato on Wednesday September 29, 2021 @01:50AM (#28690672)
push queues are available in Google Cloud Tasks. We use them. There's even an article about how to migrate from the appengine ones to the google cloud tasks one: https://cloud.google.com/tasks/docs/migrating