Anthrasite / BotPumpkin

A simple Discord bot which includes commands for starting and stopping an AWS instance for hosting a game server.
MIT License
0 stars 0 forks source link

Add command for retrieving AWS cost information #8

Open Anthrasite opened 3 years ago

Anthrasite commented 3 years ago

Investigate what options are available for obtaining information regarding the total cost or monthly cost of AWS instances, so this information can be displayed either when the server is started/stopped or using another command to query the cost.

Anthrasite commented 3 years ago

The AWS API for python supports querying for account cost information, using functions such as get_cost_and_usage. A new command should be added to display this information.