Getting daily emails of EC2 usage / costs? [closed]












1















I lead a small research team with 5 IAM users attached to a single AWS account; they use several EC2 instances for research work (including creating new instances as needed). My budget and my knowledge of AWS administration are both meager.



Dealing with multiple users and multiple instances, I'm finding it surprisingly elusive to come up with an easy, idiot-proof way to either (a) get a daily email of total usage or cost or (b) emailed alerts for instances left on by mistake. For the latter I've tried per-instance CloudWatch alarms for the latter checking for {CPU utilization < 5% for 1 hour} but those return INSUFFICIENT_DATA, and moreover don't cover newly created instances, which can allow new instances to rack up costs hidden from view.



I'd settle for a daily email saying "You've used a total of $xx in the last day", using human intelligence to figure out whether this amount is expected or not. But this seems to only be an option for when I exceed a monthly budget, whereas I want a day-based granularity. I'd prefer to avoid third-party services since they seem to come with their own costs and complexities.



Any suggestions?










share|improve this question













closed as off-topic by Mark Rotteveel, Bhargav Rao Jan 3 at 9:10


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User." – Bhargav Rao

If this question can be reworded to fit the rules in the help center, please edit the question.

















  • Take a look at AWS Budget service. It might be helpful in your scenario. aws.amazon.com/aws-cost-management/aws-budgets

    – Kundan
    Jan 3 at 7:40
















1















I lead a small research team with 5 IAM users attached to a single AWS account; they use several EC2 instances for research work (including creating new instances as needed). My budget and my knowledge of AWS administration are both meager.



Dealing with multiple users and multiple instances, I'm finding it surprisingly elusive to come up with an easy, idiot-proof way to either (a) get a daily email of total usage or cost or (b) emailed alerts for instances left on by mistake. For the latter I've tried per-instance CloudWatch alarms for the latter checking for {CPU utilization < 5% for 1 hour} but those return INSUFFICIENT_DATA, and moreover don't cover newly created instances, which can allow new instances to rack up costs hidden from view.



I'd settle for a daily email saying "You've used a total of $xx in the last day", using human intelligence to figure out whether this amount is expected or not. But this seems to only be an option for when I exceed a monthly budget, whereas I want a day-based granularity. I'd prefer to avoid third-party services since they seem to come with their own costs and complexities.



Any suggestions?










share|improve this question













closed as off-topic by Mark Rotteveel, Bhargav Rao Jan 3 at 9:10


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User." – Bhargav Rao

If this question can be reworded to fit the rules in the help center, please edit the question.

















  • Take a look at AWS Budget service. It might be helpful in your scenario. aws.amazon.com/aws-cost-management/aws-budgets

    – Kundan
    Jan 3 at 7:40














1












1








1








I lead a small research team with 5 IAM users attached to a single AWS account; they use several EC2 instances for research work (including creating new instances as needed). My budget and my knowledge of AWS administration are both meager.



Dealing with multiple users and multiple instances, I'm finding it surprisingly elusive to come up with an easy, idiot-proof way to either (a) get a daily email of total usage or cost or (b) emailed alerts for instances left on by mistake. For the latter I've tried per-instance CloudWatch alarms for the latter checking for {CPU utilization < 5% for 1 hour} but those return INSUFFICIENT_DATA, and moreover don't cover newly created instances, which can allow new instances to rack up costs hidden from view.



I'd settle for a daily email saying "You've used a total of $xx in the last day", using human intelligence to figure out whether this amount is expected or not. But this seems to only be an option for when I exceed a monthly budget, whereas I want a day-based granularity. I'd prefer to avoid third-party services since they seem to come with their own costs and complexities.



Any suggestions?










share|improve this question














I lead a small research team with 5 IAM users attached to a single AWS account; they use several EC2 instances for research work (including creating new instances as needed). My budget and my knowledge of AWS administration are both meager.



Dealing with multiple users and multiple instances, I'm finding it surprisingly elusive to come up with an easy, idiot-proof way to either (a) get a daily email of total usage or cost or (b) emailed alerts for instances left on by mistake. For the latter I've tried per-instance CloudWatch alarms for the latter checking for {CPU utilization < 5% for 1 hour} but those return INSUFFICIENT_DATA, and moreover don't cover newly created instances, which can allow new instances to rack up costs hidden from view.



I'd settle for a daily email saying "You've used a total of $xx in the last day", using human intelligence to figure out whether this amount is expected or not. But this seems to only be an option for when I exceed a monthly budget, whereas I want a day-based granularity. I'd prefer to avoid third-party services since they seem to come with their own costs and complexities.



Any suggestions?







amazon-web-services amazon-ec2






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 2 at 22:50









xenocyonxenocyon

75821118




75821118




closed as off-topic by Mark Rotteveel, Bhargav Rao Jan 3 at 9:10


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User." – Bhargav Rao

If this question can be reworded to fit the rules in the help center, please edit the question.







closed as off-topic by Mark Rotteveel, Bhargav Rao Jan 3 at 9:10


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User." – Bhargav Rao

If this question can be reworded to fit the rules in the help center, please edit the question.













  • Take a look at AWS Budget service. It might be helpful in your scenario. aws.amazon.com/aws-cost-management/aws-budgets

    – Kundan
    Jan 3 at 7:40



















  • Take a look at AWS Budget service. It might be helpful in your scenario. aws.amazon.com/aws-cost-management/aws-budgets

    – Kundan
    Jan 3 at 7:40

















Take a look at AWS Budget service. It might be helpful in your scenario. aws.amazon.com/aws-cost-management/aws-budgets

– Kundan
Jan 3 at 7:40





Take a look at AWS Budget service. It might be helpful in your scenario. aws.amazon.com/aws-cost-management/aws-budgets

– Kundan
Jan 3 at 7:40












1 Answer
1






active

oldest

votes


















0














One possible method you could use to monitor and alert on your AWS spending, is to utilize billing alarms for your estimated charges. This way, if a resource is created which will put you over your budget for the month, or your current level of spending is unsustainable at your current budget, you will receive an alert.



More information about this here:
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html






share|improve this answer






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    One possible method you could use to monitor and alert on your AWS spending, is to utilize billing alarms for your estimated charges. This way, if a resource is created which will put you over your budget for the month, or your current level of spending is unsustainable at your current budget, you will receive an alert.



    More information about this here:
    https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html






    share|improve this answer




























      0














      One possible method you could use to monitor and alert on your AWS spending, is to utilize billing alarms for your estimated charges. This way, if a resource is created which will put you over your budget for the month, or your current level of spending is unsustainable at your current budget, you will receive an alert.



      More information about this here:
      https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html






      share|improve this answer


























        0












        0








        0







        One possible method you could use to monitor and alert on your AWS spending, is to utilize billing alarms for your estimated charges. This way, if a resource is created which will put you over your budget for the month, or your current level of spending is unsustainable at your current budget, you will receive an alert.



        More information about this here:
        https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html






        share|improve this answer













        One possible method you could use to monitor and alert on your AWS spending, is to utilize billing alarms for your estimated charges. This way, if a resource is created which will put you over your budget for the month, or your current level of spending is unsustainable at your current budget, you will receive an alert.



        More information about this here:
        https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 3 at 8:07









        IcehornIcehorn

        460311




        460311

















            Popular posts from this blog

            Monofisismo

            Angular Downloading a file using contenturl with Basic Authentication

            Olmecas