From 42abd00e2fd43daa5a7d96bae23d67b0a7a03255 Mon Sep 17 00:00:00 2001 From: Michael Jackson Date: Tue, 29 Jan 2019 15:11:52 -0800 Subject: [PATCH] Deploy production to App Engine standard --- app-staging.yaml | 2 +- app.yaml | 23 +++++++++-------------- 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/app-staging.yaml b/app-staging.yaml index 7fdf95c..c558955 100644 --- a/app-staging.yaml +++ b/app-staging.yaml @@ -1,5 +1,5 @@ -runtime: nodejs10 env: standard instance_class: B4 +runtime: nodejs10 basic_scaling: max_instances: 1 diff --git a/app.yaml b/app.yaml index 73f7d43..c39bcca 100644 --- a/app.yaml +++ b/app.yaml @@ -1,14 +1,9 @@ -runtime: nodejs -env: flex - -resources: - cpu: 1 - memory_gb: 1 - disk_size_gb: 10 - -liveness_check: - path: "/" - check_interval_sec: 30 - timeout_sec: 4 - failure_threshold: 2 - success_threshold: 2 +runtime: nodejs10 +env: standard +instance_class: F4 +automatic_scaling: + min_instances: 2 + max_instances: 8 + max_concurrent_requests: 40 + target_throughput_utilization: 0.6 + max_idle_instances: 2