-
Notifications
You must be signed in to change notification settings - Fork 1
Installation Guide
Complete step-by-step installation guide for cloudX-proxy.
Before installing cloudX-proxy, ensure you have all required components:
cloudX-proxy requires Python 3.9 or later.
Check your Python version:
python --version
# or
python3 --versionInstall Python if needed:
- Windows/macOS: Download from python.org
-
Linux: Use your package manager (
apt install python3,yum install python3, etc.)
Used for configuring AWS profiles and credentials.
Installation:
- Follow the AWS CLI v2 Installation Guide
- Important: Install v2, not v1
Verify installation:
aws --version
# Should show: aws-cli/2.x.x...Enables secure tunneling through AWS Systems Manager.
Installation:
- Follow the Session Manager Plugin Installation Guide
- Available for Windows, macOS, and Linux
Verify installation:
session-manager-plugin
# Should show version informationHandles SSH connections and key management.
Installation:
- Windows: Microsoft's OpenSSH Installation Guide
- macOS/Linux: Usually pre-installed
Verify installation:
ssh -V
# Should show OpenSSH versionModern Python package installer and virtual environment manager.
pip install uvVerify installation:
uvx --version
# Should show uv versionYour development environment.
Installation:
- Install Visual Studio Code
- Install the "Remote - SSH" extension from the marketplace
- Optionally install "Remote Explorer" for better visualization
cloudX-proxy is available on PyPI and runs using uvx without explicit installation:
# Test installation by running setup
uvx cloudx-proxy setup --helpThe first time you run this command, uvx will:
- Create an isolated virtual environment
- Download and install cloudx-proxy and its dependencies
- Run the command
Before using cloudX-proxy, you need:
- An active AWS account with appropriate permissions
- IAM user credentials (not root account)
Configure your AWS credentials:
aws configure --profile myprofileProvide:
- Access Key ID: Your IAM user access key
- Secret Access Key: Your IAM user secret key
-
Default region: Your preferred AWS region (e.g.,
us-east-1) -
Output format:
json(recommended)
You'll need EC2 instances to connect to. These can be:
- CloudX instances (if you're using the CloudX environment)
- Regular EC2 instances with SSM agent installed
Instance Requirements:
- SSM agent installed and running
- Proper IAM role attached for SSM connectivity
- Instance must be in a subnet with internet access (for SSM communication)
Verify your complete setup:
# Check Python
python --version
# Check AWS CLI
aws --version
aws sts get-caller-identity --profile myprofile
# Check Session Manager plugin
aws ssm start-session --target i-1234567890abcdef0 --profile myprofile
# Check cloudX-proxy
uvx cloudx-proxy --helpOnce installation is complete:
- Run Setup: Follow the Setup Command guide
- Configure VSCode: See VSCode Configuration
- Connect: Start using your EC2 instances!
- "python not found": Ensure Python is in your PATH
- Version too old: Update to Python 3.9+
-
Permission denied: Use
python -m pipinstead ofpip
- "aws command not found": Check PATH, restart terminal
-
Credential errors: Run
aws configureagain - Version 1 installed: Uninstall v1, install v2
- "plugin not found": Check installation, restart terminal
- macOS permission issues: Allow in System Preferences → Security
- Windows PATH issues: Restart terminal after installation
-
"uvx command not found": Reinstall uv:
pip install --upgrade uv -
Package errors: Clear cache:
uv cache clean - Permission issues: Check Python installation permissions
For more installation troubleshooting, see the Troubleshooting Guide.