in ,

similarweb / finala, Hacker News

similarweb / finala, Hacker News

A resource cloud scanner that analyzes and reports about wasteful and unused resources to cut unwanted expenses. The tool is based on yaml definitions (no code), by default configuration OR given yaml file and the report output will be saved in a given storage.

Currently it is implemented for AWS resources (RDS, EC2 instances, DynamoDB, ElasticCache, documentDB, ELB and etc) and can be easily extended.

 -------------------------------- -------------------------------------------------- ---------------   | ID | REGION | INSTANCE TYPE | MULTI AZ | ENGINE | PRICE PER HOUR | PRICE PER MONTH |   ------------------------------------------------- ------------------------------------------------   | arn: aws: rds: | us-east-1 | db.m3.medium | true | mysql | 0. 25 1, (**************************************************************. 6 | | arn: aws: rds: | us-east-1 | db.t2.medium | false | mysql | 0. 83 (************************************************************. 129   ------------------------------------------------- ------------------------------------------------ 

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

How To Use

All the logic is contained inside.

your Cloud provider (currently AWS only) credentials and accounts you want to analyze.

providers:   aws

:   -name:     access_key

:   secret_key

:    regions:       -Let it

(Optional:) There are defaults but, You can specify your own resources to analyze and change the metrics thresholds.

For example:

If you want to test RDS resources that had no zero connections in the last week:

rds      -description:
    1. Database connection count        metrics

:         -name:DatabaseConnections

             statistic

:

period

: (h)          start_time

: h

# 83 (h) * 7 (d)=(h)          constraint

:         operator: ()

    1. ==        value:

Prerequisites

    1.   AWS access key and secret key (with readonly access)

        1. Optional: Docker

        2. Installing

          Build from source

          $ *** git clone git @ github. .com: kaplanelad / finala.git $ make build

          To run:

          $ ./finala aws -c $ {PWD} /config.yaml

          For configexample

          Download the binary https://github.com/ similarweb / finala / releases

 Dynamic parameters

By default all the data will save in sqlite in local folder

--clear-storage Clear storage data (default true) -c, --config string config file path -h, --help help for finala     --storage-connection-string string Storage connection string. Default will be DB.db (default "DB.db")     --storage-driver string Storage driver. (Options: mysql, postgres, sqlite3, mssql) (default "sqlite3")

Running the tests

$ make test  $ make test-html

Built With

AWS SDK 01575879Contributing

All pull requests and issues are more then welcome!

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *

GIPHY App Key not set. Please check settings

Anthony Joshua's next opponent 'sounds like it will be' Kubrat Pulev, says Eddie Hearn – Sky Sports, Skysports.com

Anthony Joshua's next opponent 'sounds like it will be' Kubrat Pulev, says Eddie Hearn – Sky Sports, Skysports.com

Karnataka bypoll results Updates: BS Yediyurappa retains majority with BJP bagging six seats, leading in 6 others; CM thanks people for mandate – Firstpost, Firstpost.com

Karnataka bypoll results Updates: BS Yediyurappa retains majority with BJP bagging six seats, leading in 6 others; CM thanks people for mandate – Firstpost, Firstpost.com