Skip to content

pebo/cloud-nanny

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloud nanny

A simple demo using AWS lamdba and cloudwatch events to start and stop EC2 instances based on cron schedules.

Installation

export AWS_PROFILE=<profile>
./create-roles.sh
./deploy.sh

Tag instances with stopAtNight to start / stop based on WakeUp and BedTime schedule.

Update and rerun ./set-wakeup.sh and ./set-bedtime.sh to change scheduling.

Manual test of the python script

From the command line terminal.

export AWS_PROFILE=<profile>
python nanny.py    

To redeploy the lamdba rerun the ./deploy.sh script.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published