Skip to content

haru-256/gcp-billing-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Billing Reporter

Google Cloud Architecture

---
title: Billing Reporter
---
flowchart LR
    subgraph Google Cloud
    scheduler["Cloud Scheduler\n run everyday at 7:00"] --> pubsub[Cloud PubSub]
    pubsub --> function[Cloud Function]
    function <-->|fetch cost data| bigquery[BigQuery]
    end
    subgraph Github
    github["Github Action\n Deploy if commit on main branch"] -->|deploy| function
    end
    subgraph Slack
    function -->|post cost message| slack[slack channel]
    end
Loading

Directory

.
├── README.md
├── .github/workflows/
├── src/
└── terraform/
  • src: Source of Billing Reporter, which is written by Python.
  • terraform: Manage infrastructure, google cloud, github, terraform cloud. Those are managed by IaC, terraform.
  • .github/workflows: Github Action. Now, there are Lint-CI and Billing Reporter Deployment which is deployed to Google Cloud.

About

Reporting gcp cost to slack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published