Skip to content

ahmedddabd/AWS-Expense-Alert-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

💰 AWS Expense Alert System

Monitor AWS spending and receive automated email alerts before costs get out of control.


📖 Overview

The AWS Expense Alert System is a cloud cost monitoring solution built using AWS Budgets and Amazon SNS.

This project automatically tracks AWS spending and sends email notifications when predefined budget thresholds are reached, helping users maintain visibility into cloud costs and avoid unexpected charges.


🏗️ Architecture

Architecture Diagram

AWS Billing Data
        │
        ▼
   AWS Budgets
        │
        ▼
   Amazon SNS
        │
        ▼
 Email Notifications

Workflow

  1. AWS Billing collects account spending data.
  2. AWS Budgets monitors costs against a predefined budget.
  3. When a threshold is reached, AWS Budgets triggers Amazon SNS.
  4. Amazon SNS sends an email notification to subscribed users.

☁️ AWS Services Used

Service Purpose
AWS Budgets Monitor cloud spending
Amazon SNS Send email notifications
AWS Billing Dashboard Track account costs

✨ Features

✅ Monthly AWS cost monitoring

✅ Automated email alerts

✅ Actual cost threshold notifications

✅ Forecasted cost alerts

✅ Free Tier friendly

✅ Helps prevent unexpected AWS charges


🚨 Budget Configuration

Alert Type Threshold
Actual Cost 80%
Forecasted Cost 90%
Actual Cost 100%

⚙️ Project Setup

Step 1: Create an SNS Topic

Create a Standard SNS Topic named:

BudgetAlerts

Step 2: Create an Email Subscription

Subscribe your email address to the SNS topic and confirm the subscription.

Step 3: Create an AWS Budget

Create a monthly cost budget and define spending limits.

Step 4: Configure Budget Alerts

Add cost thresholds and connect each alert to the SNS topic.

Step 5: Test Notifications

Publish a test message from SNS and verify email delivery.


📸 Project Screenshots

SNS Topic & Subscription

SNS Topic


Budget Dashboard & Configuration

Budget Configuration

Budget Configuration


Budget Alerts

Budget Alerts

Budget Alerts


🎯 Benefits

💵 Prevent unexpected AWS charges

📊 Improve cloud cost visibility

☁️ Learn AWS cost management practices

🚀 Build practical cloud engineering experience

📚 Strengthen AWS Cloud Practitioner skills


🧠 Skills Demonstrated

  • AWS Cost Management
  • AWS Budgets
  • Amazon SNS
  • Cost Optimization
  • Budget Forecasting
  • Cloud Monitoring
  • AWS Console Administration

🔮 Future Improvements

  • Add AWS Lambda for custom alert processing
  • Send notifications to Slack or Microsoft Teams
  • Create a CloudWatch dashboard for spending metrics
  • Automate deployment using AWS CloudFormation or Terraform

👨‍💻 Author

Ahmed

AWS Cloud Practitioner | Aspiring Cloud Engineer


🌟 Support

If you found this project useful, please consider giving the repository a ⭐ on GitHub.

About

AWS Expense Alert System using AWS Budgets and Amazon SNS to monitor cloud spending and send email notifications when costs exceed defined thresholds.

Topics

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors