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. Example configuration files can be found in tests/assets. Documentation on creating a configuration file is detailed here.
Templates for each file are at the following paths:
- AWS :: tests/assets/config_aws.yaml
- DO :: tests/assets/config_do.yaml
- GCP :: tests/assets/config_gcp.yaml
Initializing the Provider Template
The exact naming of the configuration file is needed to trigger the CI actions when the configuration is changed.
mkdir <repository-name>
# mv <config-filename> <repository-name>/qhub-config.yaml
qhub render -c <repository-name>/qhub-config.yaml -o <repository-name>/ --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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file qhub-0.1.14.tar.gz
.
File metadata
- Download URL: qhub-0.1.14.tar.gz
- Upload date:
- Size: 34.3 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.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff4d460aef0108c676311420640275241b54aedb8dca5a81d451d87d6af4bc40 |
|
MD5 | d070a36f81d10def45d2ef398624835b |
|
BLAKE2b-256 | 46cb521c3f778e7ff989984310d5cf177b578a894b640002f4ef49bfd5f9fdcc |