Skip to main content

QHub-Ops

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-ops

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-ops-config.yaml
qhub-ops render -c <repository-name>/qhub-ops-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-ops is BSD3 licensed

Metadata

Release files for qhub-ops 0.1.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qhub-ops 0.1.12
File Size Uploaded
qhub-ops-0.1.12.tar.gz 32.7 kB Details

Release files / qhub-ops-0.1.12.tar.gz

Download URL qhub-ops-0.1.12.tar.gz
Size 32.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b9930f31e9461df41cf3a60d83c11775b1da63a063dedfbe80957df3824725e7
BLAKE2b-256 checksum
How to use checksums
bbc3c2937ec15eb1e7957d500c5ddaa91d5bed85da6a0fe6c873d5d9362f010e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

Release history Release notifications | RSS feed

This release

0.1.12 This release

1 release file

0.1.11

1 release file

0.1.10

1 release file

0.1.9

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page