Skip to content

Trowsing/aws-instance-terminator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

AWS Instance Terminator

Simple CLI boto3 wrapper to terminate your EC2 instances by name tag.

Getting Started

Prerequisites

The boto3 library is required to run the script.

How to use it

This script takes one positional argument as the instance name and prompts for a terminate confirmation.

You can make it executable:

chmod -x terminate-instance.py

./terminate_instance.py my-instance-name-tag

Or call it directly:

python3 terminate-instance.py my-instance-name-tag

The help argument also contains the basic usage instructions:

python3 terminate-instance.py --help

About

Python script to terminate your EC2 instances using boto3.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages