This article explains how to upgrade the Google Cloud Node.js runtime for a Cloud Run function, e.g. Dropzone Connector.
When a given Node.js runtime version is “supported”, it means Google will automatically apply updates to the Node.js managed runtime as they become available. If Google stops supporting your Node.js version, it does not mean your Cloud Run function will stop working: it just means that updates will no longer be automatically applied.
Since it is always best to use a supported Node.js runtime, SendSafely advises that you upgrade your Cloud Run functions to use the latest Node.js version. All SendSafely Cloud Run functions are compatible with the latest versions of Node.js, so you can upgrade your existing Cloud Run functions without impacting your current workflows.
Google will allow you to select Node.js v18 runtimes until October 30th, 2025. SendSafely advises you to update your runtime as soon as possible, to ensure your Cloud Run function runs in the new Node.js environment, and to enable a roll-back if it does not perform as expected.
You can find more information from Google on this change here.
How to Update
Upgrading a Cloud Run function is straight-forward and can be done via the Google Cloud console. From the navigation menu of the relevant project, select Cloud Run functions and select the function you want to upgrade:
From the ‘Source’ tab, click the ‘Edit Source’ button, then click to edit the ‘Base Image’ field:
This will trigger the ‘Edit runtime and security updates’ side menu to open. Select the appropriate runtime from the dropdown, e.g. Node.js 20, and click ‘Save’ to close the side menu.
Finally, click ‘Save and redeploy’ to save your changes to the runtime.
How to Rollback Changes
If there is an issue with your Cloud Run function post updating, you can easily rollback the change you made to the runtime using the Google Cloud console. Simply follow the same steps as you did to update the runtime, selecting your previous runtime from the dropdown menu.
Please note that you will not be able to rollback to Node.js v18 from October 30th, 2025, so please update your Cloud Run functions as soon as possible.
SendSafely Support
If you have any issues upgrading or rolling back your Node.js runtime, please contact our Support team.
Comments
0 comments
Please sign in to leave a comment.