Infrastructure Management
The Infrastructure tab provides a unified view of all your cloud resources across providers. Monitor status, access servers, stream logs, and manage resources without leaving your IDE.
- Unified view of resources across all cloud providers in one place
- Real-time status monitoring with automatic refresh
- One-click SSH access to servers directly from your IDE
- Live log streaming and metrics from any resource
- Drift detection to identify manual changes to infrastructure
Viewing Infrastructure
Open the Infrastructure tab in the Architect panel to see your resources.
Grouping Options
View resources grouped by different criteria:
Click the grouping dropdown to switch views.
Resource Tree
Resources appear in a tree structure:
Status Icons
Each resource shows a status indicator:
Status Details
Click any resource to see detailed status information:
- Current state and health
- Uptime duration
- Last status change
- Any warning or error messages
Resource Actions
Right-click any resource to see available actions.
Compute Resources (Servers/VMs)
| Action | Description |
|---|---|
| Start | Power on a stopped server |
| Stop | Gracefully shut down |
| Restart | Reboot the server |
| SSH/Connect | Open terminal session |
| View Logs | Stream server logs |
| View Metrics | CPU, memory, disk usage |
| Open in Console | Open cloud provider console |
| Copy Resource ID | Copy to clipboard |
| Delete | Remove the resource |
Database Resources
| Action | Description |
|---|---|
| Connect | Open database client |
| View Backups | List available backups |
| Scale Storage | Increase storage size |
| View Metrics | Connections, queries, storage |
| Open in Console | Open cloud provider console |
All Resources
| Action | Description |
|---|---|
| View in Designer | Show resource on canvas |
| Open in Cloud Console | Open provider’s web console |
| Copy Resource ID | Copy identifier to clipboard |
| Refresh | Update status immediately |
SSH Access
Connect to servers directly from your IDE.
One-Click SSH
- Find the server in the Infrastructure tree
- Right-click → SSH/Connect
- Terminal opens with active connection
Enter to quickly open an SSH session.
SSH Configuration
Architect uses credentials from:
- Credential Vault (if SSH key stored)
- Standard SSH config (
~/.ssh/config) - Cloud provider’s SSH keys (auto-detected)
Supported Protocols
Log Streaming
View real-time logs from any resource.
Viewing Logs
- Right-click a resource → View Logs
- Log viewer opens with streaming output
- New log entries appear automatically
Log Controls
| Control | Function |
|---|---|
| Pause | Stop auto-scroll, keep receiving |
| Clear | Clear the log display |
| Search | Find text in logs |
| Filter | Filter by level (info, warn, error) |
| Download | Save logs to file |
| Tail Lines | Number of historical lines to load |
Multi-Resource Logs
View combined logs from multiple resources:
- Select multiple resources (Ctrl/Cmd + click)
- Right-click → View Combined Logs
- Logs interleaved with resource labels
Real-Time Metrics
View live resource utilization.
Available Metrics
| Metric | Resources |
|---|---|
| CPU Usage | Servers, containers |
| Memory Usage | Servers, containers, databases |
| Disk Usage | Servers, volumes |
| Network I/O | Servers, load balancers |
| Connections | Databases, load balancers |
| Request Rate | Load balancers, APIs |
Metrics Display
- Sparkline graphs show trends
- Current value with percentage
- Warning thresholds highlighted
- Click to expand detailed view
Refreshing Data
Automatic Refresh
Infrastructure data refreshes automatically:
- Default interval: 60 seconds
- Configurable in settings:
architect.autoRefreshInterval
Manual Refresh
- Click Refresh button in toolbar
- Press
Ctrl+R/Cmd+R - Right-click → Refresh
Refresh Scope
Detecting Drift
Architect can detect when deployed infrastructure differs from your design.
Drift Indicators
Resolving Drift
- Click a drifted resource
- Review the differences
- Choose:
- Update Design: Match design to reality
- Apply Design: Override with design (redeploy)
Troubleshooting
No infrastructure detected
- Verify your project has
.tf,.env, orterraform.tfstatefiles - Check credentials are configured in the Vault
- Ensure cloud provider API is accessible
- Click Refresh to reload
Connection failed for SSH
- Verify the server has a public IP or VPN access
- Check SSH keys are configured
- Ensure security groups allow SSH (port 22)
- Try connecting via cloud console first
Metrics unavailable
- Some metrics require agents (CloudWatch, metrics-server)
- Verify the resource supports metrics
- Check cloud provider permissions
Status not updating
- Check internet connectivity
- Verify cloud credentials haven’t expired
- Try manual refresh
- Check for API rate limiting
Best Practices
Organizing Resources
- Use consistent naming conventions
- Tag resources with environment (dev/staging/prod)
- Group related resources in the same view
Monitoring
- Enable alerting in your cloud provider
- Check infrastructure status regularly
- Set up dashboards for critical resources
Security
- Use least-privilege credentials
- Audit SSH access regularly
- Keep security groups restrictive
- Monitor for unexpected resources