Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to tell if a Google App Engine documentation page applies to the 1st/2nd generation standard or the flexible environment

I see a lot of google-app-engine questions from users mixing up the standard environment with the flexible environment, especially when it comes to documentation, often attempting to follow the wrong instructions, obviously with undesired results.

How can one easily tell which GAE environment a certain page is applicable to?

like image 524
Dan Cornilescu Avatar asked Aug 23 '17 14:08

Dan Cornilescu


People also ask

Which option is correct for the flexible environment of App Engine is ---?

"That's correct! App Engine offers NoSQL databases, in-memory caching, load balancing, health checks, logging, and user authentication to applications running in it." 1. Which of these criteria would make you choose App Engine Flexible Environment, rather than Standard Environment, for your application?

What is the difference between App Engine standard and flexible?

The standard environment can scale from zero instances up to thousands very quickly. In contrast, the flexible environment must have at least one instance running for each active version and can take longer to scale up in response to traffic. Standard environment uses a custom-designed autoscaling algorithm.

What is Google App Engine flexible environment?

App Engine allows developers to focus on what they do best: writing code. Based on Compute Engine, the App Engine flexible environment automatically scales your app up and down while also balancing the load.

What are the key features in Google App Engine application environment?

GAE lets users record data and run diagnostics on applications to gauge performance. Security features. GAE enables users to define access policies with the GAE firewall and managed Secure Sockets Layer/Transport Layer Security certificates for free. Traffic splitting.


1 Answers

Most (if not all) of the GAE documentation is structured by the environment. When looking at a certain documentation page the environment is clearly indicated in several places:

  • the second section at the top of the left-side documentation navigation bar
  • the navigation trail at the top of the actual documentation page (which may vary slightly depending on the programming language)
  • the docs/flexible vs docs/standard strings in the doc page URLs
  • some pages applicable to multiple programming languages and/or environments (maybe with small differences) have tabs indicating:
    • the currently selected language and environment
    • the other languages and environments the page applies to (selectable)
    • the languages and environments the page doesn't apply to (grayed out)

Examples:

enter image description here enter image description here enter image description here enter image description here

If the documentation page doesn't show the above mentioned patterns (for example if it's a page about some other Google Cloud product somehow related to the App Engine), then check about the App Engine feature being discussed and try to locate the respective GAE documentation.

What may also help with the distinction would be to check these guides putting the 2 environments and/or their features side by side:

  • Choosing an App Engine Environment
  • App Engine Flexible Environment for Users of App Engine Standard Environment
  • Migrating Services from the Standard Environment to the Flexible Environment

Note: when multiple language versions are listed/mentioned under the standard environment (excepting Node.js) they refer to the 1st and 2nd generation standard environment, significantly different from each-other. You should also check the comparison and/or migration guides for these cases:

  • Understanding differences between Python 2 and Python 3 on the App Engine standard environment
  • Migrating from Java 7 to Java 8 Runtime
  • Migrating Your App from PHP 5.5 to PHP 7.2
  • Migrating your App Engine app from Go 1.9 to Go 1.11
like image 87
Dan Cornilescu Avatar answered Sep 22 '22 20:09

Dan Cornilescu