Skip to content

Latest commit

 

History

History
4 lines (3 loc) · 350 Bytes

File metadata and controls

4 lines (3 loc) · 350 Bytes

AwsLambdaWithCloudWatchCronEvent

A simple nodejs task to start and stop Ec2 instance on AWS programatically which runs at specific time in the morning to start and stops at night using cloudwatch cron events. It uses a lambda function to start and stop ec2 instance. Cloudwatch event rule is used to invoke the function at specific time in a day.