Skip to content
Nikhil Kothari edited this page Oct 13, 2015 · 17 revisions

Getting Started

Using DataLab in Google Cloud

The easiest way to use Google Cloud DataLab is on Google Cloud Platform. Head over the DataLab site, and deploy an instance into a Cloud Project, so you can easily work with data in other cloud services such as BigQuery, and deploy your data pipelines for execution on the cloud.

Using DataLab locally

DataLab is built and packaged as a docker container. You will need Google Cloud SDK setup locally.

# Install gcloud - more info at https://cloud.google.com/sdk/
curl https://sdk.cloud.google.com | bash

# Setup gcloud (once usually suffices, unless you need to change projects)
gcloud auth login
gcloud config set project <your cloud project>

You will also need docker configured and running locally. If you're on Mac or Windows, the easiest way to get docker is via boot2docker.

docker pull gcr.io/cloud_datalab/datalab:latest
docker run -i -t datalab -p 8081:8081 -v local_directory:/content

Open your browser to http://localhost:8081. You may need to open the boot2docker vm settings to map the 8081 host port to the vm port.

Clone this wiki locally