Recovering a Locked-Out EC2 Instance: How I Got Back In Without Losing Production Data

How I got back into a production server that would not accept the key or the console, kept the app online the whole time, and saved the…