The Clouddley CLI is a command-line tool that allows you to interact with the Clouddley Platform from your terminal. With the CLI, you can perform various actions, such as deploying resources, managing configurations, and automating tasks.
Installing the latest version:
curl -L https://raw.githubusercontent.com/clouddley/cli/main/install.sh | sh
Installing a specific version:
curl -L https://raw.githubusercontent.com/clouddley/cli/main/install.sh | sh -s v1.0.0
Run the following command in PowerShell:
iwr https://raw.githubusercontent.com/clouddley/cli/main/install.ps1 -useb | iex
You can also download the binary for your platform from the releases page and add it to your PATH.
clouddley [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
help Help about any command
triggr Manage Triggr resources
version Print the version number of Clouddley CLI
vm Manage virtual machines across cloud providers
Flags:
-h, --help help for clouddley
The Clouddley CLI now supports creating and managing virtual machines on AWS:
-
Configure AWS credentials:
# Set your AWS profile export AWS_PROFILE=your-profile-name # Or configure default credentials aws configure
-
Ensure you have SSH keys:
# Generate an SSH key if you don't have one ssh-keygen -t ed25519 -C "[email protected]" # or ssh-keygen -t rsa -b 4096 -C "[email protected]"
# Create a new AWS EC2 instance (interactive)
clouddley vm aws create
# List all instances created by Clouddley CLI
clouddley vm aws list
# Stop an instance
clouddley vm aws stop --id i-1234567890abcdef0
# Delete (terminate) an instance
clouddley vm aws delete --id i-1234567890abcdef0
- Interactive UI: Uses Bubble Tea for beautiful interactive selection of environment and instance types
- Smart SSH Key Management: Automatically detects and imports local SSH keys to AWS
- Environment-Based Pricing: Shows different instance types for development/test vs production workloads
- Cost Visibility: Displays estimated monthly costs for each instance type
- Safe Operations: Confirmation prompts for destructive operations
- AWS Profile Support: Respects your AWS_PROFILE environment variable
If you have any suggestions, feature requests, or bug reports, please create an issue on the GitHub repository.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.