ECS Service
An ECS (Elastic Container Service) Service is a container management service that allows you to run and scale containerized applications on AWS. It enables you to deploy and manage containers using clusters of virtual machines, providing automation in scaling, management, and networking. For a more detailed understanding, you can refer to the official ECS documentation.
Terraform Mappings:
aws_ecs_service.cluster_name
Supported Methods
GET
: Get an ECS service by full name ((clusterName)/(id))LIST
: List all ECS servicesSEARCH
: Search for ECS services by cluster
Possible Links
ecs-cluster
An ECS service operates within an ECS cluster, which is a logical grouping of tasks or services. The cluster is responsible for managing the infrastructure that the ECS service runs on.
elbv2-target-group
ECS services can be associated with an Elastic Load Balancing version 2 (ELBv2) target group, which allows the service to distribute incoming traffic evenly across the containers registered within that group.
ecs-task-definition
An ECS service uses an ECS task definition to launch and manage the containers. The task definition specifies the container images, CPU, and memory requirements, and other configurations for the service.
ecs-capacity-provider
The ECS service relies on ECS capacity providers to determine how the compute resources are allocated to the service. Capacity providers enable auto scaling and balance the resources between Spot and On-Demand instances.
ec2-subnet
ECS services can run within an specific EC2 subnets in a VPC to enhance security and control networking configurations, including IP routing and subnet-level policies.
dns
ECS services can be accessed via DNS configurations, which provide friendly naming to the service endpoints, allowing seamless integration and discoverability within and outside AWS environments.