Real-Time Cloud Infrastructure Monitoring Dashboard
CloudScope is a full-stack cloud monitoring dashboard designed to track live infrastructure health, system performance, alerts, anomalies, and optimization insights. It connects frontend + backend services and can be integrated with AWS EC2 instances for real-time metrics collection.
- CPU Usage
- Memory / RAM Usage
- Disk Usage
- Network In / Out
- Latency Metrics
- Timestamps
- Auto Refresh / Polling
- High CPU Alerts
- Memory Threshold Alerts
- Disk Usage Warnings
- Healthy / Warning / Critical Status Indicators
- Anomaly Score
- Suspicious Usage Pattern Detection
- Resource Spike Identification
- Metric Cards
- Charts / Graphs
- Historical Trends
- Live Dashboard Updates
- Connect to AWS EC2 Instance
- Fetch Real System Metrics
- SSH-based Monitoring
- Secure
.envConfiguration
- Dockerized Frontend + Backend
- Easy Multi-Service Startup
- Portable Deployment
- Streamlit / React (depending on your implementation)
- Python (FastAPI / Flask)
- AWS EC2
- Docker
- Docker Compose
CloudScope/
│── frontend/
│── backend/
│── docker-compose.yml
│── Dockerfile
│── .env
│── requirements.txt
│── README.md
git clone <your-repo-url>
cd CloudScopeCreate a .env file in the root folder:
AWS_HOST=54.82.239.35
AWS_DNS=ec2-54-82-239-35.compute-1.amazonaws.com
AWS_USER=ec2-user
AWS_PORT=22
AWS_REGION=us-east-1
AWS_KEY_PATH=./keys/your-key.pem
POLL_INTERVAL=5
CPU_ALERT_THRESHOLD=80
MEMORY_ALERT_THRESHOLD=80
DISK_ALERT_THRESHOLD=85
APP_ENV=developmentReplace
AWS_KEY_PATHwith your actual.pemfile path.
cd backend
pip install -r requirements.txt
python app.pycd frontend
streamlit run app.pydocker-compose up --buildThen open your browser:
Frontend: http://localhost:8501
Backend: http://localhost:8000
(Ports may vary depending on your setup.)
CloudScope connects to your EC2 instance using SSH and fetches metrics like:
- CPU
- RAM
- Disk
- Network
- Latency
- Running Status
ssh -i your-key.pem ec2-user@54.82.239.35If login works, CloudScope can connect successfully.
GET /health
GET /metrics
GET /alerts
GET /history
The dashboard includes:
- Live Metric Cards
- Historical Charts
- Alert Panel
- Health Status Badges
- Last Updated Timestamp
- AWS Source Indicator
- Check backend is running
- Check frontend API URL
- Verify
.envvalues - Confirm AWS instance is running
- Test SSH manually
- Check Docker logs
- Verify
.pemfile - Check Security Group port 22
- Confirm username is
ec2-user
docker-compose down
docker-compose up --build- Multi-instance Monitoring
- CloudWatch Integration
- Email / Slack Alerts
- Authentication
- Role-based Access
- Database Storage
- Predictive Analytics
- Cost Forecasting