Getting Started with CloudWorkstation¶
Quick Start (5 minutes)¶
CloudWorkstation provides pre-configured research environments without complex setup requirements.
1. Installation¶
See the main Installation Guide for detailed installation instructions for your platform (macOS, Linux, Windows, Conda).
Quick install:
# Windows
scoop bucket add scttfrdmn https://github.com/scttfrdmn/scoop-bucket
scoop install cloudworkstation
2. AWS Setup¶
CloudWorkstation uses your existing AWS credentials. If you don't have AWS CLI configured:
For detailed AWS setup including IAM permissions, see the Administrator Guide or AWS IAM Permissions.
3. Launch Your First Environment¶
# See available templates
cws templates
# Launch a Python ML environment
cws launch python-ml my-first-project
# Get connection info
cws connect my-first-project
That's it! Your research environment is ready.
Choose Your Interface¶
CloudWorkstation offers three ways to interact:
🖥️ GUI (Desktop App)¶
Perfect for visual management and one-click operations.
📱 TUI (Terminal Interface)¶
Keyboard-driven interface for remote work and SSH sessions.
💻 CLI (Command Line)¶
Scriptable interface for automation and power users.
Essential Commands¶
Template Management¶
cws templates # List available environments
cws templates info python-ml # Get template details
cws launch python-ml my-project # Launch environment
Instance Management¶
cws list # Show running instances
cws connect my-project # Get connection info
cws stop my-project # Stop when not in use
cws start my-project # Resume later
cws delete my-project # Remove completely
Cost Optimization¶
cws hibernate my-project # Preserve RAM, reduce costs
cws resume my-project # Resume hibernated instance
cws idle enable # Auto-hibernate idle instances
Common Research Workflows¶
Data Science Project¶
# Launch Jupyter environment
cws launch python-ml data-analysis --size L
# Create shared storage
cws volume create shared-datasets
# Connect and start working
cws connect data-analysis
# Opens: ssh user@ip-address -L 8888:localhost:8888
# Jupyter: http://localhost:8888
R Statistical Analysis¶
# Launch R + RStudio environment
cws launch r-research stats-project
# Get RStudio connection
cws connect stats-project
# Opens: http://ip-address:8787 (RStudio Server)
Custom Environment¶
# Start with base template
cws launch basic-ubuntu my-custom
# Customize your setup
cws connect my-custom
# Install packages, configure tools
# Save for reuse
cws save my-custom custom-template
Troubleshooting¶
"Daemon not running"¶
# Check daemon status
cws daemon status
# Restart daemon if troubleshooting (rarely needed - daemon auto-starts)
cws daemon stop
# Next command will auto-start fresh daemon
cws templates
"AWS credentials not found"¶
"Permission denied" errors¶
Make sure your AWS user has the required permissions. See our AWS IAM Permissions for complete IAM policies, or run:
Instance launch fails¶
# Check AWS region and availability
aws ec2 describe-availability-zones
# Try different region
cws launch python-ml my-project --region us-east-1
Next Steps¶
- Browse Templates: Explore research environments with
cws templates - Join Community: Share templates and get help
- Read Guides: Detailed documentation in
/docsfolder - Cost Optimization: Learn about hibernation and spot instances
- Team Collaboration: Set up shared storage and project management
Need Help? Open an issue on GitHub or check our documentation.
Advanced Features¶
Template Stacking¶
# Build on existing templates
cws apply gpu-drivers my-project # Add GPU support
cws apply docker-tools my-project # Add Docker
Project Management¶
# Create research project
cws project create brain-study --budget 500
# Launch in project context
cws launch neuroimaging analysis --project brain-study
Custom AMIs¶
# Build optimized AMI from template
cws ami build python-ml --region us-west-2
# Save running instance as template
cws ami save my-project custom-env
🎯 Key Principle: CloudWorkstation defaults to success. Most commands work without options, with smart defaults for research computing.