Connects to amazon ec2. Uploads file.