Skip to content

aws discord bot to start, stop and get given instance status with public IP

Notifications You must be signed in to change notification settings

pdias94/aws-instancebot-discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-instancebot-discord

A bot for start, stop and get current status with IP for AWS EC2 Instances on discord app (:

How it works

The basic command which the bot will get from the messages sent in the chat is !aws. Then 3 basic commands it will check:

  • start (starts EC2 instance)
  • stop (stops EC2 instance)
  • status (get EC2 instance status followed by it's public IP)

Examples

Start

Command: !aws start

Bot response: Starting instance 🧐

Stop

Command: !aws stop

Bot response: Stopping instance 🧐

Status

Command: !aws status

Status: running

Bot response: Instance status: running (18.181.80.8) 😄

Status: stopped

Bot response: Instance status: stopped 😴

Status: pending

Bot response: Instance status: pending 🤔

Developer Area

Starting the bot command to production

Run npm run start to start the bot in production

Starting the bot command to development

Run npm run dev to start the bot in development with livereload

About

aws discord bot to start, stop and get given instance status with public IP

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published