The directory /var/www/vhosts which WordPress is installed is owned by the user of Nginx who runs the web server, so you can’t upload files there with sftp client and so on....
You need to use ec2-user to ssh to the instance created by Amazon Linux version of Amimoto. So you have to use sudo command when you need the root authority....