[{"data":1,"prerenderedAt":60},["ShallowReactive",2],{"pattern-eventbridge-lambda-fsx-openzfs-cross-account-region-periodic-replication":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":33,"level":34,"meta":35,"patternArch":36,"resources":6,"s3URL":6,"services":6,"stem":55,"testing":56,"videoId":6,"__hash__":59},"patterns\u002Fpatterns\u002Feventbridge-lambda-fsx-openzfs-cross-account-region-periodic-replication.json","Replicate Amazon FSx-OpenZFS volumes across file systems",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete --stack-name \u003Cstackname>\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fanup-rajpara.json",{"text":13},[14],"sam deploy --guided --capabilities CAPABILITY_AUTO_EXPAND CAPABILITY_IAM CAPABILITY_NAMED_IAM -t source-template.yaml","Periodic Amazon FSx for OpenZFS volume replication across AWS Regions and accounts using Amazon EventBridge Scheduler and AWS Lambda","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Feventbridge-lambda-fsx-openzfs-cross-account-region-periodic-replication","serverless-patterns\u002Feventbridge-lambda-fsx-openzfs-cross-account-region-periodic-replication","eventbridge-lambda-fsx-openzfs-cross-account-region-periodic-replication","source-template.yaml",{"headline":25,"text":26},"How it works",[27,28,29,30,31,32],"The AWS SAM template deploys an Amazon EventBridge Scheduler to trigger an AWS Lambda function based on a user-defined schedule. This function copies snapshots of the volume and replicates them to the target FSx system available in a different AWS account and\u002For region. The template contains a sample Lambda function that creates a snapshot of the source FSx VolumeID. Once the snapshot becomes available, it invokes another Lambda function in the destination AWS account or region, which initiates the replication by calling the copy_snapshot_and_update_volume API. This solution also notifies users using an SNS topic for any errors and snapshot creation details.","This pattern sets up the following resources:","An Amazon EventBridge Scheduler that triggers a Lambda function based on the schedule defined by the customer to take snapshots of the provided FSx Source VolumeID.","An SNS topic that sends notifications for any failures while creating snapshots.","The function also deletes older snapshots.","Sample Lambda functions that create snapshots of the source FSx VolumeID and replicate them by invoking another Lambda function, which calls the copy_snapshot_and_update_volume API for the target VolumeID in the destination AWS account or region.","Python","200",{},{"icon1":37,"icon2":42,"icon3":45,"line1":49,"line2":53},{"x":38,"y":39,"service":40,"label":41},20,50,"eventbridge-scheduler","Amazon EventBridge Scheduler",{"x":39,"y":39,"service":43,"label":44},"lambda","AWS Lambda",{"x":46,"y":39,"service":47,"label":48},80,"fsx","Amazon FSx for OpenZFS",{"from":50,"to":51,"label":52},"icon1","icon2","",{"from":51,"to":54,"label":52},"icon3","patterns\u002Feventbridge-lambda-fsx-openzfs-cross-account-region-periodic-replication",{"text":57},[58],"See the GitHub repo for detailed testing instructions.","vz_ts-Uuzcdo0NS8pinU7bfBiKWr2OyBnbfmU8cbmLA",1779791713443]