Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0b56365

Browse filesBrowse files
devlanceJon Wayne Parrott
authored andcommitted
Keeping user's costs low when using the hello world (GoogleCloudPlatform#1228)
A few people have found painfully if they left the sample running with the default settings they incurred an unexpected charge. This keeps costs low for those kicking the tires on App Engine.
1 parent 08bf317 commit 0b56365
Copy full SHA for 0b56365

File tree

Expand file treeCollapse file tree

1 file changed

+11
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+11
-0
lines changed

‎appengine/flexible/hello_world/app.yaml

Copy file name to clipboardExpand all lines: appengine/flexible/hello_world/app.yaml
+11Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,14 @@ entrypoint: gunicorn -b :$PORT main:app
44

55
runtime_config:
66
python_version: 3
7+
8+
# This sample incurs costs to run on the App Engine flexible environment.
9+
# The settings below are to reduce costs during testing and are not appropriate
10+
# for production use. For more information, see:
11+
# https://cloud.google.com/appengine/docs/flexible/python/configuring-your-app-with-app-yaml
12+
automatic_scaling:
13+
max_num_instances: 1
14+
resources:
15+
cpu: 1
16+
memory_gb: 0.5
17+
disk_size_gb: 10

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.