See demos and examples at the https://cloudyr.github.io/googleComputeEngineR/.