codeindulgence / cube-in-a-box-dea

A Digital Earth Australia example of the Cube in a Box

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cube in a Box

The Cube in a Box is a simple way to run the Open Data Cube.

How to use locally

If you have make:

  • Start a local environment using make up
  • Set up your local postgres database (after the above has finished) using make initdb
  • Add the Sentinel-2 metadata and product definitions by with make metadata and make product
  • Index a default region with make index
  • View the Jupyter notebook at http://localhost using the password secretpassword

If you don't have make, you can inspect the Makefile for the commands that are needed to be executed.

Deploying to AWS

To deploy to AWS, you can either do it on the command line, with the AWS command line installed or the magic URL below and the AWS console. Detailed instructions are available.

Once deployed, if you navigate to the IP of the deployed instance, you can access Jupyter with the password you set in the parameter in the AWS UI. Or you can SSH into the instance using the IP address and the SSH key you set.

Magic Links

AWS

Launch a Cube in a Box

You need to be logged in to the AWS Console deploy using this URL. Once logged in, click the link, and follow the prompts including settings a bounding box region of interest, EC2 instance type and password for Jupyter.

Azure

Deploy to Azure

Command line

About

A Digital Earth Australia example of the Cube in a Box

License:MIT License


Languages

Language:Makefile 39.5%Language:Jupyter Notebook 31.8%Language:Shell 28.7%