Most active commenters

    ←back to thread

    461 points thunderbong | 20 comments | | HN request time: 0.405s | source | bottom
    Show context
    davedx ◴[] No.42133938[source]
    This seems like a glaring bug in the scripts run by that `npx` command. The author is correct, the scripts should 100%:

    - Choose the lowest cost resource (it's a tutorial!)

    - Cleanup resources when the `delete` subscript is run

    I don't think it's fair to expect developers to do paranoid sweeps of their entire AWS account looking for rogue resources after running something like this.

    If a startup had this behavior would you shrug and say "this happens, you just have to be paranoid"? Why is AWS held to a different standard by some?

    replies(7): >>42134019 #>>42134079 #>>42134081 #>>42134225 #>>42134243 #>>42134471 #>>42134516 #
    1. reddalo ◴[] No.42134081[source]
    > do paranoid sweeps of their entire AWS account looking for rogue resources

    That's the thing that annoys me the most about AWS. There's no easy way to find out all the resources I'm currently paying for (or if there's a way, I couldn't find it).

    Without an easy to understand overview, it feels like I don't have full control of my own account.

    replies(8): >>42134089 #>>42134104 #>>42134146 #>>42134222 #>>42134354 #>>42134455 #>>42134772 #>>42134973 #
    2. quixoticelixer- ◴[] No.42134089[source]
    Yes i was charged $400 once for services i had running for three months without any idea it was happening
    replies(1): >>42134265 #
    3. newaccount74 ◴[] No.42134104[source]
    The billing department knows exactly what you were running, but they only tell you once a month...
    replies(1): >>42134185 #
    4. calgoo ◴[] No.42134146[source]
    You can set up daily or hourly cost and usage reports on the account. I built a finops function based on it, feeding the data into a Postgres db. Make sure to select incremental updates, if not you’ll en up paying for tb of s3 storage.
    replies(3): >>42134213 #>>42134242 #>>42135742 #
    5. __alexs ◴[] No.42134185[source]
    They tell you in hourly increments for almost everything?
    replies(1): >>42135114 #
    6. dijit ◴[] No.42134213[source]
    I'd like to immortalise this comment because it's exactly the kind of thing that annoys me when people say "cloud is easier" or that it requires fewer skills/people/resources.

    It clearly does, it's just different skills/time/energy requirements compared to colocation.

    7. bn-l ◴[] No.42134222[source]
    The people who write these tutes have (I imagine) an unlimited budget with some special account which maybe leads to this situation
    replies(2): >>42134339 #>>42134657 #
    8. Aeolun ◴[] No.42134242[source]
    TB of S3 storage is surprisingly inexpensive though. Especially compared to everything else AWS.
    replies(1): >>42143703 #
    9. Moru ◴[] No.42134265[source]
    We were billed about $5000 per month by Google even though we had asked what the billing change would mean for us and they said you will be inside the free limits. Turns out we weren't.
    10. high_priest ◴[] No.42134339[source]
    And are experienced developers, who don't make costly mistakes, because they just follow their tried & tested routines.
    11. _betty_ ◴[] No.42134354[source]
    this is one of the things i love about azure, easily being able to see everything.

    closest i found in aws was something like tag manager?

    12. danw1979 ◴[] No.42134455[source]
    > There's no easy way to find out all the resources I'm currently paying for (or if there's a way, I couldn't find it

    Cost Explorer, in the management account if you’ve got Organization set up.

    13. theshrike79 ◴[] No.42134657[source]
    Also when you do these lessons with an in-person AWS trainer, they give you a specific unlimited training account that gets destroyed when the course ends.
    14. akvadrako ◴[] No.42134772[source]
    What about the billing dashboard? You can break it down by service and say CPU or memory, or tags if you use them. That has always given me good enough insight into where my client's money is being spent. I'm not sure it's totally realtime, but certainly daily.

    BTW I'm a supporter of spending caps, not saying this should be the only way.

    15. michaelsalim ◴[] No.42134973[source]
    Every so often, I'd get a random bill from AWS totaling to a few cents. No idea where it comes from and it's not worth the non trivial effort to find out about it. Just another reason I avoid AWS unless necessary.
    replies(1): >>42135128 #
    16. londons_explore ◴[] No.42135114{3}[source]
    Even hourly isn't good enough. If I shut down some service, I want to know right now that nothing billable is left over. I don't want to have to wait an hour and come back and check only to find I forgot to clean up some IP address.

    Why can we not have a "billable items" dashboard which simply shows, globally, a list of all items in your account which are billable, and how much they will cost if left running for 1 more hour/month?

    replies(1): >>42135701 #
    17. londons_explore ◴[] No.42135128[source]
    Same here. And I'm worried that one month that bill will suddenly be $20k because whatever was costing a few cents suddenly gets hit by some DDoS attack.

    Or that my card will expire and AWS will send that $0.03 bill to collections and slap court fees on and send a bailiff.

    Their whole setup seems intended to cause expensive mistakes.

    18. cdchn ◴[] No.42135701{4}[source]
    There is, its called the Cost Explorer.
    19. TheDong ◴[] No.42135742[source]
    "daily or hourly" isn't enough though.

    There's some AWS resources, like for example route53 hosted zones, which bill only once at the end of the month, and so a daily or hourly bill won't tell you anything about leaked resources there.

    There's at least a one resource that only bills once a year, so yet again you won't catch those with even monthly usage reports.

    20. ac29 ◴[] No.42143703{3}[source]
    $283/TB-year doesnt strike me as inexpensive. And that price does not include any data transfer.