Open alvyn279 opened 3 years ago
Hi!
This is a wonderful repo as I am looking to build a similar bot with AWS ECS as well.
Just curious what is the cost after removing the NAT Gateway?
Thanks in advance!
Hey @Stochastic-Adventure ,
I recall being charged around 2$/day solely for bot heartbeat (every 1-2 mins) traffic going through the NAT Gateway.
I think running continuously a single image of the bot cost around 8-10$ a month or so.
Thanks!
$8-10 / month is reasonable.
One more question: did you use AWS Secrets Manager to store bot token?
Thanks!
$8-10 / month is reasonable.
One more question: did you use AWS Secrets Manager to store bot token?
Nope, I have it as an env var, but modifying the bot to make use of SM would probably be best practice here. Might be cheap too.
This being said, the current bot setup I have makes it quite hard to attack the secret as env var on the containerized app. The ec2 instance has no public IP, being in its own VPC, and what not.
ApplicationLoadBalancedEc2Service
messageId
?guildId
as attribute (redesign DDB)created by
in title of list itemCommandReaction
into a class other thanDiscordEventsBot
~ListDiscordEventsCommandArgs
into more specific classes for each ddb repo op~!attend-event
+ emoji reactionsTakeaways