Implement s3 uploading task.