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