The purpose of this document is to allow our client`s Data Science team prepare and deploy their models in a Google Cloud environment.
...
Note |
---|
Your user email (as the requester) will be given the Editor, Owner and Project Billing Manager role. Share access to other people who need access to the project. |
Tip |
---|
The application is launched in a Virtual Machine in the project. The commands from commands.txt are executed. Additionally, you can SSH on the VM and update/check content. |
...
BigQuery Data Editor : <client>_lab, <client>_views
BigQuery Data Viewer : <client>_core, <client>_stage, <client>_reports, <client>_intelligence
If your application is meant to edit the subscriber properties, get familiar with the structure of the subscriber properties https://boxalino.atlassian.net/wiki/spaces/BPKB/pages/303825148/subscriber+properties
...
1 | project name | as will appear in your project's list |
2 | the requestor is the one managing the applications running on the project; this email will receive messages (alert and notifications) for when the project is ready to be used; | |
3 | client name | (also known as the Boxalino account name) this is to ensure the access to the views, core & reports datasets (https://boxalino.atlassian.net/wiki/spaces/BPKB/pages/303792129/GCP+Project+Deployment#BigQuery-Datasets-Access ) |
...
Info |
---|
These files (and other required structures) must be uploaded in a GCS bucket. The GCS bucket name is provided for the Application Launch Request |
instance.txt
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 | home | \/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 | this property can be left empty;
| ||
8 | accelerator-type | no | define this property if your VM requires GPU; | |||
9 | accelerator-count | no | define this property if your VM requires GPU |
Code Block |
---|
instance-name:application-name machine-type:e2-micro email-to:data-science-guru@boxalino-client.com home:\/home\/project-name image-family:ubuntu-2004-lts boot-disk-size:30 zone:europe-west1-b |
...
Code Block |
---|
sudo gsutil rsync -r gs://<BUCKET>/ <APPLICATION-PATH> |
Note |
---|
Replace <BUCKET> with your storage bucket name (where the application files have been loaded). Replace <APPLICATION-PATH> with the path to your application (default: /home/project-name). |
...