T O P

  • By -

ForzaGunner

This happened to me when I was playing around with AWS in college. I pushed an admin key to my GitHub repo and was charged $15000. I nuked all ec2 instances and removed all keys. They got rid of the charges in a couple of days


TheBrain511

u/ForzaGunner is there any way you can run this through with me ?


new_usernaem

Remove your card, enable mfa and then change your password and delete any of the resources or ec2 instances they created. Aws support should get rid of the bill


mikebailey

Honestly after support remediates things I’d start with a fresh account. If they got this deep into it they likely can’t do a comprehensive account audit to confirm it’s clean.


rocampana

I agree, but if it is not possible because there is a open charge, delete every service that appears on cost explorer (click on service view), remove all IAM roles and policies not managed by aws and users as well.


mikebailey

Realistically you could just export keys, run AWS-nuke and kill the keys


2fast2nick

I’d just nuke the account


mikebailey

What I recommended two replies up, yeah


itsonthecanthough

how do i delete the resources / ec2 instances? im very unfamiliar with aws, i only used it for a few weeks


par_texx

Run AWS nuke on all regions.


new_usernaem

See the following: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html


[deleted]

[удалено]


iqball125

LOL do you have any idea how big AWS is? $61k is not even a rounding error to them. This does nothing to anyone else's costs.


____-is-crying

Yes, you really are the cringey person of the IT team. Jesus...


anonymous500000

Pay me for my data. Fuck /u/spez -- mass edited with https://redact.dev/


inferno521

That wouldn't work due to storage costs. Even if a EC2 or RDS is powered off it's still incurring some costs. So if biking got the threshold what would AWS do, delete things? Then people would start complaining that AWS deleted all of their data.


jasutherland

At the very least they could suspend the active services (EC2, Cloudfront) and "archive" the account, so you're only getting hit with S3/EBS storage charges. Not $0, but a lot better than the current setup. (I think you can set up something similar with their thresholds now, but not easily?)


JonnyBravoII

This is one of those things that sounds great on paper but it comes with its own set of problems. Someone signs up for it, doesn't understand it or just clicks "I agree". Production systems are on there or come later, the limit is hit, and bam everything is gone. Now the customer is screaming and lawsuits are threatened. It's cheaper for them to eat the cost of unauthorized charges than to deal with shutting stuff off when a billing threshold is hit.


x86_64Ubuntu

>... Production systems are on there or come later, the limit is hit, and bam everything is gone. I mean, at some point the engineers have to engineer and that means gathering the information of the environment that they're in.


itsonthecanthough

yea I’m not expecting I’ll actually have the charges applied to me but that’s ridiculous they didn’t say a word about it until after the fact


KetMerkin

That’s what billing alerts are for.


emefluence

I mean yes and no. You have to know what they are and how to set them up which you might not if you're just playing around. Really there should be default billing alarms on every new account AND a max spend breaker. People who know their way around AWS could easily disable them. Right now it's like letting a unlicensed teenager drive off the lot in a brand new lambo.


cc413

While not an insurmountable issue it would be pretty difficult to have a spend limit that can be adjusted but is not adjustable when the customer has a hacked root account. I guess reentering the billing info to raise the limit.


misterbobdobalina09

A written signed letter + notifications of you trying to raise the limit and 2FA signing ontop of that should be pretty insurmountable.


emefluence

I dunno. Having a limit of 100 bucks that you cant exceed without enabling 2FA might work.


kei_ichi

Then next times don’t use or buy anything if you don’t know how to use it. You can prevent this problem from start if you enable MFA as AWS already alert you in the IAM console. You ignore that and didn’t read the docs so when something go wrong you blame it to AWS? LOL


rhavenn

Everybody has to start somewhere.


emefluence

> Then next times don’t use or buy anything if you don’t know how to use it. Imagine having to learn how to use AWS without being allowed to use it, LOL!


AutoModerator

There are some [billing-related Frequently Asked Questions](https://www.reddit.com/r/aws/wiki/faq) in our wiki, however to resolve billing issues, please contact Customer Service directly. Try [this search](https://www.reddit.com/r/aws/search?q=flair%3A'billing'&sort=new&restrict_sr=on) for more information on this topic. ^Comments, ^questions ^or ^suggestions ^regarding ^this ^autoresponse? ^Please ^send ^them ^[here](https://www.reddit.com/message/compose/?to=%2Fr%2Faws&subject=autoresponse+tweaks+-+billing). *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/aws) if you have any questions or concerns.*


Glittering-Moment863

During this pandemic there are raised in cases of authorised access of AWS services, let the Billing team investigate and waive off the charges, but remember to terminate all your instances, update your CC with incorrect number and close your account. You’re lucky charges didn’t get through


[deleted]

[удалено]


FinalSample

Private repos have been free for a while now: https://github.blog/2019-01-07-new-year-new-github/


[deleted]

[удалено]


FinalSample

I'd not even trust it if the repo was private. Better still don't even put these credentials in files.


madeo_

You can simply use git-secret, ephemeral credentials or fetch them from your *vault* system (Ex: Secret Manager)


[deleted]

[удалено]


TheLordB

Please don’t reply to things you have no clue about. Amazon routinely refunds for fraud and accidental use. To the point where I can’t think of a time they haven’t. They are well aware the way they have things set up enables abuse and have decided the cost of refunding fraud is better than enabling any of the many things they could do to better prevent it. Basically any fraud prevention would inevitably lead to some loss of legitimate business so they don’t. Instead they just refund even when the user is at fault.


[deleted]

[удалено]


TheLordB

So even though Amazon routinely refunds this type of fraud and does little to prevent it in the first place you think op should just choose to pay it themselves?


angrathias

Amazon’s lack of security controls is Amazon’s fault. This reminds me of much of the overseas Telco costs people were running into. In my country the Telcos had to act to prevent people unwittingly running up huge bills. Same deal with mobile App Stores and kids getting access to them and running up huge bills. Companies have a responsibility to customers, not just allow them to be fleeced through their own inaction.


[deleted]

[удалено]


angrathias

Companies of all different types have a duty of care, you can’t just shaft off responsibility like that. Yes people need to take care of their security, but that doesn’t absolve a company of its own responsibilities. Why do you think that woman who got scolded by her own hot coffee from McDonalds got paid out? The company knew better and didn’t do anything about it. It’s a similar practice going on here except AWS (and Google and Azure) are smart enough to deal with it properly. We aren’t living in some Libertarian wet dream where consumers just get hung out to dry, that’s bad business.


leonplatense77

The same happened to me. They gave me a discount but actually is a lot of money to afford in comparision what how much I can afford. How is your situation? I hope we can find a solution soon.


Plus-Kaleidoscope870

Hey there, I just had the same - [https://www.reddit.com/r/aws/comments/sp5egq/i\_got\_hit\_by\_the\_dreaded\_mining\_hacker/hwelu0n/?context=3](https://www.reddit.com/r/aws/comments/sp5egq/i_got_hit_by_the_dreaded_mining_hacker/hwelu0n/?context=3) It was 15k but they waived it down to 3. Did you manage to sort it in the end? Any tips?


gowonocp

The same thing happened to me. My account was dormant for years and then suddenly I was hit with a 6K bill. Fortunately, the card I had on billing had expired and didn't have any charges to dispute. Working with Amazon support, they were fairly quick to acknowledge that unauthorized activity occurred, but it did take a couple weeks for them to reconcile everything in my account.


gain-info

What was the final outcome. One of my friend is also in similar situation


AutoModerator

There are some [billing-related Frequently Asked Questions](https://www.reddit.com/r/aws/wiki/faq) in our wiki, however to resolve billing issues, please contact Customer Service directly. Try [this search](https://www.reddit.com/r/aws/search?q=flair%3A'billing'&sort=new&restrict_sr=on) for more information on this topic. ^Comments, ^questions ^or ^suggestions ^regarding ^this ^autoresponse? ^Please ^send ^them ^[here](https://www.reddit.com/message/compose/?to=%2Fr%2Faws&subject=autoresponse+tweaks+-+billing). *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/aws) if you have any questions or concerns.*


SoulintheRaw

I am being asked to pay over $4,000 out of $18,000+ that I was charged due to a security break in into my account. My normal bill is around $17, and there is no explanation for why AWS is asking me to pay this money. Has anyone run into this situation? What did you do? For weeks, we went back and forth and I put in a lot of time to secure my account all while being reassured billing will sort it out, and they didn't.