A bot for start, stop and get current status with IP for AWS EC2 Instances on discord app (:
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)
Command: !aws start
Bot response: Starting instance 🧐
Command: !aws stop
Bot response: Stopping instance 🧐
Command: !aws status
Bot response: Instance status: running (18.181.80.8) 😄
Bot response: Instance status: stopped 😴
Bot response: Instance status: pending 🤔
Run npm run start
to start the bot in production
Run npm run dev
to start the bot in development with livereload