Git Product home page Git Product logo

mrpingan / costpilot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from galaxy-future/costpilot

0.0 0.0 0.0 5.2 MB

CostPilot is an all-in-one cloud cost management platform that applies to applications hosted on all cloud platforms.

Home Page: https://www.galaxy-future.com/productCostPilot

License: Apache License 2.0

Shell 0.18% JavaScript 0.01% Go 98.38% CSS 0.03% Makefile 0.41% HTML 0.35% Dockerfile 0.65%

costpilot's Introduction

CostPilot

CodeFactor

Language

English | δΈ­ζ–‡

Introduction

CostPilot is an all-in-one cloud cost management platform that applies to applications hosted on all cloud platforms. Developed by Galaxy-Future based on the FinOps discipline, CostPilot helps enterprises cut cloud spending by up to 50%. This platform provides deep insights into your cloud cost, periodic reports that contain both cloud cost data and professional cost optimization suggestions from multiple perspectives, and even state-of-the-art techniques that you can use to efficiently optimize cloud usage.

Getting Started Guide

1. Configuration Requirements

  • To ensure stable operation of the system, we recommend that you use a server with at least 2 CPU cores and 4 GB RAM. For Linux and MacOS systems, CostPilot has already been tested.
  • The AK/SK used in operation needs to have the permission to read the bill (charge) of the corresponding cloud account.

2. Run in Source Code

To run CostPilot in source code, you need to install Git ( Git - Downloads) and Go (version 1.17+ is required) and set your Go workspace first.

  • (1) Download source code

    git clone https://github.com/galaxy-future/costpilot.git

  • (2) Use environment variables. You can analyze only one cloud account at a time if you use this method.
    • Replace 'abc' with your own AK/SK.
         COSTPILOT_PROVIDER=AlibabaCloud COSTPILOT_AK=abc COSTPILOT_SK=abc COSTPILOT_REGION_ID=cn-beijing go run .
  • (3) Use a configuration file. You can analyze multiple cloud accounts at a time if you use this method.
    • Edit conf/config.yaml as follows. You can add multiple items in cloud_accounts. Only AlibabaCloud is supported as provider for now.
       cloud_accounts:
         - provider:  # required :AlibabaCloud
           ak:  # required
           sk:  # required
           region_id:  # required
           name:  # not required
    • Execute the following make command:
      make build && make run
    • After the analysis is complete, visit website/index.html in a browser to view the analysis result.

3. Run in Docker

To run CostPilot in Docker, you need to install Docker first. For more information, see Docker Engine Install.

  • (1) Use environment variables. You can analyze only one cloud account at a time if you use this method.
    • Replace 'abc' with your own AK/SK.
      docker run --env COSTPILOT_PROVIDER=AlibabaCloud --env COSTPILOT_AK=abc --env COSTPILOT_SK=abc --env COSTPILOT_REGION_ID=cn-beijing -p 8504:8504 --name=costpilot galaxyfuture/costpilot
  • (2) Use a configuration file. You can analyze multiple cloud accounts at a time if you use this method.
    • Create your own config.yaml file, and then execute the following command. Replace /tmp/config.yaml with the absolute path of your config.yaml file.
      docker run --mount type=bind,source=/tmp/config.yaml,target=/home/tiger/app/conf/config.yaml -p 8504:8504 --name=costpilot galaxyfuture/costpilot

4. Sample Result

bill utilization

5. Data Flow Diagram

costpilot-architecture

Code of Conduct

Contributor Convention

Authorization

CostPilot uses Apache License 2.0 licensing agreement for authorization.

Contact Us

Weibo | Zhihu | Bilibili | WeChat Official Account

If you want more information about the service, scan the following QR code to contact us:

image

costpilot's People

Contributors

lbsu avatar baiyutang avatar ll-res avatar sdaulibin avatar ceciliachen123 avatar michael-zzz avatar lshmouse avatar zvanyang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.