I have a running EC2 instance with Debian 10.04LTS that I'd like to change the root SSH key of. How do I do this, since amazon set up that key initially for me? Can I just change it the way I'd normally change a user's SSH login key? Or will EC2 get confused for some reason?
There is currently no way to change it without terminating the instance. This site explains in further detail on how you should proceed in order to change the root SSH key and preserve all the data on the disk.