HomePhabricator
Diffusion Comm deb2e9c3a1f3

[services][terraform] Set up electron-update ECS service

Description

[services][terraform] Set up electron-update ECS service

Summary:
This diff introduces Terraform configuration that is needed to bootstrap the electron-update service.
It is deployed as a ECS Fargate service - this diff more or less the deployment configuration for services.

A few notes:

  • The task definition, ecs-service and target-group were created using Terraform
  • Existing load balancer was imported into Terraform state and the ECS target group was linked to it
  • A test listener was added to be able to reach the ECS service directly. I'll delete it once we redirect 100% traffic to the ECS service.

Depends on D8583

Test Plan: The service is already deployed to production and handles most of real network traffic.

Reviewers: michal, jon, varun

Reviewed By: michal

Subscribers: ashoat, tomek

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

Details

Provenance
bartekAuthored on Jul 20 2023, 5:25 AM
Reviewer
michal
Differential Revision
D8585: [services][terraform] Set up electron-update ECS service
Parents
rCOMM9cd81259b02d: [web] remove `sql.js` dependency
Branches
Unknown
Tags
Unknown