Change the user from ec2-user to root