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

**URL:** <https://awshq.com/t/someone-accidentally-provisioned-a-gigantic-ec2-instance-bill-is-very-high/12967>\
**Category:** Billing & Cost\
**Tags:** ec2\
**Created:** [May 26, 2021, 1:20pm UTC](https://awshq.com/t/someone-accidentally-provisioned-a-gigantic-ec2-instance-bill-is-very-high/12967 "2021-05-26T13:20:00Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlueLensFlares](https://awshq.com/letter_avatar_proxy/v4/letter/b/3ec8ea/32.png) [@BlueLensFlares](https://awshq.com/u/BlueLensFlares)\
**Post date:** [May 26, 2021, 1:20pm UTC](https://awshq.com/t/someone-accidentally-provisioned-a-gigantic-ec2-instance-bill-is-very-high/12967/1 "2021-05-26T13:20:00Z")

</div>

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:**

- [AWS RDS vs an equivalent EC2?](https://awshq.com/t/aws-rds-vs-an-equivalent-ec2/19552)
- [Reliably identify which EC2/tenant is calling in Lambda](https://awshq.com/t/reliably-identify-which-ec2-tenant-is-calling-in-lambda/21687)
- [Amazon EC2 introduces application status checks](https://awshq.com/t/amazon-ec2-introduces-application-status-checks/21607)
- [How to work around security group/rules limits?](https://awshq.com/t/how-to-work-around-security-group-rules-limits/21688)
- [AWS finally updates T4g: new T9g instances powered by Graviton5](https://awshq.com/t/aws-finally-updates-t4g-new-t9g-instances-powered-by-graviton5/21776)

---

<div class="post-metadata">

**Author:** ![skotman01](https://awshq.com/letter_avatar_proxy/v4/letter/s/bc8723/32.png) [@skotman01](https://awshq.com/u/skotman01)\
**Post date:** [May 26, 2021, 1:22pm UTC](https://awshq.com/t/someone-accidentally-provisioned-a-gigantic-ec2-instance-bill-is-very-high/12967/3 "2021-05-26T13:22:44Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Evaderofdoom](https://awshq.com/letter_avatar_proxy/v4/letter/e/b38774/32.png) [@Evaderofdoom](https://awshq.com/u/Evaderofdoom)\
**Post date:** [May 26, 2021, 1:30pm UTC](https://awshq.com/t/someone-accidentally-provisioned-a-gigantic-ec2-instance-bill-is-very-high/12967/4 "2021-05-26T13:30:26Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![noileum](https://awshq.com/letter_avatar_proxy/v4/letter/n/ad7895/32.png) [@noileum](https://awshq.com/u/noileum)\
**Post date:** [May 26, 2021, 1:47pm UTC](https://awshq.com/t/someone-accidentally-provisioned-a-gigantic-ec2-instance-bill-is-very-high/12967/5 "2021-05-26T13:47:44Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![BlueLensFlares](https://awshq.com/letter_avatar_proxy/v4/letter/b/3ec8ea/32.png) [@BlueLensFlares](https://awshq.com/u/BlueLensFlares)\
**Post date:** [May 26, 2021, 1:49pm UTC](https://awshq.com/t/someone-accidentally-provisioned-a-gigantic-ec2-instance-bill-is-very-high/12967/6 "2021-05-26T13:49:43Z")

</div>

> [@noileum](#):
>
> 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 …

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.

---

<div class="post-metadata">

**Author:** ![noileum](https://awshq.com/letter_avatar_proxy/v4/letter/n/ad7895/32.png) [@noileum](https://awshq.com/u/noileum)\
**Post date:** [May 26, 2021, 2:29pm UTC](https://awshq.com/t/someone-accidentally-provisioned-a-gigantic-ec2-instance-bill-is-very-high/12967/7 "2021-05-26T14:29:52Z")

</div>

> [@BlueLensFlares](#):
>
> 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.

---

<div class="post-metadata">

**Author:** ![jlitt86](https://awshq.com/letter_avatar_proxy/v4/letter/j/9dc877/32.png) [@jlitt86](https://awshq.com/u/jlitt86)\
**Post date:** [May 26, 2021, 2:30pm UTC](https://awshq.com/t/someone-accidentally-provisioned-a-gigantic-ec2-instance-bill-is-very-high/12967/8 "2021-05-26T14:30:32Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![geeky217](https://awshq.com/letter_avatar_proxy/v4/letter/g/b9bd4f/32.png) [@geeky217](https://awshq.com/u/geeky217)\
**Post date:** [May 26, 2021, 3:11pm UTC](https://awshq.com/t/someone-accidentally-provisioned-a-gigantic-ec2-instance-bill-is-very-high/12967/9 "2021-05-26T15:11:20Z")

</div>

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/](https://aws.amazon.com/blogs/mt/best-practices-for-organizational-units-with-aws-organizations/)

---

<div class="post-metadata">

**Author:** ![Interesting-Foot-881](https://awshq.com/letter_avatar_proxy/v4/letter/i/2acd7d/32.png) [@Interesting-Foot-881](https://awshq.com/u/Interesting-Foot-881)\
**Post date:** [May 26, 2021, 3:12pm UTC](https://awshq.com/t/someone-accidentally-provisioned-a-gigantic-ec2-instance-bill-is-very-high/12967/10 "2021-05-26T15:12:09Z")

</div>

> [@noileum](#):
>
> 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 …

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?

---

<div class="post-metadata">

**Author:** ![Interesting-Foot-881](https://awshq.com/letter_avatar_proxy/v4/letter/i/2acd7d/32.png) [@Interesting-Foot-881](https://awshq.com/u/Interesting-Foot-881)\
**Post date:** [May 26, 2021, 3:23pm UTC](https://awshq.com/t/someone-accidentally-provisioned-a-gigantic-ec2-instance-bill-is-very-high/12967/11 "2021-05-26T15:23:14Z")

</div>

> [@Evaderofdoom](#):
>
> 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.

> 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?

---

<div class="post-metadata">

**Author:** ![rdwarak](https://awshq.com/letter_avatar_proxy/v4/letter/r/258eb7/32.png) [@rdwarak](https://awshq.com/u/rdwarak)\
**Post date:** [May 26, 2021, 3:35pm UTC](https://awshq.com/t/someone-accidentally-provisioned-a-gigantic-ec2-instance-bill-is-very-high/12967/12 "2021-05-26T15:35:25Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![g-money-cheats](https://awshq.com/letter_avatar_proxy/v4/letter/g/b2d939/32.png) [@g-money-cheats](https://awshq.com/u/g-money-cheats)\
**Post date:** [May 26, 2021, 3:41pm UTC](https://awshq.com/t/someone-accidentally-provisioned-a-gigantic-ec2-instance-bill-is-very-high/12967/13 "2021-05-26T15:41:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ImHarvol](https://awshq.com/letter_avatar_proxy/v4/letter/i/b4bc9f/32.png) [@ImHarvol](https://awshq.com/u/ImHarvol)\
**Post date:** [May 26, 2021, 3:41pm UTC](https://awshq.com/t/someone-accidentally-provisioned-a-gigantic-ec2-instance-bill-is-very-high/12967/14 "2021-05-26T15:41:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![gg23456gg](https://awshq.com/letter_avatar_proxy/v4/letter/g/f6c823/32.png) [@gg23456gg](https://awshq.com/u/gg23456gg)\
**Post date:** [May 26, 2021, 3:46pm UTC](https://awshq.com/t/someone-accidentally-provisioned-a-gigantic-ec2-instance-bill-is-very-high/12967/15 "2021-05-26T15:46:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![andybee02](https://awshq.com/letter_avatar_proxy/v4/letter/a/bc79bd/32.png) [@andybee02](https://awshq.com/u/andybee02)\
**Post date:** [May 26, 2021, 3:59pm UTC](https://awshq.com/t/someone-accidentally-provisioned-a-gigantic-ec2-instance-bill-is-very-high/12967/16 "2021-05-26T15:59:40Z")

</div>

> [@geeky217](#):
>
> 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 …

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](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.

---

<div class="post-metadata">

**Author:** ![rahulsunkari14](https://awshq.com/letter_avatar_proxy/v4/letter/r/977dab/32.png) [@rahulsunkari14](https://awshq.com/u/rahulsunkari14)\
**Post date:** [May 26, 2021, 4:00pm UTC](https://awshq.com/t/someone-accidentally-provisioned-a-gigantic-ec2-instance-bill-is-very-high/12967/17 "2021-05-26T16:00:41Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![rushlink1](https://awshq.com/letter_avatar_proxy/v4/letter/r/4da419/32.png) [@rushlink1](https://awshq.com/u/rushlink1)\
**Post date:** [May 26, 2021, 4:00pm UTC](https://awshq.com/t/someone-accidentally-provisioned-a-gigantic-ec2-instance-bill-is-very-high/12967/18 "2021-05-26T16:00:50Z")

</div>

> [@ImHarvol](#):
>
> This wouldn’t matter on this case, but it doesn’t update really often, right? Like once a day

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.

---

<div class="post-metadata">

**Author:** ![freak43](https://awshq.com/letter_avatar_proxy/v4/letter/f/48db29/32.png) [@freak43](https://awshq.com/u/freak43)\
**Post date:** [May 26, 2021, 4:07pm UTC](https://awshq.com/t/someone-accidentally-provisioned-a-gigantic-ec2-instance-bill-is-very-high/12967/19 "2021-05-26T16:07:22Z")

</div>

> [@Interesting-Foot-881](#):
>
> 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?

uhm 150 hours are nowhere near a month?

---

<div class="post-metadata">

**Author:** ![Morganross](https://awshq.com/letter_avatar_proxy/v4/letter/m/82dd89/32.png) [@Morganross](https://awshq.com/u/Morganross)\
**Post date:** [May 26, 2021, 4:10pm UTC](https://awshq.com/t/someone-accidentally-provisioned-a-gigantic-ec2-instance-bill-is-very-high/12967/20 "2021-05-26T16:10:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Interesting-Foot-881](https://awshq.com/letter_avatar_proxy/v4/letter/i/2acd7d/32.png) [@Interesting-Foot-881](https://awshq.com/u/Interesting-Foot-881)\
**Post date:** [May 26, 2021, 4:10pm UTC](https://awshq.com/t/someone-accidentally-provisioned-a-gigantic-ec2-instance-bill-is-very-high/12967/21 "2021-05-26T16:10:58Z")

</div>

> [@freak43](#):
>
> uhm 150 hours are nowhere near a month?

Just asking in general. Not related to OP.

[Next page](https://awshq.com/t/someone-accidentally-provisioned-a-gigantic-ec2-instance-bill-is-very-high/12967.md?page=2)
