-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Road Map #1
Comments
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? |
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
Switch to public ECR repositoryCheck why health checks fail so often with task definitionmessageId
?guildId
as attribute (redesign DDB)created by
in title of list itemExtractCommandReaction
into a class other thanDiscordEventsBot
Send PM for my-events instead of in public channelDescribing events with reactionsMake notifying delay configurableRight now the singleton pattern for the scheduler only allows there to be a single instance servicing the bot at all times.
Look into https://github.com/Discord4J/connect
RefactorListDiscordEventsCommandArgs
into more specific classes for each ddb repo op!attend-event
+ emoji reactionsTakeaways
Solution: Set to 0 before update as per docs.
Better solution: USE DAEMON MODE !!
Preserve current desired counts on deploy of auto scaled resources aws/aws-cdk#5215
fix(aws-ecs): update desired count to be optional aws/aws-cdk#12223
(ecs): Optional DesiredCount value should be omitted in templates aws/aws-cdk#11951
The text was updated successfully, but these errors were encountered: