Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Example Jupyter Notebook Docker image to run InfraQL queries

License

Notifications You must be signed in to change notification settings

infraql/infraql-jupyter-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InfraQL Jupyter Demo

This repository has been archived. The active project is now located at StackQL Jupyter Demo

Query cloud inventory and perform analysis and visualisations using Jupyter and Python.

Prerequisites

  • Docker

Instructions

  1. Clone this repo git clone https://github.com/infraql/infraql-jupyter-demo
  2. Add the appropriate service account key for your environment to the keys/ directory
  3. Build the image:
docker build --no-cache -t infraql-jupyter-demo .
  1. Run the image:
docker run -dp 8888:8888 infraql-jupyter-demo start-notebook.sh --NotebookApp.token=''

Add authentication if running this on a server which is accessible to others, see https://jupyter-notebook.readthedocs.io/en/stable/security.html

  1. Run your InfraQL commands!
  2. Stop your running container when finished:
docker stop $(docker ps -l -q --filter status=running --filter ancestor=infraql-jupyter-demo)

Example

Example Notebook