Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.
/ maya Public archive

Discord bot for managing AWS EC2 lifecycle. List, describe, start, and stop instances through chat.

Notifications You must be signed in to change notification settings

kenellorando/maya

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

maya

Maya is web systems control bot that can manage AWS EC2 instance lifecycle through Discord chat.

Presently, it can list, get status, start, and stop EC2 instances.

image

Setup

Infrastructure Requirements

Maya runs as a Go binary on an EC2 instance with the following requirements:

  1. Go 1.20+ is installed.
  2. An IAM instance role with ec2:StartInstances, ec2:StopInstances, and ec2:DescribeInstance*.

Install

go build
./maya -token $DISCORD_TOKEN

Usage

  • /describe-instances - Get a list of all instances manageable by Maya.
  • /describe-instance-status [instance-id] Get an instance's reachability and system health status.
  • /start-instance [instance-id] - Start a specified instance.
  • /stop-instance [instance-id] - Stop a specified instance.

About

Discord bot for managing AWS EC2 lifecycle. List, describe, start, and stop instances through chat.

Topics

Resources

Stars

Watchers

Forks

Languages