I would like your opinion on unlimited costs at AWS.
One of my customers, had, the perfect use case for the Step Functions I read about. I worked with it for a few days and was able to see the first results quite quickly. Shortly after that, I started the service that used the API gateway to accept data and process it through multiple processes using Step Functions. The cost was about 50$-100$ per day. Due to another feature request, from my customer, I extended the Step Function with a waiting loop, which looked ideal in my mind. Unfortunately, my idea turned out to be a big mistake. I built some kind of loop in one of the steps. At the beginning everything looked fine and my workflow worked exactly as it should. I watched the Step Machine for another day. Everything looked good and I took a few days off after a stressful time. However, in my absence the queue kept growing and suddenly I had 1000 tasks running in parallel and the costs shot up to $2000 a day. On the last day of my little break, I pulled up the AWS iOS app and frightened when I saw the "Estimated Costs" for this month. 33,000 $.
This project is my first contact with AWS and went completely wrong. I directly contacted the support and hoped that I can be helped. I hoped they could give me a refund.
The whole ticket was opened on 01.06.2021 and closed on 10.06.2021. 9 days I hoped that I could be helped. At the end they apologized for the waiting time, but they could not offer me a solution.
For me as a self-employed person it is a disaster, since it is my fault.
- What would have happened if the infinite loop, would cost $10,000 per day? When would AWS respond? For every credit, no matter how small, the credit rating is checked, why can I incur unlimited costs with AWS?
- What can I do better in the future and more importantly, how can I prevent that costs could rise unlimited?
- Is there a way to turn off all services at once?