[{"data":1,"prerenderedAt":59},["ShallowReactive",2],{"pattern-eventbridge-schedule-to-ec2-cdk":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":29,"level":30,"meta":31,"patternArch":32,"resources":46,"s3URL":6,"services":6,"stem":54,"testing":55,"videoId":6,"__hash__":58},"patterns\u002Fpatterns\u002Feventbridge-schedule-to-ec2-cdk.json","Amazon EventBridge Scheduler to start and stop EC2 instances",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk destroy\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fdavid-boyne.json",{"text":13},[14],"cdk deploy","Simple pattern that starts and stops given EC2 instances based on time of day, timezone and days of week","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Feventbridge-schedule-to-ec2-cdk","serverless-patterns\u002Feventbridge-schedule-to-ec2-cdk","eventbridge-schedule-to-ec2-cdk","cdk\u002Flib\u002Fschedule-ec2-instances-start-and-stop-stack.ts",{"headline":25,"text":26},"How it works",[27,28],"Creates a schedule that turns on instances at 7:00am and turns them off at 18:00pm Monday to Friday using Europe\u002FLondon timezone.","Example uses \u003Ca href='https:\u002F\u002Fdocs.aws.amazon.com\u002Fscheduler\u002Flatest\u002FUserGuide\u002Fmanaging-targets-universal.html'>universal targets\u003C\u002Fa> with EventBridge Scheduler to talk to the EC2 directly.","TypeScript","300",{},{"icon2":33,"icon3":38,"line2":42},{"x":34,"y":35,"service":36,"label":37},20,50,"eventbridge-scheduler","Schedule",{"x":39,"y":35,"service":40,"label":41},75,"ec2","Amazon EC2",{"from":43,"to":44,"label":45},"icon2","icon3","Start\u002FStop Instances based on timezones",{"bullets":47},[48,51],{"text":49,"link":50},"Introducing Amazon EventBridge Scheduler","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fintroducing-amazon-eventbridge-scheduler\u002F",{"text":52,"link":53},"Amazon EventBridge Scheduler Docs","https:\u002F\u002Fdocs.aws.amazon.com\u002Fscheduler\u002Flatest\u002FUserGuide\u002Fwhat-is-scheduler.html","patterns\u002Feventbridge-schedule-to-ec2-cdk",{"text":56},[57],"See the GitHub repo for detailed testing instructions.","Raeq4irKwU-4nXHK_4CrN2rMzKIUtYNlSWDsgxWRtEc",1778846885017]