Requirements
- Launch Type: Fargate and EC2 launch types are supported.
- Subnets: ECS Tasks can run in private or public subnets. Tasks must have network access to Amazon ECR or other public container registries to pull images.
ACL Controller: If you are running a secure Consul installation with ACLs enabled, configure the ACL controller.
-
Enterprise
-
- Sidecar containers: Consul on ECS requires two sidecar containers to run in each ECS task: a Consul agent container and a sidecar proxy container. These additional sidecar containers must be included in the ECS task definition. The will include these sidecar containers for you. If you do not use Terraform, you can construct the task definition yourself by following our documentation.
- Routing: With your application running in tasks as part of the mesh, you must specify the upstream services that your application calls. You will also need to change the URLs your application uses to ensure the application is making requests through the service mesh.