Set root password from ec2 user in aws
when you create a new instance with ppk, it will enter login only by using ec2-user.
if you want to set root password then
$sudo su
#passwd root
#new password
#passwd -l root //
if you want to set root password then
$sudo su
#passwd root
#new password
#passwd -l root //