CLI Automation
Automate GPU rentals with the clore CLI — bash scripts, CI/CD pipelines, monitoring, and batch operations
Basic Workflow
# 1. Find a GPU
clore search --gpu "RTX 4090" --max-price 2.0 --sort price --limit 5
# 2. Deploy (use a server ID from step 1)
clore deploy 142 \
--image cloreai/ubuntu22.04-cuda12 \
--type on-demand \
--currency bitcoin \
--ssh-password MySecurePass \
--port 22:tcp \
--port 8888:http
# 3. Check your orders
clore orders
# 4. SSH into the server
clore ssh 38
# 5. Cancel when done
clore cancel 38
# 6. Check wallet balance
clore walletsCLI Command Reference
Command
Description
Scripting with CLI
Deploy and Wait for SSH
Find Cheapest GPU and Deploy
Cancel All Orders
CI/CD Integration
GitHub Actions: Deploy GPU for Training
GitLab CI: Batch Processing
Monitoring
Check Orders Periodically
Python Monitoring Script
Batch Operations
Deploy on Multiple Servers
Batch Deploy with Python (Async)
Spot Market Scanner
Cron Jobs
Daily GPU Price Check
Hourly Balance Check
Tips
Next Steps
Last updated
Was this helpful?