This is exactly why I don't use AWS. I need 100% predicable billing.
Lately I have considered looking into AWS again, since their system is just leagues ahead of competitors.
Mind explaining how this "bug" caused such a massive bill? Did you not have alerts set up? No protections against scaling? Etc.