# Shadow Cradle Demo - Interactive Experience

## About This Demo

This is an interactive demonstration of Shadow Cradle, an enterprise backup and disaster recovery appliance. The demo runs entirely in your browser with comprehensive sample data, allowing you to explore all features without installation.

## Demo Credentials

### User Accounts
- **Admin** (full access)
  - Username: `admin`
  - Password: `shadowcradle`

- **Operator** (backup operations)
  - Username: `operator`
  - Password: `operator123`

- **Viewer** (read-only)
  - Username: `viewer`
  - Password: `viewer123`

## Sample Data Included

### Infrastructure (4 Virtual Machines)
1. **web-server-prod**
   - OS: Ubuntu 22.04
   - Status: Running
   - CPU: 4 vCPUs
   - RAM: 8GB
   - Purpose: Production web server

2. **database-server**
   - OS: Debian 11
   - Status: Running
   - CPU: 8 vCPUs
   - RAM: 16GB
   - Purpose: Database server

3. **windows-desktop**
   - OS: Windows 10
   - Status: Stopped
   - CPU: 4 vCPUs
   - RAM: 8GB
   - Purpose: Development desktop

4. **test-environment**
   - OS: Ubuntu 22.04
   - Status: Running
   - CPU: 2 vCPUs
   - RAM: 4GB
   - Purpose: Testing environment

### Containers (5 Docker Containers)
1. **nginx-proxy** - Running reverse proxy
2. **redis-cache** - Running caching layer
3. **postgres-db** - Running database
4. **api-server** - Running Node.js API
5. **monitoring-grafana** - Stopped monitoring dashboard

All containers include 24 hours of performance metrics (CPU, memory, network, disk I/O).

### Storage Systems

**ZFS Storage Pools (2)**
1. **tank**
   - Size: 2.5TB
   - Used: 2.1TB
   - Free: 400GB
   - Features: Deduplication, compression

2. **backup-pool**
   - Size: 10TB
   - Used: 6TB
   - Free: 4TB
   - Features: Deduplication, compression

**NAS Remote Storage (3)**
1. **backup-nas-primary** - NFS, 5TB, mounted
2. **media-server** - SMB, 10TB, mounted
3. **archive-storage** - NFS, 20TB, unmounted

**Block Storage (4)**
1. **iscsi-lun1** - 1TB, connected
2. **iscsi-lun2** - 2TB, connected with multipath
3. **fc-storage1** - 5TB Fibre Channel, connected
4. **iscsi-backup** - 10TB, disconnected

### Protected Systems & Backups (3)
1. **web-server-01**
   - Platform: Linux
   - Snapshots: 2
   - Schedule: Daily
   - Status: Protected

2. **WIN-DB-SERVER**
   - Platform: Windows Server 2022
   - Snapshots: 1
   - Schedule: Daily
   - Status: Protected

3. **dev-workstation**
   - Platform: Fedora 39
   - Snapshots: 0
   - Status: Offline

### Restore Jobs (4)
1. **restore-web-server-config** - Completed (file-level)
2. **restore-database-backup** - In Progress 67% (volume-level)
3. **restore-vm-from-snapshot** - Completed (instant recovery)
4. **restore-home-directory** - Failed (file-level)

### Virtual Networks (2)
1. **vm-network-1**
   - Subnet: 192.168.100.0/24
   - DHCP: Enabled
   - Status: Active

2. **isolated-network**
   - Subnet: 10.10.10.0/24
   - DHCP: Disabled
   - Status: Isolated

### Security & Administration

**Users (3)**
- Admin, Operator, Viewer accounts with different permission levels

**Encryption Keys (3)**
1. **backup-encryption-key** - AES-256-GCM, auto-rotate enabled
2. **luks-disk-encryption** - aes-xts-plain64, for /dev/sdb
3. **archive-encryption** - ChaCha20-Poly1305

**Active Alerts (5)**
1. **Critical:** Backup Job Failed
2. **High:** Disk Space Low (85%)
3. **Medium:** VM Performance Degradation (acknowledged)
4. **Low:** Certificate Expiring Soon
5. **Info:** Backup Completed Successfully (dismissed)

**Audit Log Entries (10)**
Recent user actions including logins, backups, VM operations, and configuration changes.

### Monitoring Data
- **24 Hours of System Metrics:** CPU usage, temperature, memory, disk I/O, network traffic
- **Container Statistics:** Per-container resource usage with charts
- **Performance Dashboards:** Real-time and historical data visualization

## Features You Can Explore

### 1. Dashboard Overview
- System health summary
- Recent backup jobs
- VM and container status
- Performance metrics
- Active alerts

### 2. Virtual Machine Management
- View VM list and details
- Start/stop/clone VMs (simulated)
- Access WebVNC console (demo)
- Resource allocation configuration
- Snapshot management
- Network configuration

### 3. Docker Container Management
- Container lifecycle operations
- Resource monitoring with charts
- Environment variables
- Volume and network management
- Health check configuration
- 24-hour performance history

### 4. Backup & Recovery
- View protected systems
- Explore backup schedules
- Check snapshot history
- Configure retention policies
- Browse restore jobs
- Point-in-time recovery options

### 5. Storage Management
- **ZFS Pools:** View pool status, dedup/compression stats
- **NAS Storage:** Browse mounted shares
- **Block Storage:** iSCSI and Fibre Channel devices
- **Capacity Monitoring:** Storage utilization trends

### 6. Network Management
- Virtual network configuration
- DHCP server settings
- Network isolation
- Firewall rules
- Virtual switches and routers
- Security groups

### 7. Security Features
- User management with RBAC
- Encryption key management
- Audit log viewing and filtering
- Alert configuration
- Two-factor authentication settings

### 8. Monitoring & Alerts
- System performance charts
- Container resource graphs
- Alert dashboard
- Custom alert rules
- Notification webhooks

## Interactive Tutorial

The demo includes an interactive tutorial system:
- Click the **"?"** button in the top navigation
- **Page Help:** Context-sensitive help for each screen
- **Tutorial Mode:** Guided tours of features
- **Examples:** Step-by-step walkthroughs
- **Tips:** Best practices and troubleshooting

## Demo Limitations

This is a demonstration environment with the following characteristics:

- **Mocked Data:** All data is client-side mocked data
- **Simulated Actions:** Operations are simulated (no real VMs/containers)
- **Read-Only (mostly):** Changes reset on page reload
- **No Backend:** Runs entirely in the browser
- **No Database:** No MongoDB or real data persistence

## Common Demo Tasks

### Task 1: View Virtual Machines
1. Login as admin
2. Navigate to "Virtual Machines"
3. View VM list with status and resources
4. Click on a VM for details
5. Try the WebVNC console (demo mode)

### Task 2: Explore Backups
1. Go to "Protected Systems"
2. Select "web-server-01"
3. View snapshot history
4. Check backup schedule
5. Review retention policy

### Task 3: Monitor Containers
1. Navigate to "Docker Containers"
2. Select a running container
3. View 24-hour performance charts
4. Check resource usage
5. Review environment variables

### Task 4: Check Storage
1. Go to "Storage Pools"
2. View ZFS pool statistics
3. Check deduplication ratios
4. Review capacity utilization
5. Explore NAS mounts in "NAS Storage"

### Task 5: Review Alerts
1. Click the alert icon in navigation
2. View alerts by severity
3. Check alert details
4. Try acknowledging/dismissing alerts

### Task 6: Try Different User Roles
1. Logout
2. Login as "operator" (operator123)
3. Notice limited access (backup-focused)
4. Logout and login as "viewer" (viewer123)
5. Observe read-only restrictions

## Technical Details

### Demo Architecture
```
Browser
  ├── React Application (Vite)
  ├── Mocked Demo Data (client-side)
  ├── Charts & Visualizations (Recharts)
  └── Interactive Tutorial System
```

### No Backend Required
- All data stored in browser memory
- No API calls to server
- No database connections
- Standalone operation

### Browser Requirements
- Modern browser (Chrome 90+, Firefox 88+, Edge 90+, Safari 14+)
- JavaScript enabled
- 2GB RAM recommended
- No plugins required

## From Demo to Production

After exploring the demo, you can:

1. **Download:** Get the full Shadow Cradle software
2. **Install:** Deploy on your infrastructure
3. **Configure:** Add real systems and storage
4. **Protect:** Start backing up your infrastructure

### Production Differences

| Feature | Demo | Production |
|---------|------|------------|
| Data | Sample/mocked | Real systems |
| Operations | Simulated | Live operations |
| Persistence | Session only | Permanent |
| Backend | Not required | FastAPI + MongoDB |
| Scale | Limited | Unlimited |
| Performance | Browser-dependent | Server-grade |

## Support & Resources

- **Full Documentation:** https://docs.shadowcradle.com
- **Download:** https://shadowcradle.com/download
- **GitHub:** https://github.com/shadowcradle/shadowcradle
- **Community:** https://community.shadowcradle.com
- **Issues:** https://github.com/shadowcradle/shadowcradle/issues

## Feedback

We welcome feedback on the demo:
- What features did you find most useful?
- What would you like to see added?
- Any issues or suggestions?

Submit feedback via GitHub issues or community forums.

---

**Demo Version:** 1.0.0
**Last Updated:** 2025
**Platform:** Web Browser (No Installation Required)

*This demo provides a comprehensive preview of Shadow Cradle's capabilities. For production use, download and install the full version.*
