The File Storage System implemented is well described in the report (PALACIOSFLORES_report.pdf).
In order to use the file storage system created for this project the following steps can be followed:
- Create network: Run
./create_network.sh
- Launch Nextcloud: Use
docker-compose -f docker-compose.yml up -d
- Sign-in and install Nextcloud: Access
localhost:8080
in your browser. - Enable basic security measurements and
nextcloud
trusted domain (without this local domain all the load testing functions fail):: Execute./security_setup.sh
- Configure Grafana: Access
localhost:3000
in your browser.- Log in with default credentials:
admin
for both user and password. - Navigate to Connections > Data Sources > Add data source.
- Select Prometheus > Settings > Connection. Introduce URL
http://localhost:9090
. - Go to Settings > Build a dashboard > Import a dashboard.
- Add AlertManager as a Data Source with URL
http://alertmanager:9093
.
- Log in with default credentials:
- Create users: Run
./create_users.sh
- Generate test data for load-testing: Execute
./generate_data.sh
- Launch Locust: Use
docker-compose -f docker-compose-locust.yml up -d
- Load-test with Locust: Access
localhost:8089
in your browser. - Delete users: Run
./delete_users.sh
- Docker
- Docker Compose