GithubHelp home page GithubHelp logo

zesky665 / dezc_2023_capstone Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 742 KB

My submission for the Capstone project for DataTalks Zoomcamp cohort of 20223

HCL 18.84% Dockerfile 0.97% Shell 1.42% Python 78.77%
aws azure docker docker-compose github-actions prefect python terraform

dezc_2023_capstone's Introduction

Collecting data on the cost of spot instances across the major Cloud Providers (AWS, Azure)

Objectives

  • Create a DWH for staring pricing data from various cloud providers.
  • Create orchestration that will pull data from the sources periodicaly.
  • Create a dashboard that will show relevant metrics.
  • Create a workflow to automaticaly deploy all of this.

Technology used

  • Cloud: AWS
  • Containerization: Docker with Docker-Compose
  • Infrastructure: Terraform
  • DWH: Redshift
  • Orchestration: Prefect
  • Data Transformation: Pandas
  • Data Visualization: Metabase

Setup instructions

If you want to run it locally. Local setup

If you want to run it with GitHub Actions GitHub Setup

DWH Database Schema

Data diagram

Data Sources:

Tech Diagram

Tech diagram

Dashboard

Link to dashboard

Tech diagram

Insights

  • Lower powered AWS spot instances are often as costly as on-demand. Even when available the savings are much less than typically advertized.
  • Bigger instances come with bigger discounts. For example: m5a.large spot instances are 44% cheapter than on-demand. a1.medium spot instances are the same price as on-demand.

To-Do

  • Add GCP Data.
  • Add persistance for metabase.
  • Add data quality tests to dbt flow.

Acknowledgements

Thanks to the instructors:

Thanks to collegues:

  • Anna Geller, her articles on Prefect DataOps have been a huge infuence.
  • Andy Nelson, for telling me about ZoomCamp and generaly being a great mentor.
  • Matt Little, his articles on Terraform and AWS were what made this entire project possible.

Contact information

dezc_2023_capstone's People

Contributors

zesky665 avatar zharko-c avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

yjw868

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.