Jenkins, Jenkins SSH Plug-In, EC2, "ubuntu" user and "www-data"
The ssh plugin gives you both options, 
Either send build artifacts to remote server or run a command on the remote server. 
The name of the plugin is "send build artifacts over ssh".. use that