...
Property | Default | Required | Description | |
---|---|---|---|---|
1 | instance-name | project name | yes | the instance name is the VM name as appears in the Compute Engine view |
2 | machine-type | e2-micro | yes | the value depends on what the application needs: more CPU or more RAM? for options, please check the Google Cloud documentation |
3 | email-to | yes | the email is used once to receive an alert for when the VM is ready. | |
4 | root-dirhome | \/home\/project-name | no | the path on the server where the content of the GCS bucket is uploaded; |
5 | image-family | ubuntu-2004-lts | no | |
6 | boot-disk-size | 30 | no | |
7 | zone | europe-west1-b | no |
Code Block |
---|
instance-name:application-name machine-type:e2-micro email-to:data-science-guru@boxalino-client.com root-dirhome:\/home\/project-name image-family:ubuntu-2004-lts boot-disk-size:30 zone:europe-west1-b |
...
You can also include other commands same as the application has been tested on the local environment.
Code Block |
---|
chmod -R 777 <root-dir<home value from instance.txt>/* papermill <root-dir<home value from instance.txt>/process.ipynb <root-dir value from instance.txt>/process-output.ipynb |
...