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)
Sat, Nov 23, 2:35 PM
Unknown Object (File)
Tue, Nov 5, 7:31 AM
Unknown Object (File)
Tue, Nov 5, 7:31 AM
Unknown Object (File)
Tue, Nov 5, 7:31 AM
Unknown Object (File)
Tue, Nov 5, 7:27 AM
Unknown Object (File)
Fri, Nov 1, 4:56 PM
Unknown Object (File)
Fri, Nov 1, 4:56 PM
Unknown Object (File)
Fri, Nov 1, 4:55 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
No Lint Coverage
Unit
No Test Coverage