项目作者: c1982

项目描述 :
AWS Data Transfer Cost Explorer
高级语言: Go
项目地址: git://github.com/c1982/awsdtc.git
创建时间: 2021-05-10T23:41:48Z
项目社区:https://github.com/c1982/awsdtc

开源协议:MIT License

下载


The AWS Data Transfer Cost Explorer

The AWS Data Transfer Cost Explorer tool analyzes the billed Data Transfer items in your AWS account and presents them visualized on a map.

Motivation;

We have a continuous cost optimization case on AWS. Especially the Data Transfer tab on the Bills screen is quite long and it takes a long time to understand which areas are used more.

Another need is to catch unusual Data Transfers in our infrastructure. For example, in our infrastructure, it is not possible to get traffic from Tokyo to Sao Paulo, but thanks to this tool, we can see and solve it.

General:

Filtered:

Bubble Charts for Data Transfers:

Sunburst for Regions:

Binaries

Configuration

  • set AWS credentials in ~/.aws/credentials file
  1. [default]
  2. aws_access_key_id = A******************U
  3. aws_secret_access_key = WD/**********************************MA

or

  • set AWS credentials system environment
  1. export AWS_ACCESS_KEY_ID=A******************U
  2. export AWS_SECRET_ACCESS_KEY=WD/**********************************MA

Policy

  1. {
  2. "Version": "2012-10-17",
  3. "Statement": [
  4. {
  5. "Effect": "Allow",
  6. "Action": [
  7. "aws-portal:ViewUsage",
  8. "aws-portal:ViewBilling",
  9. "cur:DescribeReportDefinitions",
  10. "ce:GetCostAndUsage"
  11. ],
  12. "Resource": "*"
  13. }
  14. ]
  15. }

Running

  1. Download Binary for your OS
  2. Run awsdtc executable in Command Line
  3. And call in your browser http://localhost:8080

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Oğuzhan YILMAZ - @c1982 - aspsrc@gmail.com