Git Product home page Git Product logo

s3-cost-analysis's Introduction

s3-cost-analysis

STEPS

  1. Use the RA role to get access keys via auth and then run the crawling using the bucket_list() function for the following buckets:
    • r-f-d
    • long-term storage bucket (with filter: early*/)
  2. After that, use the code in main.py to process the Pandas dataframe and calculate the cost, make sure to modify the column names to align them with the actual dataframe, and then finally produce:
    • The accumulated cost year-over-year for the years 2021, 2022, 2023, 2024 (YTD)
    • The accumulated cost for each month
    • Total storage volume per year in TB

Note

  • This calculation is a rough estimate that does not take into the effect of Intelligent-Tiering solutions, we're only using the basic pricing tiers, therefore the estimation would be inflated (the actual cost would be less than these numbers)
  • Reuse this code for further processing use cases

File

  1. simulation.ipynb
    • Contains code on how to create a simulated dataframe that contains some columns
    • file_path, file_size, file_timestamp
  2. main.py
    • With all the relevant functions that helps analyze and plot the data
    • file_path = "s3_inventory.csv"
      main(file_path)
      

s3-cost-analysis's People

Contributors

jasonz-12 avatar

Watchers

 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.