Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Boavizta/cloud-scanner
π‘ Get Boavizta impact data for your aws cloud account usage.
https://github.com/Boavizta/cloud-scanner
aws cli serverless sustainability
Last synced: 3 months ago
JSON representation
π‘ Get Boavizta impact data for your aws cloud account usage.
- Host: GitHub
- URL: https://github.com/Boavizta/cloud-scanner
- Owner: Boavizta
- License: agpl-3.0
- Created: 2022-04-14T09:27:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-11T09:06:26.000Z (5 months ago)
- Last Synced: 2024-06-11T17:26:25.927Z (5 months ago)
- Topics: aws, cli, serverless, sustainability
- Language: Rust
- Homepage:
- Size: 4.08 MB
- Stars: 32
- Watchers: 5
- Forks: 7
- Open Issues: 55
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- open-sustainable-technology - CloudScanner - Get Boavizta impact data for your AWS cloud account usage. (Consumption / Computation and Communication)
README
Boavizta's Cloud-scanner returns environmental impacts of your AWS Instances (EC2) usage.---
```mermaid
graph LR;
inventory[ Account inventory]
api[Impacts from BoaviztaAPI]
metrics[Prometheus metrics]
json[JSON output]
inventory --> api
api --> metrics
api --> json
```Cloud scanner combines real time _inventory_ and _usage_ data from your AWS account with [Boavizta API](https://github.com/Boavizta/boaviztapi/) to offer a view of your impacts on a given region.
- multi criteria: Primary Energy consumption (PE), Abiotic resource depletion potential (ADP), and Global Warming Potential (GWP)
- multi stage: separate impacts of resources Usage and ManufactureThis is similar to what you can get from [Datavizta](http://datavizta.boavizta.org/cloudimpact) but with automated inventory.
Estimations can be filtered by tags. It eases attribution to a specific server, environment, application or service.
Cloud-scanner can be used:
- from command line, to get an immediate view of your impacts π»
- as a metric server . You can use it to monitor and display real time impacts in a dashboard π![A example dashboard rendering cloud scanner metrics](docs/src/images/cloud-scanner-dashboard-clear.png "A example dashboard rendering cloud scanner metrics in Grafana")
How it works:
Cloud scanner follows Boavizta approach.
> Thibault Simon, David Ekchajzer, Adrien Berthelot, Eric Fourboul, Samuel Rince, et al.. BoaviztAPI: a bottom-up model to assess the environmental impacts of cloud services. HotCarbon'24. Workshop on Sustainable Computer Systems, Jul 2024, Santa Cruz, United States. [β¨hal-04621947v1β©](https://hal.science/hal-04621947v1)
![System in context diagram of cloud scanner](docs/src/images/cloud-scanner-system-in-context.png "System in context diagram of cloud scanner")
## Usage and documentation
The complete documentation: [Introduction - Boavizta cloud scanner π‘](https://boavizta.github.io/cloud-scanner/).
## Getting started π
- [Quickstart - dashboard using docker π³ - Boavizta cloud scanner π‘](https://boavizta.github.io/cloud-scanner/tutorials/quickstart-dashboard-docker.html)
- [Quickstart - using CLI docker π³ - Boavizta cloud scanner π‘](https://boavizta.github.io/cloud-scanner/tutorials/quickstart-docker.html)## Deployment as a serverless app (aws lambda) β‘
Cloud scanner can also be deployed as a serverless application for aws.
- [Quickstart as serverless β‘ - Boavizta cloud scanner π‘](https://boavizta.github.io/cloud-scanner/tutorials/quickstart-serverless.html)
- [Serverless design - Boavizta cloud scanner π‘](https://boavizta.github.io/cloud-scanner/reference/serverless-design.html)## Output formats
Cloud scanner returns data as _json_ or _Open Metrics_ (Prometheus) format.
See [Output data - Boavizta cloud scanner π‘](https://boavizta.github.io/cloud-scanner/reference/output-data.html)
## β Perimeter / scope and limits
Cloud scanner _only_ estimates the impacts of your AWS EC2 instances and optionally block storage.
The limitations of cloud-scanner are documented in [Limitations - Boavizta cloud scanner π‘](https://boavizta.github.io/cloud-scanner/reference/limits.html)