automate-start-stop-server
README.md

automate-start-stop-server

This automation project uses a combination of AWS CloudWatch Event Trigger and AWS Lambda to automate the start and stop of a remote server.

This steps involved in the demonstration are...

  1. Create an instance.

  2. Create two Lambda functions, one for starting the server when triggered, and the other for stopping it.

  3. The functions are written in Python, using the boto library.

  4. CloudWatch Event Trigger rules are created, one is associated with the start server Lambda functions, and it uses Cron expression to trigger the function at 9am. The other rule triggers the stop server Lambda function at 5pm using the Cron expression as well.