How to use GCP Runtime Configurator from Node.js?

277 Views Asked by At

I'm working on a Node.js application hosted on Google Cloud, using Google Application Engine. The app has a few settings like the following:

const TASK_BATCH_SIZE = 50;

Currently, every time we need to change some settings like that one to do some tests we need to re-deploy the app, and that happens very often. We are looking for some alternatives inside the Google Cloud ecosystem that allows us to configure our running services without needing to re-deploy.

One of the things we found in the docs was Runtime Configurator, which still seems to be a beta product. For Node.js specifically nodejs-rcloadenv is the only client library we found, but doesn't seem to support the Watcher / Waiter concepts described in the Runtime Configurator docs or any other way to subscribe to variable changes in a configuration resource.

Is Runtime Configurator the solution to our problem? Are there any other services inside the Google Cloud ecosystem, or any other library for Node.js that could help us with this?

1

There are 1 best solutions below

0
On

If you want to update or to make some settings changes in the service, you need to re-delpoy the service.

You can't use Runtime Configurator as it's for Compute Engine and not for App Engine.

You can create a feature request on Google's Public Issue Tracker for your issue ( to update configurations without re-deploying the service).