Created
September 5, 2021 15:49
-
-
Save thoughtspeed7/960a911822c391c6e95ce26c95658b55 to your computer and use it in GitHub Desktop.
Connect To Redis Memorystore From Cloud Functions, Cloud Run and App Engine Using Serverless VPC Access | Google Cloud
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# om namah shivaya | |
service: default | |
runtime: nodejs14 | |
instance_class: F1 | |
automatic_scaling: | |
min_instances: 0 | |
max_instances: 1 | |
target_cpu_utilization: 0.90 | |
handlers: | |
- url: /.* | |
secure: always | |
redirect_http_response_code: 301 | |
script: auto | |
vpc_access_connector: | |
# replace GCP_PROJECT_ID with your gcp project id | |
# replace GCP_REGION with your gcp region | |
name: projects/GCP_PROJECT_ID/locations/GCP_REGION/connectors/hello-redis-vpc-connector |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment