CostPilot
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.
- (2) Use a configuration file. You can analyze multiple cloud accounts at a time if you use this method.
4. Sample Result
5. Data Flow Diagram
Code of Conduct
Contributor Convention
Authorization
CostPilot uses Apache License 2.0 licensing agreement
for authorization.
Weibo | Zhihu | Bilibili
| WeChat Official Account
If you want more information about the service, scan the following QR code to contact us: