AI-powered infrastructure management
Project description
Opsbox
AI-Powered Infrastructure Management
Welcome to Opsbox, the open-source platform that adds a dash of AI magic to your infrastructure management. With our flexible plugin system and policy-as-code approach using Rego, managing your infrastructure has never been this enjoyable!
Features
- 🎛️ Plugin System: Customize and extend functionality with ease.
- 📝 Policy-as-Code with Rego: Define compliance checks and policies efficiently.
- 🤖 AI Assistance: Leverage AI models to analyze and process your infrastructure data.
- 💻 Command-Line Interface: An interactive CLI.
- 📚 Documentation Support: Generate and view documentation effortlessly using mkdocs.
Installation
Ready to dive in? Let's get you set up!
Prerequisites
- Python 3.11
- uv
Step-by-Step
-
Clone the Repository
git clone https://github.com/sudoersllc/Opsbox.git cd Opsbox
-
Install with uv
We use [
uv] for managing dependencies. If you don't have it installed, you can get it via pip:pip install uv
Now, let's install Opsbox:
uv syncThis command will install all required dependencies specified in
pyproject.toml.
Running Opsbox
Time to see the magic in action!
Simply run:
python -m opsbox
This will launch Opsbox and display the CLI help along with available commands.
Example Usage
Want to run a specific pipeline? Here's how:
python -m opsbox --modules your_input-your_optional_assistant-your_output --opa_upload_url http://your-opa-upload-url --opa_apply_url http://your-opa-apply-url
Configuration
Opsbox is flexible when it comes to configuration. You can provide options via:
- Command-Line Arguments
- Configuration Files
- Environment Variables
Using a Configuration File
Create a file named .opsbox_conf.json in your home directory:
{
"aws_access_key_id": "YOUR_ACCESS_KEY_ID",
"aws_secret_access_key": "YOUR_SECRET_ACCESS_KEY",
"aws_region": "YOUR_AWS_REGION",
"opa_upload_url": "http://your-opa-upload-url",
"opa_apply_url": "http://your-opa-apply-url"
}
Command-Line Arguments
You can also provide configuration options directly through the command line:
python -m opsbox --modules example_module --aws_access_key_id YOUR_ACCESS_KEY_ID --aws_secret_access_key YOUR_SECRET_ACCESS_KEY --aws_region YOUR_AWS_REGION --opa_upload_url http://your-opa-upload-url --opa_apply_url http://your-opa-apply-url
Let's Get Started!
Now that you're all set, it's time to unleash the power of AI on your infrastructure. Happy automating!
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file opsbox-0.1.2.tar.gz.
File metadata
- Download URL: opsbox-0.1.2.tar.gz
- Upload date:
- Size: 19.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90b0fe3fcc783b11b0ec8bf9ed1fa1cb026d1e31599bd66538ae7fe898170d39
|
|
| MD5 |
9d0802facbd6ddc7b6161749a0886c53
|
|
| BLAKE2b-256 |
7b64efa7cb7f1041abd094d63c1c563222288260fcd9290b9a66f3fd5aa3f935
|
File details
Details for the file opsbox-0.1.2-py3-none-any.whl.
File metadata
- Download URL: opsbox-0.1.2-py3-none-any.whl
- Upload date:
- Size: 18.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
674e1b865593c0e49d6df36d984ccc68975f17e80d96556d23bd8c6b435dfe8e
|
|
| MD5 |
a3eebff72f3cd701ef23f40bc19b0ce7
|
|
| BLAKE2b-256 |
94d8204455d81adc9f44ca1fe34fa7f0ae7fa9243413ba10b65d7b934f0d2132
|