Someone accidentally provisioned a gigantic ec2 instance, bill is very high

Hi,

We were billed for a very large EC2 instance, and it resulted in an additional 2000$ on our AWS bill this month. It seems someone accidentally provisioned the wrong size of the instance. It ran for almost 150 hours.

If it is found that it was basically not used, would AWS be willing to cancel these charges? Or at least reduce them? It seems the instance was provisioned very recently.

Thanks.


Related discussions:

Maybe…it may help your cause if you build some config rules to prevent this from happening again.

It can’t hurt to reach out and ask, I’ve heard they are pretty forgiving about this kind of thing the first time it happens. But since it was up for so long may be an issue.

I would imagine it depends on ‘who’ you are. As in is this a company that regularly spends a few thousand on AWS or are you small fry, and this has doubled your AWS spend.

If it’s the latter, then there’s a decent chance of a refund of some sort however if you’re already spending thousands on AWS I’d say it was unlikely

Right, usually our bill is less than 1000$ a month. This month it was over 5x, this is one of the issues that raised the bill so much. We’re looking into the other causes.

In that case, you’ve probably a good chance at some type of refund as it doesn’t follow your regular spending profile.

As has been stated, if you explain your case logically, can provide evidence that it wasn’t used (to show it was an error) and advise of the mitigations you’ve put in place that will definitely help your case.

Going forward you can set restrictions that allow only approved EC2 instance sizes to be launched.

You can raise a support case to ask for the charges to be set aside, but I must warn you…this rarely happens. As others have said, billing alerts, Anomaly detection and Organisation Rules are best to limit access to running up bills. Here is a link to setup Orgs and best practices around it:

https://aws.amazon.com/blogs/mt/best-practices-for-organizational-units-with-aws-organizations/

What if you were using credits?

How do you prove to AWS that the resources were not used?

Example: Company receives $5k in credits, accidentally provisions a very large amount of storage (say 16TB) and blows through the credits in 2 months. Discovers it too late, ends up with $2k bill on top of the $5k in consumed credits. You think they will refund the $2k?

But since it was up for so long may be an issue.

If something is up for more than a month without you noticing, it will always be your own fault, right? Will AWS ever issue a refund in cases like that?

Speak to the support team and explain them the issue. You would be asked how this happened and what steps you have taken within your org. and aws account. Example IAM controls, billing alerts, least privilege access, etc. Be prepared for those answers and respond to support thoroughly. Most of the times, AWS would refund the amount. Done this as many times with AWS. Good luck.

Please share your exprience.

AWS is pretty forgiving but before giving a refund they’ll make you set up restrictions/policies to ensure that can’t happen again.

This wouldn’t matter on this case, but it doesn’t update really often, right? Like once a day

All good points and do follow them. Also check your account for security issues overall. This is the right time to check, investigate and plug any gaps

All the best

Also, if you do set up organizations (by first creating a new account, creating the organization, then inviting your existing account to the org), you can use the example policy (SCP) from the documentation to limit ec2 instances that can be started in your account.
https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_examples.html#examples_ec2

I’m assuming you can create a similar policy in IAM for users in that account if you’d prefer.

They accepted a similar request from my friend. His credentials were compromised, he he for a bill of $20k in a couple of hours. This was about 3 years ago.

All he did was raise a ticket and they agreed to waiver.

Yeah billing can be delayed, and as such the alerts will too.

But getting a billing alert after 24 hours is way better than getting your bill after a month and only realizing then.

That being said AWS could certainly do better here. Max billing amounts would be good, it could just shut off your account or something. Obv. User would choose their preferences.

uhm 150 hours are nowhere near a month?

they are good at refunds because they are so bad at limits.

Just asking in general. Not related to OP.