Skip to content

Commit 0d9d7f5

Browse files
devlancejmdobry
authored andcommitted
Keeping user costs low (#526)
We've gotten reports of unexpected costs from users that left the hello world running and had two standard instances running for a month. This keeps the costs to a minimum to kick the tires.
1 parent f1e12d1 commit 0d9d7f5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

appengine/hello-world/app.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,16 @@
1414
# [START app_yaml]
1515
runtime: nodejs
1616
env: flex
17+
18+
# This sample incurs costs to run on the App Engine flexible environment.
19+
# The settings below are to reduce costs during testing and are not appropriate
20+
# for production use. For more information, see:
21+
# https://cloud.google.com/appengine/docs/flexible/python/configuring-your-app-with-app-yaml
22+
manual_scaling:
23+
instances: 1
24+
resources:
25+
cpu: 1
26+
memory_gb: 0.5
27+
disk_size_gb: 10
28+
1729
# [END app_yaml]

0 commit comments

Comments
 (0)