Skip to content

Tags: CommE2E/comm

Tags

phabricator/diff/50834

Toggle phabricator/diff/50834's commit message
[terraform] optimize Fargate resource usage

Summary:
[ENG-11521](https://linear.app/comm/issue/ENG-11521/consider-lowering-fargate-resource-usage-on-prod).

Backup Memory: 2048 -> 1024
Feature Flag desired count: 1 -> 0 (we're not using it at all, there no point in keeping it running)
Identity memory: 2048 -> 1024
Report service memory: 8192 -> 1024
Report service CPU: 1024 -> 512

After deploying, we can look again and stats after a week and consider lowering CPU to 256 and memory to 512.

Depends on D15540

Test Plan: Terraform plan

Reviewers: ashoat

phabricator/base/50834

Toggle phabricator/base/50834's commit message
[terraform] lower Fargate resource usage on prod

Summary:
[ENG-11521](https://linear.app/comm/issue/ENG-11521/consider-lowering-fargate-resource-usage-on-prod).

Backup CPU: 1024 -> 512
Identity min count: 2 -> 1
Tunnelbroker min count 2 -> 1

Depends on D15536

Test Plan: Terraform plan

Reviewers: ashoat

Reviewed By: ashoat

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D15540

phabricator/diff/50832

Toggle phabricator/diff/50832's commit message
[terraform] lower Fargate resource usage on prod

Summary:
[ENG-11521](https://linear.app/comm/issue/ENG-11521/consider-lowering-fargate-resource-usage-on-prod).

Backup CPU: 1024 -> 512
Identity min count: 2 -> 1
Tunnelbroker min count 2 -> 1

Depends on D15536

Test Plan: Terraform plan

Reviewers: ashoat

phabricator/base/50832

Toggle phabricator/base/50832's commit message
[terraform] remove EC2-based infrastructure

Summary:
[ENG-11486](https://linear.app/comm/issue/ENG-11486/shut-down-ec2-services).

Remove ECS EC2 Capacity Provider, Auto Scaling Group, ECS Instance Role and AMI.

Depends on D15539

Test Plan: terraform apply and test staging

Reviewers: tomek, ashoat

Reviewed By: ashoat

Differential Revision: https://phab.comm.dev/D15536

phabricator/diff/50826

Toggle phabricator/diff/50826's commit message
[terraform] remove EC2-based infrastructure

Summary:
[ENG-11486](https://linear.app/comm/issue/ENG-11486/shut-down-ec2-services).

Remove ECS EC2 Capacity Provider, Auto Scaling Group, ECS Instance Role and AMI.

Depends on D15539

Test Plan: terraform apply and test staging

Reviewers: tomek, ashoat

Differential Revision: https://phab.comm.dev/D15536

phabricator/diff/50825

Toggle phabricator/diff/50825's commit message
[terraform] remove EC2 capacity provider from the cluster

Summary: [ENG-11486](https://linear.app/comm/issue/ENG-11486/shut-down-ec2-services).

It will disconnect the capacity provider from the cluster without trying to delete it.

Depends on 15538

Test Plan: terraform apply and test staging

Reviewers: tomek, ashoat

phabricator/diff/50824

Toggle phabricator/diff/50824's commit message
[terraform] remove EC2-based resources

Summary: [ENG-11486](https://linear.app/comm/issue/ENG-11486/shut-down-ec2-services).

All EC2-based ECS resources for services are now gone (EC2 service, target group, and task definition)

Depends on 15537

Test Plan: terraform apply and test staging

Reviewers: tomek, ashoat

phabricator/diff/50823

Toggle phabricator/diff/50823's commit message
[terraform] remove EC2 targets from load balancers

Summary: [ENG-11486](https://linear.app/comm/issue/ENG-11486/shut-down-ec2-services).

Updated all load balancer listeners to route 100% traffic directly to Fargate target groups. Without this AWS fails to remove EC2 instances

Depends on D15525

Test Plan: terraform apply and test staging

Reviewers: tomek, ashoat

phabricator/diff/50822

Toggle phabricator/diff/50822's commit message
[terraform] remove EC2-based infrastructure

Summary: [ENG-11486](https://linear.app/comm/issue/ENG-11486/shut-down-ec2-services).

Remove ECS EC2 Capacity Provider, Auto Scaling Group, ECS Instance Role and AMI.

Depends on D15525

Test Plan: terraform apply and test staging

Reviewers: tomek, ashoat

phabricator/diff/50820

Toggle phabricator/diff/50820's commit message
[native] Add native_rust_library to NotificationService target

Summary: [ENG-11534](https://linear.app/comm/issue/ENG-11534/add-native-rust-library-to-notificationservice-target)

Test Plan: Build native app

Reviewers: tomek, ashoat

Differential Revision: https://phab.comm.dev/D15529