HomePhabricator
Diffusion Comm 9cd624adcc64

[services][terraform] Set up ECS cluster

Description

[services][terraform] Set up ECS cluster

Summary:
This diff introduces resources needed for ECS Cluster that is able to launch tasks on EC2 instances.

The cluster was created in AWS Console and imported to Terraform, along with default services namespace.

Additionally, the following resources were needed to run tasks on EC2:

  • Launch template with some custom instance configuration
  • Autoscaling group controlled by ECS capacity provider

Depends on D8582.

Test Plan: This configuration is already working in production for three services. Specific service configurations will be added in subsequent diffs.

Reviewers: jon, varun, michal

Reviewed By: jon

Subscribers: ashoat, tomek

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

Details

Provenance
bartekAuthored on Jul 20 2023, 4:39 AM
Reviewer
jon
Differential Revision
D8583: [services][terraform] Set up ECS cluster
Parents
rCOMMf22fd6f6890b: [services][terraform] Import VPC
Branches
Unknown
Tags
Unknown