Page MenuHomePhabricator

[services][terraform] Set up ECS cluster
ClosedPublic

Authored by bartek on Jul 20 2023, 4:52 AM.
Tags
None
Referenced Files
F4134757: D8583.id28882.diff
Tue, Feb 18, 2:33 PM
F4126600: D8583.diff
Tue, Feb 18, 8:03 AM
Unknown Object (File)
Sat, Feb 15, 4:04 PM
Unknown Object (File)
Sat, Feb 15, 12:37 AM
Unknown Object (File)
Tue, Feb 11, 9:35 AM
Unknown Object (File)
Fri, Feb 7, 11:08 PM
Unknown Object (File)
Tue, Jan 28, 1:25 PM
Unknown Object (File)
Jan 13 2025, 11:40 AM
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