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

Scale back vertical scaling size and set min_capacity=2 #72

Closed
chris13524 opened this issue Feb 13, 2024 · 1 comment
Closed

Scale back vertical scaling size and set min_capacity=2 #72

chris13524 opened this issue Feb 13, 2024 · 1 comment
Labels
accepted The issue has been accepted into the project

Comments

@chris13524
Copy link
Member

We use 3968+127=4,095 which rounds to 4096 which maps to https://github.com/WalletConnect/terraform-aws-ecs_cpu_mem/blob/98e5e78e12ede21a3fd3d5f1306620315e948fd4/main.tf#L8

Our CPU right now only demands one of these instances, and we have only 1 replica so are not HA. We should set the min_capacity to 2 to get HA, and also scale down the instance size, perhaps to 1 CPU to save costs and favor horizontal over vertical scaling.

@arein arein added the accepted The issue has been accepted into the project label Feb 13, 2024
@chris13524
Copy link
Member Author

Service rewritten; no longer applicable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted The issue has been accepted into the project
Projects
None yet
Development

No branches or pull requests

2 participants