Where can your run "legacy" Google App Engine (Java) applications?

363 views
Skip to first unread message

cyberquarks

unread,
Apr 29, 2021, 10:14:18 AM4/29/21
to Google App Engine

Where can you run GAE application built with "integrated" Datastore? Meaning, those application that were build prior to Google platform making the Datastore a separate service from the "core" GAE service. That is without modifying the project.

Can the current Google App Engine run "legacy" applications?

Elliott (Cloud Platform Support)

unread,
Apr 29, 2021, 1:53:21 PM4/29/21
to Google App Engine

Hello,


I understand that you would like to run a legacy Java App Engine application on the infrastructure that exists currently in Google Cloud Platform without modifying the existing project.

I was able to find a document, which describes the legacy 8 version of Java still supported. What version of Java are you using? Are you using Google App Standard or Google App Flex?

I’m thinking that depending on your answer, you may choose to use Containers in Google Cloud Run to create your environment but you indicated that you do not wish to modify your project.

So to provide more options, I would ask you to give detail about your project.

cyberquarks

unread,
Apr 29, 2021, 6:20:57 PM4/29/21
to Google App Engine
Hi, our app is built on Google App Engine (Java) version 1.9.40 where all components are "integrated" into the runtime, the Datastore, the Task Queue etc. 

wesley chun

unread,
Apr 29, 2021, 8:56:51 PM4/29/21
to google-a...@googlegroups.com
At this time, you can run those applications with the "bundled services" on our Java 8 App Engine runtime. That's the latest version w/the bundled services available. The other one is Java 11 but without bundled services. Also see the documentation page highlighting the differences b/w both 1st and 2nd generation runtimes.

While we're committed to supporting legacy runtimes, we've also got guides to help developers move off bundled services so they can upgrade to Java 11. We're planning additional resources to help users upgrade their apps, so stay tuned for those. The first bunch for Python launched recently, and we're planning equivalent resources for Java after all the Python ones are done.

Cheers,
--Wesley

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/eeeaee50-0677-4f9d-9b54-a3206409e6fcn%40googlegroups.com.


--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"A computer never does what you want... only what you tell it."
    wesley chun :: @wescpy :: Software Architect & Engineer
    Developer Advocate at Google Cloud by day; at night...
    Python training & consulting : http://CyberwebConsulting.com
    "Core Python" books : http://CorePython.com
    Python blog: http://wescpy.blogspot.com

Ludovic Champenois

unread,
May 4, 2021, 5:40:39 PM5/4/21
to Google App Engine

Hi,
Ludo (from the Java App Engine team here).
Good news: as of today, we are providing to select customers a private preview access to a new Java11 GAE runtime with many of the App Engine APIs (com.google.appengine.api.*) support for easy GAE application upgrade from Java8.
This new Java11 runtime is an extension of the previous Java11 runtime (which did not support the 'legacy' API), and it is based on Jetty 9.4 Web server and existing well know Java Web Apps, configured with appengine-web.xml (not app.yaml) under a WEB-INF/ web app directory, and same existing tooling (Maven, Gradle).
It would be great if existing Java8 GAE customers could try this private preview on a new version of their app (and obviously do not use it to server production traffic yet), and give us feedback!

Some of the major bundled GAE services the Private Preview now include:
  • - Memcache
  • - Datastore / Objectify with GAE Datastore
  • - URLfetch
  • - Blobstore
  • - Images
  • - Task Queues
  • - Users
  • - Mail

If you would like to register for the Private Preview, please fill out the Registration Form.  
Registering will get you access to the Private Preview documentation, which includes the full API docs for the runtime.

Thanks for trying it now and helping us fine tuning it so we can make it public soon!
Ludo

Linus Larsen

unread,
May 5, 2021, 8:32:59 AM5/5/21
to Google App Engine
Wow, this is really great news I think. 

I was under the impression that Google was phasing out the "legacy" platform, so this is not the case?

A big relief for all of us sitting with a bunch of Java 8 services were porting to second gen services is not really an option.

/ Linus

wesley chun

unread,
May 12, 2021, 3:28:07 PM5/12/21
to google-a...@googlegroups.com
Howdy folks, yes, Ludo is correct. This is a new program we introduced into private alpha recently, so if you're a Python 2, Java 6-8, or Go 1.6-1.11 user, this is the time to prototype an upgrade to Python 3, Java 11, and Go 1.12+. Keep in mind that not *all* previously built-in services will be available and that new features/innovation will only happen w/the standalone products like Cloud Datastore, Cloud Memorystore, Cloud Tasks, etc. As I mentioned in my previous email, we're committed to supporting legacy runtimes while means App Engine is staying where it is, however those original bundled services are just going to stay as-is, so we're encouraging folks to migrate to "the new stuff."

The good news is that with the migration resources we're building can help you move off the bundled services to those standalone services, and you can continue to use App Engine whether you're staying on the 1st gen or modernizing/upgrading to 2nd gen. Alternatively, you can break up large apps to run as a set of microservices on Cloud Functions, or if you want to containerize your app but still run serverlessly, you've now got Cloud Run. Back in the old days, App Engine and the bundled services didn't give users many options, but with a more open App Engine today and other serverless products, developers have way more options than before!

Reply all
Reply to author
Forward
0 new messages