Skip to main content

Management of QHub on Cloud Infrastructure

Project description

Qhub logo on white background

Information Links
Project License QHUb documentation PyPI version
Community GH discussions Open an issue
CI Build Docker Images Kubernetes Tests Tests Documentation linter

Table of contents

Automated data science platform. From JupyterHub to Cloud environments with Dask Gateway.

QHub is an open source tool that enables users to build and maintain cost-effective and scalable compute/data science platforms on HPC or on Kubernetes with minimal DevOps experience.

This repository details the QHub (Kubernetes) version.

Not sure what to choose? Check out our Setup Initialization page.

QHub HPC

Version of QHub based on OpenHPC.

NOTE: The tool is currently under development. Curious? Check out the Qhub HPC repository.

QHub

The Kubernetes version of QHub is built using Terraform, Helm, and GitHub Actions. Terraform handles the build, change, and versioning of the infrastructure. Helm helps to define, install, and manage Kubernetes. GitHub Actions is used to automatically create commits when the configuration file (qhub-config.yaml) is rendered, as well as to kick off the deployment action.

QHub aims to abstract all these complexities for its users. Hence, it is not necessary to know any of the above mentioned technologies to have your project successfully deployed.

TLDR: If you know GitHub and feel comfortable generating and using API keys, you should have all it takes to deploy and maintain your system without the need for a dedicated DevOps team. No need to learn Kubernetes, Terraform, or Helm.

:cloud: Cloud Providers

QHub offers out-of-the-box support for Digital Ocean, Amazon AWS, GCP, and Microsoft Azure.

High-level illustration of QHub architecture

For more details, check out the release blog post.

:computer: Installation

Pre-requisites

  • QHub is supported by macOS and Linux operating systems (Windows is NOT currently supported).
  • Compatible with Python 3.7+. New to Python? We recommend using Anaconda.
  • Adoption of virtual environments (conda, pipenv or venv) is also encouraged.

Install QHub

To install QHub type the following commands in your command line:

  • Install using conda:

    conda install -c conda-forge qhub
    
  • Install using pip:

    pip install qhub
    

Once finished, you can check QHub's version (and additional CLI args) by typing:

qhub --help

If successful, the CLI output will be similar to the following:

usage: qhub [-h] [-v] {deploy,destroy,render,init,validate} ...

QHub command line

positional arguments:
  {deploy,destroy,render,init,validate}
                        QHub

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         QHub version

:label: Usage

QHub requires the setting of environment variables to automate the deployments fully. For details on how to obtain those variables, check the installation guide in the docs.

Once all the necessary credentials are gathered and set as UNIX environment variables, QHub can be deployed in under 20 minutes using:

qhub init   ... # generates initial config file and optionally automates deployment steps
qhub deploy ... # creates and configures the cloud infrastructure

:question: Questions?

Have a look at our FAQ to see if your query has been answered.

We separate the queries for QHub into:

  • GitHub Discussions used to raise discussions about a subject, such as: "What is the recommended way to do X with QHub?"

  • Issues for queries, bug reporting, feature requests,documentation, etc.

We work around the clock to make QHub better, but sometimes your query might take a while to get a reply. We apologise in advance and ask you to please, be patient :pray:.

:book: Code of Conduct

To guarantee a welcoming and friendly community, we require contributors to follow our Code of Conduct.

:gear: Installing the Development version of QHub

To install the latest developer version (unstable) use:

pip install git+https://github.com/Quansight/qhub.git@dev

:raised_hands: Contributions

Thinking about contributing? Check out our Contribution Guidelines.

License

QHub is BSD3 licensed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qhub-0.4.0.tar.gz (348.3 kB view details)

Uploaded Source

Built Distribution

qhub-0.4.0-py3-none-any.whl (378.7 kB view details)

Uploaded Python 3

File details

Details for the file qhub-0.4.0.tar.gz.

File metadata

  • Download URL: qhub-0.4.0.tar.gz
  • Upload date:
  • Size: 348.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11

File hashes

Hashes for qhub-0.4.0.tar.gz
Algorithm Hash digest
SHA256 667459f84c4159e1104a809518d53d2906888b2dcece83a377f16685bbcdfe9b
MD5 151a830f9dcded5842da1637d65bb01b
BLAKE2b-256 342d340086695392afdb6f40914ad26a5e1f646a6f182d2ecf17a4dba021fa65

See more details on using hashes here.

Provenance

File details

Details for the file qhub-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: qhub-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 378.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11

File hashes

Hashes for qhub-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 811e3697b603d4662129f3827b5b918b497207c38c2aed6e18952c50c31b0fb9
MD5 8cf6edab5e436a6318d64b73f12a740e
BLAKE2b-256 2c4447bf38c80033383ad6024a0eafada67dbe61a75ecae4c90a3ee81a51a910

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page