[{"data":1,"prerenderedAt":61},["ShallowReactive",2],{"pattern-fargate-eventbridge-serverless":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":24,"introBox":25,"language":31,"level":32,"meta":33,"patternArch":34,"resources":47,"s3URL":24,"services":24,"stem":56,"testing":57,"videoId":6,"__hash__":60},"patterns\u002Fpatterns\u002Ffargate-eventbridge-serverless.json","Schedule Jobs with AWS Fargate","",{"text":8},[9],"\u003Ccode>serverless remove --verbose\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Ftejas-dhamecha.json",{"text":13},[14],"serverless deploy --verbose","Create a scheduled AWS Fargate Task running on AWS ECS Cluster and EventBridge Rule using Serverless Framework","json","Serverless Framework",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Ffargate-eventbridge-serverless","serverless-patterns\u002Ffargate-eventbridge-serverless","fargate-eventbridge-serverless","serverless.yml",null,{"headline":26,"text":27},"How it works",[28,6,29,6,30],"This pattern deploys an AWS Fargate Task on AWS ECS Cluster which runs on EventBridge Rule.","The Docker image for the task based on Node.js is built first, then the image is pushed to AWS ECR. AWS ECS pulls the image from ECR and runs the image on Fargate. A serverless plugin called 'serverless-fargate' is used to create the template. The job is scheduled to run on every 10 minutes.","A simple JSON file containing message string and timestamp, is pushed to S3 bucket. All the necessary resources and permissions are configured using Serverless Framework.","Node.js","100",{},{"icon1":35,"icon2":40,"line1":44},{"x":36,"y":37,"service":38,"label":39},20,50,"eventbridge","Amazon EventBridge",{"x":41,"y":37,"service":42,"label":43},80,"fargate","AWS Fargate",{"from":45,"to":46,"label":6},"icon1","icon2",{"headline":48,"bullets":49},"Additional resources",[50,53],{"text":51,"link":52},"Creating Amazon ECS resources with AWS CloudFormation","https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonECS\u002Flatest\u002Fuserguide\u002Fcreating-resources-with-cloudformation.html",{"text":54,"link":55},"Serverless Fargate Plugin","https:\u002F\u002Fwww.serverless.com\u002Fplugins\u002Fserverless-fargate","patterns\u002Ffargate-eventbridge-serverless",{"text":58},[59],"See the GitHub repo for detailed testing instructions.","yFpUwNysqig81hxac2yX-CKs94utVcLt8vb6jsFFr1g",1778846885482]