Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

ec2-auto-shutdown is a systemd service that shuts down an instance automatically when there is no activity

Notifications You must be signed in to change notification settings

Extrality/ec2-auto-shutdown

 
 

Repository files navigation

ec2-auto-shutdown

ec2-auto-shutdown is a systemd service that helps you reduce AWS costs. It will shut down an instance automatically when there is no SSH activity for configured period of time and average load is bellow configured threshold.

Installation

$ curl -o- https://raw.githubusercontent.com/bokan/ec2-auto-shutdown/master/install.sh | sudo bash

Configuration

Config file is located at /etc/ec2-auto-shutdown/ec2-auto-shutdown-config.

Restart service after making changes using:

$ sudo systemctl restart ec2-auto-shutdown

About

ec2-auto-shutdown is a systemd service that shuts down an instance automatically when there is no activity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%