Learn to automate S3 to FSx for OpenZFS transfers with EventBridge and DataSync, so every upload to an S3 prefix lands on FSx with no manual steps.
It is 6:15 AM in Pune. The overnight analysis job started at 6:00 on a 40-node cluster, reading from /fsx/incoming.
Every example in this module uses placeholder values, and every one of them must be replaced with your own before you run a command.
Several AWS tools can move files from S3 to a file system, and most of them are the wrong fit for OpenZFS.
The pipeline is a chain of five small steps, and each one only does one job.
Terraform is the recommended path because it builds every resource in the right order and lets you rebuild the pipeline identically in another...
Use the console path if you prefer the visual interface over Terraform. It creates the same resources, one screen at a time.
It is 6:15 AM in Pune. The overnight analysis job started at 6:00 on a 40-node cluster, reading from /fsx/incoming.
Every example in this module uses placeholder values, and every one of them must be replaced with your own before you...
Several AWS tools can move files from S3 to a file system, and most of them are the wrong fit for OpenZFS.
The pipeline is a chain of five small steps, and each one only does one job.
Terraform is the recommended path because it builds every resource in the right order and lets you rebuild the pipeline...
Use the console path if you prefer the visual interface over Terraform.
Use the CLI path if you want to script the setup without Terraform and without the console.
Follow these steps after setup to confirm every link in the chain works.
DataSync, EventBridge and Step Functions cost almost nothing at low volume.
Command Reference Common Mistakes EventBridge not being enabled on the S3 bucket is the most common failure.
Roles that use the skills in this module.
DevOps Engineer
₹8L - ₹18L a year
Cloud Engineer
₹6L - ₹14L a year
Site Reliability Engineer (SRE)
₹10L - ₹24L a year
Not a software engineer sheet. Every problem comes from real DevOps, SRE, Platform and Cloud interviews, from your first script to a system you build yourself.
Open the Coding SheetNo. FSx for Lustre can link directly to an S3 bucket, but FSx for OpenZFS has no such feature. You use AWS DataSync to copy the files, and an event trigger to start it whenever a file lands in S3.
EventBridge has no built-in DataSync target that I could find, and AWS's own examples start DataSync tasks from Lambda or Step Functions. A two-line Step Functions state machine calls the DataSync API directly, so you get the trigger and automatic retries without writing any Lambda code.
A DataSync task runs one execution at a time, so uploads that arrive during a run must wait or be retried. The Step Functions retry setting in this module handles short bursts. If you receive thousands of tiny files per minute, a scheduled task every few minutes is simpler and cheaper.
Yes, on the next run. Each execution compares everything under the S3 prefix with the FSx path and copies what is missing or changed. For a first backfill, start the task once by hand and let the event trigger take over afterwards.