Page MenuHomePhabricator

D12792.diff
No OneTemporary

D12792.diff

diff --git a/services/terraform/remote/aws_ecs.tf b/services/terraform/remote/aws_ecs.tf
--- a/services/terraform/remote/aws_ecs.tf
+++ b/services/terraform/remote/aws_ecs.tf
@@ -45,7 +45,7 @@
resource "aws_launch_template" "ecs_services" {
name_prefix = "services-ecs-ec2-"
image_id = data.aws_ami.al2_x86_ecs.id
- instance_type = "t3.small"
+ instance_type = "t3.xlarge"
iam_instance_profile {
name = aws_iam_instance_profile.ecs_instance_profile.name
@@ -73,8 +73,8 @@
resource "aws_autoscaling_group" "ecs_services" {
name = "services-ecs-ec2-asg"
- min_size = 0
- max_size = 3
+ min_size = 1
+ max_size = 5
# NOTE: desired_capacity is managed by ECS Capacity Provider
# This value sets only initial number of instances
diff --git a/services/terraform/remote/service_identity.tf b/services/terraform/remote/service_identity.tf
--- a/services/terraform/remote/service_identity.tf
+++ b/services/terraform/remote/service_identity.tf
@@ -114,7 +114,7 @@
execution_role_arn = aws_iam_role.ecs_task_execution.arn
network_mode = "bridge"
cpu = "512"
- memory = "512"
+ memory = "2048"
requires_compatibilities = ["EC2"]
# Set this to true if you want to keep old revisions

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 27, 10:09 AM (19 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2590127
Default Alt Text
D12792.diff (1 KB)

Event Timeline