Due to the needs in the analysis of the information obtained from users' devices, we develop a dataplugin that allows to articulate the information collected by the company through the devices, performing a periodic backup in an S3 bucket that is migrated to a database from AWS Timestream and thus, improve the compatibility of the data for its integration with the rest of the services offered by Amazon Web Services and other services such as Grafana.
- Python 3.7
- Boto3 (SDK for python)
- JSON
- XML
- AWS Lambda Function
- AWS Cloudwatch
- AWS S3
- AWS Timestream
FILES | DESCRIPTION |
---|---|
src/control.py | Contains the functions: setup: Set all the variables to execute the dataplugin. |
src/function.py | Contains the functions: main: Principal function that takes AWS data, timezone data, backup time data and set up parameters object. |
src/lambda_timestream_backup.py | Contains the functions: read_s3: Gets an object from an AWS S3 bucket and prepares the data stored (AWS Timestream). |
src/view.xml | Contains the form with the fields required for the plugin working. |
manifest.json | Describes essential information about the plugin |
LICENSE | MIT License ( Copyright (c) 2021 Ubidots ) |
Below, we present the general infrastructure of this project, which was carried out as a final project for Holberton School to the Ubidots company.
Read more : (https://github.com/oimoralest/timestream_ubidots/documentation.pdf)
Here is a working live demo: (https://drive.google.com/file/d/11ru1DBxqjo8AOQpEgFnb5KyIoKEA7Oob/view)
Laura Álvarez - Manager Engineer and Full Stack Developer (apla02@gmail.com)
Fabian Carmona - Product Design Engineer and Full Stack Developer (carmona.vargas.fabian@gmail.com)
Luis Carvajal - Mechatronic Engineer Stud. and Full Stack Developer (luiscarvajal05@gmail.com)
Luis Calderón Mechanical Engineer and Full Stack Developer (luismiguel.calderone@gmail.com)
Óscar Morales - Chemical Engineer and Full Stack Developer (oimoralest@gmail.com)
MIT License - Copyright (c) 2021 Ubidots