Process code with VM Launcher
Learn how to use a VM Launcher data operation to process some code on a VM.
💡 What is the VM Launcher data operation for code processing?
The VM Launcher data operation allows you to start a Google Compute Engine VM where you can execute a script in the language of your choice, and then to stop the VM automatically to save resources.
✅ Supported languages
All languages (Python, R, JavaScript, etc.)
⚙️ How it works
Every time a script file appears in a given directory of a Google Cloud Storage bucket:
A VM with the specified characteristics is started on GCE.
The instructions set in the JSON configuration file
script_to_execute
parameter are executed, and the script is launched.Once the execution is complete, the VM is stopped automatically.
📋 How to deploy a VM Launcher data operation for code processing
Access your tailer folder (created during installation).
Create a working folder as you want.
Create a JSON file for your data operation in your working folder. Refer to this page to learn about all the parameters.
Access your working folder by running the following command:
To deploy the data operation, run the following command:
Log in to Tailer Studio to check the status and details of your data operation.
For execute your VM Launcher data operation, place a script in the working folder.
Last updated