Document how to use cytokit on gcloud #8
Labels
documentation
duplicate
This issue or pull request already exists
question
Further information is requested
Some preliminary notes:
Cytokit on gcloud
Spin up a machine on gcloud: 2 GPUs Nvidia K80
gcloud beta compute \ --project=hammerlab-chs \ instances create \ cytokit \ --zone=us-east1-c \ --machine-type=n1-highmem-16 \ --subnet=default \ --network-tier=PREMIUM \ --maintenance-policy=TERMINATE \ --service-account=195534064580-compute@developer.gserviceaccount.com \ --scopes="https://www.googleapis.com/auth/devstorage.read_only,https://www.googleapis.com/auth/logging.write,https://www.googleapis.com/auth/monitoring.write,https://www.googleapis.com/auth/servicecontrol,https://www.googleapis.com/auth/service.management.readonly,https://www.googleapis.com/auth/trace.append" \ --accelerator=type=nvidia-tesla-k80,count=2 \ --tags=http-server,https-server \ --image=ubuntu-1604-xenial-v20180627 \ --image-project=ubuntu-os-cloud \ --boot-disk-size=1000GB \ --boot-disk-type=pd-standard \ --boot-disk-device-name=cytokit gcloud compute ssh --zone us-east1-c cytokit
Inspiration: https://medium.com/google-cloud/jupyter-tensorflow-nvidia-gpu-docker-google-compute-engine-4a146f085f17
Setup is done. Let's pull in relevant programs and scripts:
We now have all we need (scripts/data). Let's run the analysis:
You can now connect to your notebook running on your gcloud instance using its public ID. Once on it, create a new console tab and run the following:
Should be done in < 30 minutes. You can
gsutil cp
it to a bucket and turn your gcloud box off.Need to clean this up a bit.
The text was updated successfully, but these errors were encountered: