If you want to create/enable new ssh login acting as superuser on your ec2 instance instead of using ec2-user for all you can simply add the new user and enable ssh/key for him
Create new user “pippo”
adduser pippo
than log as the new user and edit his authorized keys file
mkdir /home/pippo/.ssh
vi /home/pippo/.ssh/authorized_keys
now exit from pippo and go back as admin
chmod 700 /home/pippo/.ssh
chmod 600 /home/pippo/.ssh/authorized_keys
and paste your PUBLIC part of your keypair there. Save and close.
Now to give the super user grant to “pippo” simply create a config file in /etc/sudoers.d/pippo with:
pippo ALL = NOPASSWD: ALL
# User rules for Pippo
pippo ALL=(ALL) NOPASSWD:ALL
Save and test (reload ssh)