GCP App Engine Cheat Sheet
GCP App Engine Cheat Sheet
Let’s get a quick overview of Google Cloud App Engine from an GCP certification
perspective. We will look at important certification questions related to App Engine, how
this is different compared to other compute services, features of App Engine and how to use
AppEngine to run your compute load.
You will learn
What is a App Engine
Features of AppEngine
Various concepts of AppEngine and how to use it to run the applications
Commands Cheatsheet
App Engine
App Engine
Compute Engine
o IAAS
o MORE Flexibility
o MORE Responsibility
Choosing Image
Installing Software
Choosing Hardware
Fine grained Access/Permissions (Certificates/Firewalls)
Availability etc
App Engine
o PaaS
o Serverless
o LESSER Responsibility
o LOWER Flexibility
App Engine environments
Local disk Mostly(except for Python, PHP). Can Yes. Ephemeral. New Disk on
write to /tmp. startup.
inbound_services:
- warmup
env_variables:
ENV_VARIABLE: "value"
handlers:
- url: /
script: home.app
automatic_scaling:
target_cpu_utilization: 0.65
min_instances: 5
max_instances: 100
max_concurrent_requests: 50
#basic_scaling:
#max_instances: 11
#idle_timeout: 10m
#manual_scaling:
#instances: 5
AppEngine - Request Routing
I want to create two Google Not possible. You can only have one App Engine App per
App Engine Apps in the same project. However you can have multiple services and
project multiple version for each service.
I want to create two Google Yup. You can create multiple services under the same app.
App Engine Services inside the Each service can have multiple versions as well.
same App
I want to move my Google App App Engine App is region specific. You CANNOT move it to
Engine App to a different different region. Create a new project and create new app
region engine app in the new region.
Perform Canary deployments Deploy v2 without shifting traffic (gcloud app deploy --no-
promote)
Shift some traffic to V2 (gcloud app services set-traffic s1
--splits v1=0.9,v2=0.1)