Stay organized with collections
Save and categorize content based on your preferences.
Configure Cloud Run functions (1st gen)
Use this page to understand what configuration options are available in
Cloud Run functions, how to control the behavior of your functions, and what the
best practices are for each type of configuration.
You can avoid cold starts for your application and reduce application latency by
setting a minimum number of instances. Note that setting a minimum number of
instances incurs cost. See
Using minimum instances to learn
more.
Secrets
You can use Secret Manager with your
Cloud Run functions to securely store API keys, passwords, and other
sensitive information. See
Using secrets to learn more.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["Cloud Run functions offer configuration options to control their behavior and optimize performance."],["You can limit the maximum number of instances to manage costs and prevent issues with high request volumes."],["Setting a minimum number of instances can help avoid cold starts and reduce latency, although it may increase costs."],["Sensitive information like API keys can be securely managed using Secret Manager with Cloud Run functions."],["Environment variables can be used to configure key/value pairs within your functions."]]],[]]