- Updated launch template to t3.xlarge (16GB RAM) - can consider also t3.large (8GB), I'll be experimenting with it on staging
- Updated Identity task definition to use 2048 MB memory
Details
Applied on staging, then prod.
Diff Detail
- Repository
- rCOMM Comm
- Branch
- arcpatch-D12792 (branched from master)
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Assuming this draft is ready for review since @bartek linked in on Linear
services/terraform/remote/aws_ecs.tf | ||
---|---|---|
74 ↗ | (On Diff #42456) | What services use this config? Does identity use this config? |
76 ↗ | (On Diff #42456) | What does the change in min_size do? |
77 ↗ | (On Diff #42456) | In what contexts do we reach max_size? It seemed like we have 2 instances of identity when I was looking on the AWS console. |
Yeah, I wasn't publishing it yet because of some experiments I was doing on staging (with rolling deployments when low on resources) but I think I'll stick with configuration from this diff, it's doing just fine.
services/terraform/remote/aws_ecs.tf | ||
---|---|---|
74 ↗ | (On Diff #42456) | All EC2-based services, including Identity and Blob |
76–77 ↗ | (On Diff #42456) | I should've added comments here: These numbers determine the number of VMs able to run EC2-based services. Now it's set to be between 1-5 t3.xlarge VM instances (machines on which services run). It's not the number of particular service instances. It was 0-3 before, but it felt outdated - we have 2 instances running constantly, and often a 3rd is needed when doing a rolling (zero-downtime) deploy. |