News for hackers. Stuff that matters.
Re:I want to have an AWS region where everything breaks with... by breatheoften on Monday August 10, 2020 @04:56PM (#24113893)
Fascinating!

The mere existence of such an api would be an interesting source of problems when used accidentally/via buggy code ...

I wonder the degree to which this functionality would end up becoming relied on as a "in worst case hard kill things to recover" behavior that folks utilize for bad engineering reasons as opposed to good ones ...

Re:I want to have an AWS region where everything breaks with... by eru on Tuesday August 11, 2020 @02:24AM (#24117666)
Compare https://en.wikipedia.org/wiki/Crash-only_software and https://lwn.net/Articles/191059/

In a previous job we actually had to make a decision like this: our server software was generally stable enough, but we reset it whenever we did an update. Every once in a while it would break when running for long enough.

I opted for forcefully restarting the software every day, because I'd rather relive the pains of restarting, than to discover in production what it is like for the first time to run the system for the 501st day of uptime.

(To be honest, the system in question was mostly written in Erlang, so controlled restarts were already baked into its philosophy.)

Re:I want to have an AWS region where everything breaks with... by giancarlostoro on Monday August 10, 2020 @05:46PM (#24114380)
I would assume said code should never be part of actual deployments or only part of unit tests, maybe an external project even.
Re:I want to have an AWS region where everything breaks with... by agravier on Monday August 10, 2020 @05:51PM (#24114433)
Oh you, sweet summer child...
Re:I want to have an AWS region where everything breaks with... by drjasonharrison on Monday August 10, 2020 @08:39PM (#24115974)
Totally. I have added wifi power outlets to installations because process restart, OS restart, and hardware restart did not get a system back up and running. Yes it was a startup, and yes it was remotely installed hardware.
Re:I want to have an AWS region where everything breaks with... by tacLog on Monday August 10, 2020 @08:48PM (#24116049)
Might be a bit strange as you are saying this is a example of bad planning but my employer was discussing this today. We had a hard time finding options, what did you end up deploying or did you develop your own in house?
Re:I want to have an AWS region where everything breaks with... by mey on Monday August 10, 2020 @09:20PM (#24116253)
You want to search for "PDU remote management"

Edit: Another term is Switched PDU

Re:I want to have an AWS region where everything breaks with... by rcxdude on Tuesday August 11, 2020 @05:01PM (#24125932)
When I had this issue I just bought some cheap wifi 'smart sockets' which had some open-source firmware available and reflashed them. They even support reporting the voltage and current draw from the socket (though not particularly accurately) and toggling the power through a POST (with a password if set). Was very useful for power cycling various bits of hardware remotely.
Re:I want to have an AWS region where everything breaks with... by odonnellryan on Monday August 10, 2020 @06:24PM (#24114788)
Make it hard to accidentally call and hide it in the docs somewhere with items related to testing.
Re:I want to have an AWS region where everything breaks with... by dragonwriter on Monday August 10, 2020 @08:43PM (#24116010)
> Make it hard to accidentally call and hide it in the docs somewhere with items related to testing.

This would be more effective if so many other AWS features weren't hidden in non-obvious places in the docs.

Re:I want to have an AWS region where everything breaks with... by corobo on Tuesday August 11, 2020 @03:43AM (#24118107)
Make these functions only work in us-chaos-1
Re:I want to have an AWS region where everything breaks with... by drjasonharrison on Monday August 10, 2020 @08:37PM (#24115961)
Make it expensive.
Re:I want to have an AWS region where everything breaks with... by blaser-waffle on Tuesday August 11, 2020 @01:55PM (#24123453)
I'd imagine there is only a comparatively small (but earnest) pool of people who would want such an offering.

On top of keeping people who don't want it out, you'd need it to be expensive to offset the lower utilization.

I'd be okay with a garbage-tier, too. It's not failing on purpose, but only because no one gives a shit. Maybe that's just standard AWS?