aws-cloud-tools

Installation

This guide covers different ways to install AWS Cloud Utilities v2.

Prerequisites

Installation Methods

!!! note “Coming Soon” PyPI installation will be available once the package is published.

pip install aws-cloud-utilities

From Source (Development)

For the latest features or development:

# Clone the repository
git clone https://github.com/jon-the-dev/aws-cloud-tools.git
cd aws-cloud-tools/v2

# Install in development mode
pip install -e .

Using the Development Script

For quick development setup:

cd aws-cloud-tools/v2
./install_dev.sh

This script will:

Verify Installation

After installation, verify everything works:

# Check version
aws-cloud-utilities --version

# Get help
aws-cloud-utilities --help

# Test basic functionality
aws-cloud-utilities account info

Dependencies

The tool automatically installs these key dependencies:

Development Dependencies

For development and testing:

pip install -e ".[dev]"

This includes:

AWS Configuration

Ensure your AWS credentials are configured:

# Using AWS CLI
aws configure

# Or set environment variables
export AWS_ACCESS_KEY_ID=your-access-key
export AWS_SECRET_ACCESS_KEY=your-secret-key
export AWS_DEFAULT_REGION=us-east-1

Troubleshooting

Permission Issues

If you encounter permission errors:

# Use --user flag
pip install --user aws-cloud-utilities

# Or use virtual environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install aws-cloud-utilities

Python Version Issues

Check your Python version:

python --version
# Should be 3.12 or higher

If you have multiple Python versions:

python3.12 -m pip install aws-cloud-utilities

AWS Credentials Issues

Test your AWS credentials:

aws sts get-caller-identity

If this fails, reconfigure your AWS credentials:

aws configure

Next Steps