Nice solution, thanks for sharing!
A similar one — which will allow you to scale to multiple nodes on Google Compute Engine:
The example on the solution opens 5 nodes with 4 cores each (so you won’t be limited by the number of cores that a single node can support).