Skip to content
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

Terraform infrastructure #202

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

yusu-banana
Copy link
Contributor

@yusu-banana yusu-banana commented Jan 1, 2024

Tentative terraform infrastructure based on conversations with elpix
Builds are done via Github Actions, pushed to ECR and deployed to AWS ECS Fargate.
There are two Fargate services, one spot and one normal.
By default the bot will run on the spot service, unless that's not available, in which case it will run on the normal one.
Also to avoid setting the discord token in the image, we will get it from AWS parameter store in production.

Missing stuff:

  • Github Actions configuration
  • Health check for the container
  • Terraform state files (Pending discussion)
  • Testing it actually works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant