App Engine Standard Environment Vs App Engine Flexible environment

 

FeatureStandard environmentFlexible environment
Instance startup timeSecondsMinutes
Maximum request timeoutDepends on the runtime and type of scaling.60 minutes
Background threadsYes, with restrictionsYes
Background processesNoYes
SSH debuggingNoYes
ScalingManual, Basic, AutomaticManual, Automatic
Scale to zeroYesNo, minimum 1 instance
Writing to local disk
  • Java 8, Java 11, Node.js, Python 3, PHP 7, Ruby, Go 1.11, and Go 1.12+ have read and write access to the /tmp directory.
  • Python 2.7 and PHP 5.5 don't have write access to the disk.
Yes, ephemeral (disk initialized on each VM startup)
Modifying the runtimeNoYes (through Dockerfile)
Deployment timeSecondsMinutes
Automatic in-place security patchesYesYes (excludes container image runtime)
Access to Google Cloud APIs & Services such as Cloud StorageCloud SQLMemorystoreTasks and others.YesYes
WebSocketsNo
Java 8, Python 2, and PHP 5 provide a proprietary Sockets API (beta), but the API is not available in newer standard runtimes.
Yes
Supports installing third-party binaries
  • Yes for Java 8, Java 11, Node.js, Python 3, PHP 7, Ruby, Go 1.11, and Go 1.12+.
  • No for Python 2.7 and PHP 5.5.
Yes
LocationNorth America, Asia Pacific, or EuropeNorth America, Asia Pacific, or Europe
PricingBased on instance hoursBased on usage of vCPU, memory, and persistent disks

Comments

Popular posts from this blog

SQL basic interview question

gsutil Vs Storage Transfer Service Vs Transfer Appliance