MJN All Blog Cheatsheets Elasticsearch GCP JS LinuxBash Misc Notes Other ShortcutKeys / - Search

Home / GCP / GCP Training / Section 4 - App Engine


Contents

Overview

Simple way to deploy and scale your applications in GCP. Provides end-to-end application management.

Supports:

No usage charges - Pay for resources provisioned

Features:

App Engine Environments

Standard - Applications run in language specific sandboxes

Flexible - Application instances run within Docker containers

Application Hierarchy

Application (one per project).

Contains one or more:

Services (previously called modules. Each service can have different settings).

Contain one or more:

Versions (multiple versions of a service can be deployed with options to rollback and divide traffic).

Contain one or more:

Instances (multiple instances of each service version can be deployed).

Standard vs Flexible Environments

Feature Standard Flexible
Pricing Factors Instance hours vCPU, Memory & Persistent Disks
Scaling Manual, Basic, Automatic Manual, Automatic
Scaling to zero Yes No. Minimum one instance
Instance startup time Seconds Minutes
Rapid Scaling Yes No
Maximum request timeout 1 to 10 minutes 60 minutes
Local disk Yes (except for Python, PHP). Can write to /tmp. Yes. Ephemeral. New Disk on startup.
SSH (for debugging) No Yes

Scaling Instances

3 types of scaling:

Automatic Scaling

Recommended for Continuously Running Workloads.

Basic Scaling

(NOT supported by App Engine Flexible Environment).

Manual Scaling

Configure specific number of instances to run. Adjust number of instances manually over time.


This page was generated by GitHub Pages. Page last modified: 22/12/23 15:59