GithubHelp home page GithubHelp logo

Comments (6)

mattray avatar mattray commented on July 18, 2024 1

I'm going to move this over to https://github.com/opencost/opencost-website and try to give the docs a walk-through to recreate

from opencost-website.

mattray avatar mattray commented on July 18, 2024

The OpenCost Helm chart doesn't do anything related to IAM, Athena or S3. Is the documentation here insufficient? https://www.opencost.io/docs/configuration/aws

from opencost-website.

prasoon-pxc avatar prasoon-pxc commented on July 18, 2024

In this section, it is mentioned to use CUR report and Athena database which uses AWS Glue behind the scene, but it is not mentioned here how we can create all that resources which is compatible with opencost currently we need to refer kube-cost doc for all these things

from opencost-website.

vishnu-anil avatar vishnu-anil commented on July 18, 2024

Same here. Doc talks about some Cloudformation template to create the dependent resources but cannot find it anywhere.

from opencost-website.

vishnu-anil avatar vishnu-anil commented on July 18, 2024

The OpenCost Helm chart doesn't do anything related to IAM, Athena or S3. Is the documentation here insufficient? https://www.opencost.io/docs/configuration/aws

yes its insufficient. What table/columns etc required for athena is not specified anywhere

from opencost-website.

vishnu-anil avatar vishnu-anil commented on July 18, 2024

Anyone looking for this, I was able to create required table and columns using below steps

CREATE EXTERNAL TABLE IF NOT EXISTS opencost(
  year VARCHAR(4), month VARCHAR(2), date VARCHAR(2), line_item_usage_start_date DATE, line_item_line_item_type STRING, line_item_resource_id STRING, bill_payer_account_id STRING, line_item_usage_account_id STRING, line_item_product_code STRING, line_item_usage_type STRING, line_item_unblended_cost DOUBLE)
LOCATION 's3://yourbucket/'

opencost is the table name I refer inside the json secret in kubernetes

from opencost-website.

Related Issues (20)

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.