Deploying Temporal on AWS Ecs with Terraform
Posted2 months agoActiveabout 1 month ago
papnori.github.ioTechstory
calmpositive
Debate
20/100
TemporalAWS EcsTerraformCloud Computing
Key topics
Temporal
AWS Ecs
Terraform
Cloud Computing
The article discusses deploying Temporal on AWS ECS using Terraform, with commenters raising questions about scaling, workflow management, and the benefits of using Temporal over AWS services.
Snapshot generated from the HN discussion
Discussion Activity
Moderate engagementFirst comment
13m
Peak period
9
Days 13-14
Avg / period
4.3
Key moments
- 01Story posted
Nov 5, 2025 at 1:00 AM EST
2 months ago
Step 01 - 02First comment
Nov 5, 2025 at 1:13 AM EST
13m after posting
Step 02 - 03Peak activity
9 comments in Days 13-14
Hottest window of the conversation
Step 03 - 04Latest activity
Nov 26, 2025 at 2:58 PM EST
about 1 month ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45819731Type: storyLast synced: 11/17/2025, 7:53:03 AM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
In the github you can find comments to easily switch to EC2 if your workload needs it
We're using prefect not Temporal and each prefect flow launches in a discrete ECS task so the waiting added up.
Does this handle the case where there are longer-running activities that have low CPU usage? Couldn't these be canceled during scalein?
Temporal would retry them, but it would make some workflow runs take longer, which could be annoying for some user-interactive workflows.
Otherwise I've seen needing to hit the metrics endpoint to query things like `worker_task_slots_available` to scale up, or query pending activities, pending workflows, etc to scale down per worker.
I originally ran this setup on Temporal Cloud, and pulling detailed worker/queue metrics directly from Cloud can be tricky... you need to expose custom worker metrics yourself, then pipe them into CloudWatch. If you host Temporal yourself, it is easier:)