This repository provides a Multi-Cloud Cost Management and Optimizing Framework.
- Multi-cloud Cost Management and Optimizing Framework (Codename: mc-cost-optimizer): Supports cost management and cost optimization processes for various heterogeneous clouds
- Development and Contribution strategy: Delivers cost optimization features for multicloud environments and promptly adapts to new service launches.
- Development Space: M-CMP Cost Optimizer (https://github.com/m-cmp/mc-cost-optimizer)
## 1. clone this repo
mkdir -p {your source repo}
git clone https://github.com/m-cmp/mc-cost-optimizer.git
## 2. DB install
### Example of DB installation method based on Mac
### In case of DB installation, installation is possible depending on the installation environment.
### MySQL version 8 must be installed
### create user and privileges settings
CREATE USER 'mcmpcostopti'@'%' IDENTIFIED BY '0000';
GRANT ALL PRIVILEGES ON *.* TO 'mcmpcostopti'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;
## 3. DDL/DML execution
### sql file path : /mc-cost-optimizer/mysql
### running script
mysql -u mcmpcostopti -p < init_cost_db_ddl.sql
mysql -u mcmpcostopti -p < init_mail_db.sql
mysql -u mcmpcostopti -p < init_slack_db.sql
4. docker-compose run
### Modify '.env' to suit your environment.
vi .env
### build and run docker
docker compose up -d
- node version : v20.13.1
- npm version : v10.5.2
- run command : npm run serve
- java version : 17
- spring boot version : 2.7.15
- java version : 17
- spring boot version : 3.2.8
- java version : 17
- spring boot version : 3.2.4
- mysql version : 8
- run script
- /mc-cost-optimizer/mysql/init_cost_db_ddl.sql
- /mc-cost-optimizer/mysql/init_mail_db.sql
- /mc-cost-optimizer/mysql/init_slack_db.sql
- Issues/Discussions/Ideas: Utilize issue of mc-cost-optimizer
- Code improvement: Directly contribute at the https://github.com/m-cmp/mc-cost-optimizer repository