Git Product home page Git Product logo

aws-billing-alarm's Introduction

Creating an AWS billing alarm is pretty straightforward, and you should really use it. You can avoid "surprise bills" at the end of the month.

For further details reads this post.

Billing Alert

For simple cost management, aws can automagically email if aws bills exceed a limit. Instead the manual procees of creating resources, use the provided CloudFormation template.

  • Start the Create Stack on AWS console: Launch Stack
  • On the Select Template page click Next
  • On the Specify Details page fill the Email and Spending Limit fields, than click Next
  • On the Options page click Next
  • On Review page click Create

You will receive an email from : AWS Notifications <[email protected]>:

  • Click on the Confirm subscription link

aws cli

If you prefer the terminal way:

export [email protected]
export BILLING_ALARM_LIMIT=123


aws cloudformation create-stack \
  --template-url https://s3-eu-west-1.amazonaws.com/lp-lambda-go/billing-alarm.yml \
  --region us-east-1 \
  --stack-name billing-alarm \
  --capabilities CAPABILITY_IAM \
  --tags Key=alarm,Value=billing \
  --parameters \
      ParameterKey=BillingAlertEmailParameter,ParameterValue=${BILLING_ALARM_EMAIL} \
      ParameterKey=MonthlySpendLimitParameter,ParameterValue=${BILLING_ALARM_LIMIT} \
      ParameterKey=AlarmEvaluationPeriod,ParameterValue=one-hour 

Manual process on AWS console

If you want to manually do the steps on the AWS console follow this description

aws-billing-alarm's People

Contributors

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