You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install this library from PiPy `pip3 install pymc-server`
6
+
7
+
### Setting up a cloud: Google Cloud
8
+
9
+
1. Run `pymcs check` to see if you already have credentials setup. If you see a green checkmark for GCP (Google Cloud Platform), skip to the next section
10
+
2. Install the google cloud SDK and authenticate.
11
+
```bash
12
+
conda install -c conda-forge google-cloud-sdk
13
+
gcloud init
14
+
15
+
# Run this if you don't have a credentials file.
16
+
# This will generate ~/.config/gcloud/application_default_credentials.json.
17
+
gcloud auth application-default login
18
+
```
19
+
> Tip:
20
+
> If you are using multiple GCP projects, list all the projects by gcloud projects list and activate one by gcloud config set project <PROJECT_ID> (see GCP docs).
21
+
22
+
3. Follow the link to Google and authorize the Google Cloud SDK. This will create and persist credentials on your local computer. Running pymc-server commands via Google Cloud will introduce cost to your Google Cloud bill according to the VMs provisioned by your configuration (see next section).
23
+
24
+

25
+
26
+
Follow through the rest of the GCP configuration in your terminal.
27
+
28
+
> Tip:
29
+
> You can see a global status of active VMs by running `pymcs status`
30
+
31
+
32
+
33
+
### Status of your deployments
34
+
35
+
Running `pymcs status` all your deployments are checked and displayed in a table.
36
+
37
+
```bash
38
+
❯ pymcs status
39
+
Clusters
40
+
NAME LAUNCHED RESOURCES STATUS AUTOSTOP COMMAND
41
+
tc 5 months ago 1x Kubernetes(2CPU--2GB) UP - pymcs launch -c tc hello_sk...
0 commit comments