Recipe
server-ecs
The generic long-running server primitive as one Amazon ECS service on Fargate, running infra.replicas tasks of the Release's image, on the catalog's shared Amazon ECS body. Reach for it where the target is an AWS account with an ECS cluster and a VPC; reach for helm/server on a Kubernetes cluster. The cluster, subnets, security groups and execution role come from the operator, under infra.overrides, and each is required; a task role, a public IP, a load balancer target group and a log group are optional, and nothing is emitted for one left unset. Only a task definition and a service are emitted — no cluster, role, security group, log group or load balancer, each of which the operator already runs. No container health check is declared, because ECS runs one inside an image this Recipe does not name; a target group's own check is the operator's. Each env entry an edge's inject block, or the component's own, dictates becomes an entry of the container's environment under that name, its value written whole, so a Terraform reference a neighbour publishes is evaluated by the engine. A file entry is refused by name, as a Fargate task definition writes no file, and so are an arg entry, as no command line is rendered, and any other mechanism. The task runs at the smallest Fargate size meeting both infra.compute.cpu and infra.compute.memory, so the Component's defaults run at 0.25 vCPU and 512 MiB. The terraform-aws-modules ECS module is not sourced: its root runs services only in a cluster it creates itself, so it is not complete for a service in the operator's cluster. AWS App Runner is not used: it is no longer open to new customers.
ที่มา
- ไดเจสต์
ของ เนื้อหา - sha256:da007baec3a7771520bbd4a115e56d8ad9018daa82d30145b4b95c0ee8070477
- เผย
แพร่ - 2026-11-23T02:47:13Z
- ตัว
ตน ผู้ ลง ลาย เซ็น - https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
ลายเซ็น
- ทางการapplication/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:d0a8ce52adba9ac6bd946d218a79697542db5b108ea1c3fdfffdab4029261635
เอกสารอ้างอิงในเวอร์ชันนี้
oci://hub.aggrega.ai/recipe/terraform/server-ecs:1.2.0- เป้า
หมาย - —
- อิมพลีเมนต์
- core/compute/server:1.1.0
Provides
เทมเพลต
ไม่มี
Workload
ไม่มี
Locals
ไม่มี locals ที่
การแมป values
| ชื่อ | เทมเพลต |
|---|---|
| $import | EcsFargateArguments#/mappings/ServiceArguments |
ความสัมพันธ์
เส้น
Uses
- อิมพลีเมนต์อิมพลีเมนต์
core/compute/server:1.1.0
ใช้โดย
ไม่มี