There are only two prerequisites:
Having both, you'll need to clone the repository:
git clone https://github.com/Ardark27/practica_cloud_dash
You'll need to run the docker containers:
docker build -t dash .
We test if the containers are active
docker run -p 8080:8080 dash
Now you have access to:
-
Dashboard: http://127.0.0.1:8080/
-
Dashboard Cloud Run url: https://practica-cloud-dash-y7xai6tbmq-no.a.run.app (May take a while, as it is serverless)
The following services have been used in this practice:
- Cloud run by Google
- Lambda AWS
- DynamoDB AWS
Every day we run a lambda at 22:00, with which through webscrapping we obtain the data that we send to dynamoDB.
DynamoDB:
Sample data: https://pastebin.pl/view/53dde1a6
In the dashboard made with dash we get the data from dynamoDB with boto3, where we process it for the different tabs.
The dash components used are those of boostrap:
- Boostrap Documentation: https://dash-bootstrap-components.opensource.faculty.ai/