Hey guys,
I thought this was a pretty funny story and just wanted to rant a bit about it.
Recently I was deploying our application Potarix on an EC2 instance. I asked ChatGPT for the right EC2 server for our SAAS app, and it recommended spot instances because spot instances are cheaper than normal instances since they use AWS’s unused EC2 capacity. I thought you know why not? I prefer to save a little extra cash and there are probably periods of downtime in our app.
We deploy and everything is fine for a few days. I wake up on a Friday morning to a bunch of pings that the application isn’t working. I was like hmmm strange, I gave it a try and confirmed our app doesn’t work. I then decided to ssh into the EC2 instance to figure out what was going wrong, only to find that the EC2 instance wasn’t even on the AWS portal. I was panicking and thinking, did I even deploy this, or did I give the instance a different name, or did I accidentally delete it? I looked at the EC2 history and found that Amazon terminated the instance for me. A quick ChatGPT prompt revealed that these instances can be terminated anytime Amazon reclaims the capacity.
Through this experience, I learned 2 things:
1. Don’t use spot instances for anything that’s going to be deployed to production and needs to be active all the time.
2. Every time ChatGPT gives you a sketch recommendation, ask for downsides.
Asking ChatGPT for downsides might be a good exercise, but that's not addressing the root of the issue. If that's all you do then you're still relying on ChatGPT to understand the system and anticipate issues for you. Unless it's ChatGPT's responsibility to maintain the system and ChatGPT's reputation at stake when it suffers incidents, then that prospect should make you uncomfortable.
Consider for instance that it's not uncommon for ChatGPT to have downtime. What are you going to do if your system is down and, by coincidence, so is ChatGPT?
reply