removed code to write data to ec2 disk, only upload to S3