Skip to content

Instantly share code, notes, and snippets.

View LauraRichter's full-sized avatar

Laura Richter LauraRichter

View GitHub Profile
@LauraRichter
LauraRichter / gist:e05ee0c2e336460f73f38cf5f47bd556
Created September 29, 2017 08:59
Mount GCS directory in GCE box
## First install gcsfuse:
(https://github.com/GoogleCloudPlatform/gcsfuse/blob/master/docs/installing.md)
* Add the gcsfuse distribution URL as a package source and import its public key:
> export GCSFUSE_REPO=gcsfuse-`lsb_release -c -s`
> echo "deb http://packages.cloud.google.com/apt $GCSFUSE_REPO main" | sudo tee /etc/apt/sources.list.d/gcsfuse.list
> curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
* Update the list of packages available and install gcsfuse.
> sudo apt-get update
@LauraRichter
LauraRichter / google_cloud_notes.txt
Last active September 4, 2017 10:07
Google Cloud Notes
Set up for the first time:
> gcloud config set container/use_client_certificate True
> gcloud container clusters get-credentials orchestrator --zone europe-west1-d --project prodigy-finance-edw
First log in to google:
> gcloud auth login
Check the airflow ui:
> kubectl port-forward af-ui 8080:8080
Then go to: http://localhost:8080