A CLI that makes it easier to debug issues with batch compute enviornments in AWS, future plans to support GCP, Azure and kubernetes
Project description
Batch Debugging CLI
The Batch Debugging CLI is designed to streamline the debugging process for AWS Batch, GCP, Azure, and Kubernetes compute environments. Leveraging the capabilities of [batch-debugging](https://github.com/Shahbaz-mahmood123/batch-debugging).
Explore the documentation »
Table of Contents
About The Project
The Batch Debugging CLI is a command-line tool designed to assist in debugging batch compute environments across AWS, GCP, Azure, and Kubernetes. It currently relies on batch-debugging for its underlying logic, so refer to its documentation for detailed information on the debugging process.
Please note that the CLI assumes AWS Batch compute environments were built using the Seqera platform. However, a more generic debugging tool will be implemented in the future.
Installation
To use this library, just install the package via pip.
pip install batch-debugging-cli
Getting Started
Before using the CLI, ensure you have an account in your compute provider, a valid compute enviornment and credentials to access the account(AWS, GCP, Azure)
Currently, the CLI supports a few commands, and it expects the environment name to match the corresponding AWS environment. When supplying a compute environment ID, provide the full name of the environment (e.g., TowerForge-1rVcJ5K5wnvky3zohO4EaN-head).
AWS
For AWS please declare the region where your batch enviornmets are located. For example:
export AWS_REGION=us-east-1
Additionally the below IAM permissions are required.
GCP
To use the GCP commands please use the set the below enviornment variables:
export GCP_PROJECT_ID=test-environment
export GCP_REGION=us-central1
For Seqera platform, please declare the below two enviornment variables prior to attempting to run any of the seqera cli commands:
export PLATFORM_TOKEN=
export PLATFORM_URL=
Contact
Shahbaz Mahmood - shahbazmahmooood@gmail.com
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
Built Distribution
File details
Details for the file batch_debugging_cli-0.0.9.tar.gz
.
File metadata
- Download URL: batch_debugging_cli-0.0.9.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.7 Darwin/23.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab0872cf2b899cd38c94ec4560019c07410f5fe7d6a21552b4076fc954a8b066 |
|
MD5 | 432e5a925c15802458671ab7dd78b627 |
|
BLAKE2b-256 | 66dbde336fbdd886536a0f321394fef55f5d9d82e57949f820fa92107e9cbe96 |
File details
Details for the file batch_debugging_cli-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: batch_debugging_cli-0.0.9-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.7 Darwin/23.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a320cc976dcecb1d2751f6d39bf856621b7276432ced4a9a94b8c55f3e3e2e03 |
|
MD5 | d5ca5d7063283e9e700120916198e217 |
|
BLAKE2b-256 | 0c2a14a1d4f8019ef1e028666163e776882bbb87fd73dfdcf54b12cae5af72d4 |