Skip to content
Discord bot for controlling a singular AWS EC2 instance
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
bot.py

README.md

AWS EC2 Controller Discord Bot

This is still a large WIP, currently being used to turn a Feed the Beast server on and off from Discord. End goal is to have a larger amount of commands, easier integration with your own AWS account and not having just one hard coded instance.

Tools Used

  • Python 3 and pip3
  • AWS CLI : pip3 install awscli
  • AWS BOTO library : pip3 install boto3
  • Discord Bot library : pip3 install discord

Usage | Installation

  1. Install and setup the required tools above
  2. Setup AWS CLI with aws configure
  3. Go to Discord's developer site and setup a bot here
  4. Clone this repo into a desired folder
  5. Change the instance ID in bot.py to your desired instance
  6. Set the discord token environment variable with the name 'AWSDISCORDTOKEN'
  7. python3 bot.py :)

For easy and reliable usage I reccomend using upstart to restart on error and start on system startup

You can’t perform that action at this time.