Amazon ECS
Overviewโ
Amazon ECS is a powerful container orchestration service that simplifies deploying, managing, and scaling containerized applications. It supports the lifecycle management of containers, including deployment, recycling, high availability, and version management. Upwind integrates with Amazon ECS to enhance monitoring and management capabilities for your containerized applications.
How the components connectโ
This diagram shows how the Upwind components and their supporting AWS resources connect when you install with the Runtime Terraform Module. For every resource the module creates, see Resources the module creates.
- An EventBridge rule runs the registry credentials Lambda every hour. The Lambda reads your client credentials, exchanges them for a registry token, and writes the token to the registry secret. Terraform also invokes the Lambda once during apply so the first image pull works.
- The task execution role reads both secrets. ECS uses it to pull the Upwind images and to pass the credentials to the containers.
- The cluster manager exposes two ports. The sensor and scanner reach it over TLS gRPC on port
8444. The tracer reaches it over gRPC on port8082. All three find it through the same private AWS Cloud Map name,upwind-<cluster>.private, or through an internal load balancer's DNS name when you turn that on. - The tracer runs inside your Fargate workload containers. The
upwind-tracercontainer you add to the task only delivers the tracer binary, which your application container runs as its entrypoint. The module creates no resources for the tracer. It returns the tracer settings as thetraceroutput. See Tracer. - All Upwind containers send logs to one CloudWatch log group.
Installationโ
To deploy Upwind components on Amazon ECS, choose the compute option that best suits your needs and follow the detailed installation guides:
- Amazon EC2 Instances. Use EC2 for more control over the underlying infrastructure.
- AWS Fargate (Serverless). Use Fargate to run containers without managing servers.