4 ms·
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
by davedx 2y ago
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?
- hnlmorg 2y agoAWS docs are terrible. Half the time their code examples are flat out wrong.
- ElFitz 2y agoIs there even a simple way of listing all the existing resources in an AWS account? I’ve always had to check service by service, region by region. It’s tedious and error-prone.
- ShroudedNight 2y agoI thought the tag editor was where one could get a comprehensive inventory of account resources? (Unable to check as I don't currently have easy access to the AWS console)
- calgoo 2y agoYea it’s ok for that but won’t list everything. Example: ec2 snapshots won’t show up in the aws:config report but you will be charged for it, so Cost and Usage reports will show you what you will be charged for.
- calgoo 2y agoCost and usage reports will show you what is being paid for. Then there are resources that won’t show up on that so I have used aws:config to pull down other resource lists and finally you can cross both reports to more less find everything.
- thayne 2y agoCost and Usage reports tells you what services you are paying for and which regions they are in, but doesn't give you a list of resources themselves.
- reddalo 2y ago> 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.
- _betty_ 2y agothis 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?
- quixoticelixer- 2y agoYes i was charged $400 once for services i had running for three months without any idea it was happening
- Moru 2y agoWe 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.
- newaccount74 2y agoThe billing department knows exactly what you were running, but they only tell you once a month...
- __alexs 2y agoThey tell you in hourly increments for almost everything?
- londons_explore 2y agoEven 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?
- gregoriol 2y agoSooooo, if a scripts asks you to run it as root, you just trust it and don't check what it does before?
- Moru 2y agoMy first line of research when I have to use something new is: Can I get a fixed bill every month? What happens if I use more than that, can I limit surprises? If not, I will find something else. We are also very careful with building us into "free" google services after the map surprise a few years ago. That cost us a lot of money in the end.
- Frieren 2y ago> This seems like a glaring bug Amazon earns an easy $1000, it is not a bug but a feature. Even if they think that it is a bug it is going to be pretty low compared to anything else that hits THEIR bottom line.
- deskr 2y ago> I don't think it's fair to expect developers to do paranoid sweeps ... Agree, it isn't fair. I think it's sensible though. When creating anything on AWS I always behave like AWS is an hostile financial institution gone rogue.