Git Product home page Git Product logo

aws-tag-watch's Introduction

AWS tag watch

You can track every change made to your AWS account with CloudTrail. Did you know that you can also monitor your AWS account in near real time with custom rules specific for your use case? This post will explain you the details of the implementation that follows.

![AWS tag watch](./AWS tag watch.png?raw=true "AWS tag watch")

Unfortunately you can not enforce a tag schema on AWS. But tags are very important e.g. for cost allocation. This lambda function checks if your EC2 instances all have a specific tag (defined in config.json) in near real-time. CloudTrail is used to report EC2 CreateTags, DeleteTags and RunInstances events. The lambda function can be deployed with CloudFormation.

Install

  1. Create a SNS topic and subscribe to the topic via email (aws-tag-watch will send alerts to this topic)
  2. download the code https://github.com/widdix/aws-tag-watch/archive/master.zip
  3. unzip
  4. run npm install inside to install Node.js dependencies
  5. edit config.json
  6. execute ./bundle.sh in your terminal
  7. upload aws-tag-watch.zip to S3
  8. create a CloudFormation stack based on template.json

done.

aws-tag-watch's People

Contributors

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