Skip to content

Start and Stop AWS EC2 Instances from another always active Instance

License

Notifications You must be signed in to change notification settings

vpistis/ec2-start-stop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ec2-start-stop

Start and Stop AWS EC2 Instances from another always active Instance

Use it for server development / test / stage that should not always be running.

  1. Install aws-cli into another EC2 instance that is always running 24 hours on 24, write a script like this ec2-start-stop.sh provided.
  2. Put the script into cron (crontab -e) on this instance always active, for example using the cron.txt provided.

ATTENTION: always make a backup and test first using it!

About

Start and Stop AWS EC2 Instances from another always active Instance

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages