Cette page a été traduite automatiquement. Lire l’original en anglais.

Recipe

worker-ecs

The generic background-worker primitive as one Amazon ECS service on Fargate, running infra.replicas tasks of the Release's image, rendered from the catalog's shared Amazon ECS fragment, which the provider assembles into the boundary's stack. Reach for it where the target is an AWS account with an ECS cluster and a VPC; reach for helm/worker 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 and a log group are optional, and nothing is emitted for one left unset. Only an AWS::ECS::TaskDefinition and an AWS::ECS::Service are emitted — no cluster, role, security group, log group or load balancer, each of which the operator already runs — and the container maps no port, so nothing connects to the worker. No container health check is declared, because ECS runs one inside an image this Recipe does not name. 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 neighbour's address arrives as an Fn::GetAtt in the same stack and as an Fn::ImportValue from another; concurrency and queue_depth_hint arrive by default as WORKER_CONCURRENCY and WORKER_QUEUE_DEPTH_HINT, which no edge may dictate while they are the defaults. File, arg and other entries are refused by name: Fargate writes no file, and no command line is rendered. 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.

Version

1.0.01.1.0

Provenance

OfficielSigné par une identité de signature que ce catalogue reconnaît comme éditeur officiel.
Empreinte du contenu
sha256:13cb52547c7073ad537516fc04e7464b1f60016d7b80a56d253ff100a9c74ed4
Publié
2026-11-23T02:46:45Z
Identité de signature
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Signature

  • Officielapplication/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:076cf465e2d0b165907b67a582c632d51c82ebe98a79c01524b43ed30920089f

Référence à cette version

oci://hub.aggrega.ai/recipe/cloudformation/worker-ecs:1.1.0
Cible
—
Implémente
core/compute/worker:1.0.0

Fournit

Modèles de pointeurs déterministes que cette recette câble pour les consommateurs.

Aucun modèle provides déclaré.

Workload

Aucun modèle de charge de travail déclaré.

Variables locales

NomModèle
value_env{"values.concurrency": "WORKER_CONCURRENCY", "values.queue_depth_hint": "WORKER_QUEUE_DEPTH_HINT"}

Correspondance des valeurs

Aucune correspondance des valeurs déclarée.

Relations

Arêtes typées vers et depuis d’autres entités publiées. Une référence sans cible publiée s’affiche comme une arête rompue plutôt que comme un lien.

Utilise

Utilisé par

Rien dans le catalogue ne dépend de cette entité.

Référence du concept Recipe

Le catalogue Aggrega — un index ouvert de composants, de fonctionnalités, de recettes et des plugins qui en assurent le rendu.

Conçu avec le système de design partagé d’Aggrega.

Confidentialité