Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3373522
D12792.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D12792.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D12792: [terraform] Increase Identity memory to 2048
Attached
Detach File
Event Timeline
Log In to Comment