Skip to main content

Management of QHub on Cloud Infrastructure

Project description

QHub

Is a tool for initializing and maintaining the state of QHub deployments on Digital Ocean, Amazon Web Services, and Google Cloud Platform.

Installation:

pip install qhub

Configuration

QHub is entirely controlled from a configuration file.

To generate a configuration file follow these instructions.

mkdir <repository-name>
cd <repository-name>
qhub init <platform-name> # platform-name can be do, aws or gcp.

This generates a configuration file. Now modify the configuration according to your needs. Documentation on modify a configuration file is detailed here.

Initializing the Provider Template

The exact naming of the configuration file is needed to trigger the CI actions when the configuration is changed.

qhub render -c qhub-config.yaml -o ./ --force

After initialising the provider templates, follow the instructions in docs on deploying the infrastructure at <repository-name>/docs/installation.md. At this current moment some bootstrapping is required before github-actions can manage the infrastructure as code. All of these instructions are automated in scripts/00-guided-install.sh. Note that you will need to set the environment variables in intallation.md for this script to succeed. You will be prompted several times for use actions such as setting oauth provider and dns.

./scripts/00-guided-install.sh

Terraform Module Dependencies

This project depends on the terraform modules repository: https://github.com/Quansight/qhub-terraform-modules

Architecture

The architecture diagrams for each cloud provider is in architecture folder. To generate them, just run the following command:

python <diagram_file>.py

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.1.15.tar.gz (36.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: qhub-0.1.15.tar.gz
  • Upload date:
  • Size: 36.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for qhub-0.1.15.tar.gz
Algorithm Hash digest
SHA256 e8cf0b7b263864234b4dff2bef10934cdca3354f525efa49736dbd4ce4b5f4e7
MD5 a794e6cf3683ceb19db1871758d7d11c
BLAKE2b-256 35ad368690f2cef53cad3ec4f931dcc612b4110103ac085df28e333169038acb

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