Better HN
topnewbestaskshowjobs
Log inSign up

norapap

10 karma · joined Feb 21, 2023 (3y ago) · 5 submissions

Submissions

comment 1y ago · link · parent

I found a lot of guides and articles on how to host Temporal - they have it in the official docs also:)

comment 1y ago · link · parent

They can be cancelled if CPU drops below the scale-in threshold. In my case the activities were CPU-heavy, batch-style, and not client-facing — so preferred occasional retries and slightly longer runtimes over blowing up the AWS bill. For that workload, CPU-based autoscaling was perfectly fine.

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:)

comment 1y ago · link · parent

We went with Fargate because it keeps things lean — no servers to manage, no patching, no scaling headaches. It’s perfect for our bursty workloads, since we only pay when containers actually run . Plus autoscaling just works .

In the github you can find comments to easily switch to EC2 if your workload needs it

4.

Deploying Temporal on AWS ECS with Terraform(papnori.github.io ↗)

28 points · by norapap · 1y ago · 13 comments