Define the S3 connection