Skip to content

About

Cloud-Based File Storage System

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Cloud Project ☁️

Cloud-Based File Storage System

Check out the professor's official repo, and the execution log to see my work!


⚙️ Architecture Overview

Component Purpose
Docker Compose Orchestrates all containers and networking.
Nextcloud Simulates a self-hosted cloud storage service under test.
Prometheus Scrapes and stores metrics from Nextcloud Exporter.
Nextcloud Exporter Exposes metrics in Prometheus format for scraping.
Grafana Visualizes performance metrics and dashboards.
Locust Generates synthetic load (file uploads/downloads) to stress-test Nextcloud.

🚀 How to Run the Project

Prerequisites


Setup Steps 🧩

# Clone the repository
git clone https://github.com/<your-username>/CloudProject.git
cd CloudProject

# Start PowerShell as Administrator
Win + X → “Windows PowerShell (Admin)”

# Activate virtual environment (optional)
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force
.\.venv\Scripts\activate

# Start Docker Engine
Start-Process "C:\Program Files\Docker\Docker\Docker Desktop.exe"

# Check compose file status
docker compose --env-file .\env\.env ps

Launch the Stack ▶️

# Build and start all services
docker compose --env-file .\env\.env up -d
Service URL Description
Nextcloud http://localhost:8080 Cloud storage web app
Prometheus http://localhost:9090 Metrics database
Grafana http://localhost:3000 Visualization dashboards
Locust http://localhost:8089 Load testing UI
Nextcloud Exporter Metrics http://localhost:9205/metrics Raw Prometheus metrics

Running a Load Test 🧪

  1. Open http://localhost:8089.
  2. Set:
  3. Click Start Swarming.
  4. Observe metrics in Grafana and Prometheus.

Shut Down the Stack 🧹

To shut down Docker, run the command:

docker compose down

To remove all persisted data:

docker compose down -v

About

Cloud-Based File Storage System

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages