GithubHelp home page GithubHelp logo

aws-billing-monitoring-terraform's Introduction

AWS Billing Monitoring with Terraform: IAC for tracking and managing AWS expenses

tf-aws-billing-alerts

This repository hosts a Terraform module designed to facilitate the establishment of AWS billing alerts. Once set up, it will promptly alert users in the event that AWS charges surpass predefined thresholds.

Prerequisites

Overview of the used AWS Services:

AWS CloudWatch

AWS CloudWatch is a monitoring and observability service. With CloudWatch, you can collect and access all your performance and operational data in form of logs and metrics from a single platform. This module uses CloudWatch to monitor your AWS billing and trigger an alarm when the specified thresholds are crossed.

AWS SNS (Simple Notification Service)

AWS SNS is a fully managed notification service. It allows you to send individual messages or to fan-out messages to large numbers of recipients. In the context of this module, SNS is used to send out notifications when the billing alarm in CloudWatch is triggered.

AWS Billing

AWS Billing provides you with tools and features to pay for what you use, manage your costs, and budget your AWS costs. AWS charges can accumulate quickly depending on the services and the usage, hence monitoring the billing is crucial. This module helps in automating the monitoring process and alerts you before your bill goes beyond your expectations.

Setup

  1. Clone the Repository

You can clone this repository to your local machine using the following steps:

  1. Open your terminal or command prompt.

  2. Navigate to the directory where you want to clone the repository:

    cd /path/to/your/directory
    
  3. Replace /path/to/your/directory with the actual path to your desired directory.

  4. Clone the repository by running the following command:

git clone https://github.com/seifrajhi/aws-billing-monitoring-terraform.git

This will create a copy of the repository on your local machine.

Change your working directory to the cloned repository:

cd aws-billing-monitoring-terraform

Now you have successfully cloned the repository to your local machine and can start working with it.

  1. Initialize and apply IAC

After navigating to the directory where you've cloned the repository, run:

Terrafrom init

After initializing, apply the Terraform configuration:

terrafomr apply 

Review the plan, and if everything looks good, proceed by typing yes.

Usage

Modify the Terraform configuration as needed to fit your requirements. By default, alerts are set at $100 and $150, but you can adjust these values in the main Terraform file.

Feedback and Contributions

Feedback, bug reports, and pull requests are welcomed. Feel free to raise an issue or submit a pull request.

aws-billing-monitoring-terraform's People

Contributors

seifrajhi avatar

Watchers

 avatar  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.