Page MenuHomePhabricator

[services][terraform] Set up ECS cluster
ClosedPublic

Authored by bartek on Jul 20 2023, 4:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 13, 11:40 AM
Unknown Object (File)
Fri, Dec 27, 4:25 AM
Unknown Object (File)
Fri, Dec 27, 4:25 AM
Unknown Object (File)
Fri, Dec 27, 4:25 AM
Unknown Object (File)
Fri, Dec 27, 4:18 AM
Unknown Object (File)
Nov 30 2024, 12:38 AM
Unknown Object (File)
Nov 29 2024, 11:32 PM
Unknown Object (File)
Nov 23 2024, 2:35 PM
Subscribers

Details

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.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable