I have recently found out that App Engine standard environment can run NodeJS. https://cloud.google.com/appengine/docs/standard/nodejs/setting-up-environment
I have moved my Node JS application from the flexible environment to the standard environment. I got most of the issues sorted out but couldn't figure out how to connect my Redis instance on Compute Engine from App Engine Standard Environment for NodeJS. (Same project environment)
Are there some settings I need to change? I couldn't get it to connect, I always get connection timeout error when connecting to Redis, and I haven't able to locate a reference/tutorial relates to this.
Here is my app.yaml
runtime: nodejs8
service: some-app
env_variables:
NODE_ENV: "production"
TMP_PATH: "/tmp"
beta_settings:
cloud_sql_instances: some-connection-string
Also note that I am connecting to my Redis using Internal IP, it does work when I am on Flexible Environment.