Which solution ensures that all the updated third-party files are available in the morning?
Configure a nightly Amazon EventBridge (Amazon CloudWatch Events) event to trigger an AWS Lambda function to run the RefreshCache command for Storage Gateway.
Instruct the third party to put data into the S3 bucket using AWS Transfer for SFTP.
Modify Storage Gateway to run in volume gateway mode.
Use S3 same-Region replication to replicate any changes made directly in the S3 bucket to Storage Gateway.
Explanations:
A nightly EventBridge event can trigger a Lambda function to run the RefreshCache command for Storage Gateway, ensuring that the updated files are visible in the morning.
AWS Transfer for SFTP would change how files are uploaded but does not address the issue of updating the Storage Gateway cache for existing files in S3.
Volume Gateway mode is designed for block storage, not file-based storage, and does not solve the issue of syncing the file data between S3 and Storage Gateway.
S3 same-Region replication duplicates objects within S3 but does not interact with or refresh the Storage Gateway cache, so it doesn’t help in making files visible to the gateway.