Gaining access to inherited AWS EC2 instances
wiringbits.net
wiringbits.net
As a consultant, I have got to work many times with non-technical customers who don't have access to the servers running their applications.
I ended up writing small notes on how I have been gaining access to EC2 instances.
In short, AWS allows running scripts after the instance boots, which can be leveraged to introduce a "backdoor", like authorizing a new ssh key.
This is super helpful, unfortunately, it does not always work, specially on old instances like the ones I have been taking over.