Prodinit Software Solutions
LinkedinGithub
  • Prodinit's Engineering Blog
  • aws
    • Ways to delete AWS ECR images
    • Enable Cloudwatch Alarm and SNS Topic for AWS Billing Alert
    • A-Z of AWS VPC and other services - with Terraform
    • How Internet Works?
    • How to download/view code running in your lambda functions?
  • backend engineering
    • What is idempotency?
  • databases
    • Database Optimisation - Indexing vs Sharding with Postgres and Django ORM examples
  • devops
    • Docker Best Practices
    • Docker Networking - Bridge vs Host vs Overlay
    • A comparision between multistage build and singlestage build in Docker
    • Things to remember before building your first blue/green deployment in Kubernetes
    • How to export env variables in circleci? (You wont find this in circleci documentation)
  • frontend engineering
    • Host your static website with s3, CloudFront, Route53, and domain from godaddy in 4 easy steps
  • product management
    • You'll fail as a lead developer, here's why ...
  • python
    • Achieve Peak Performance in Python
    • Play with List of dictionaries in Python
    • How we develop a custom autoscaling metrics based on number of tasks in the queues?
  • Contact Us
    • Who are we?
    • Work with us.
Powered by GitBook
On this page
  1. aws

Enable Cloudwatch Alarm and SNS Topic for AWS Billing Alert

PreviousWays to delete AWS ECR imagesNextA-Z of AWS VPC and other services - with Terraform

Last updated 1 year ago

Hello viewers. If you are someone who owns a root account of AWS or has a free-tier AWS account then billing must be something that makes you feel very terrified until you are extremely rich😜

So, in this blog, we will be configuring a cloud watch alarm that triggers and sends an email to the root account when the billing amount exceeds a threshold value. Easy Peasy.

FYI, If you have signed up for a free tier account. You already have 10 free cloud watch alarms and 1000 free email notifications each month…

Let’s Begin

Go to the Billing Dashboard -> Billing Preferences

Check Receive Free Tier Usage Alerts -> Add Email Address -> Check Receive Billing Alerts -> Click Save Preferences

Post this, Click on Manage Billing Alerts. It will redirect you to Cloud watch page. We will now create a Billing cloud watch alarm.

Let’s now create an alarm.

  • Click Create Alarm

  • Update currency to your preferred currency

  • Define the threshold value

  • Click Next

  • Create New SNS Topic

  • Click Create Topic

By this time you’ll have received AWS Notification for Subscription Confirmation. Subscribe to the SNS topic. Save topic, Save alarm.

Tada…

It is always good to create this billing alert. You never know what is going to cost you. It is better to be on the safer side. Alright, Now comes the important step of reaching me out and following me on twitter and linkedin.

Tags

Enjoyed the blog? If so, you'll appreciate collaborating with the minds behind it as well.

Written by -

Dishant Sethi