AWS ECS
Using Consul on AWS ECS enables you to add your ECS tasks to the service mesh and take advantage of features such as zero-trust-security, intentions, observability, traffic policy, and more. You can also connect service meshes so that services deployed across your infrastructure environments can communicate.
Consul on ECS follows an architecture similar to other platforms, but each ECS task is a Consul node. An ECS task runs the user application container(s), as well as a Consul client container for control plane communication and an sidecar proxy container to facilitate data plane communication for Consul Connect.
There are several ways to get started with Consul with ECS.
- The learn guide shows how to use Terraform to run Consul service mesh applications on ECS with managed Consul servers running in HashiCorp Cloud Platform (HCP).
- The Service Mesh with ECS and Consul on EC2 learn guide shows how to use Terraform to run Consul service mesh applications on ECS with Consul servers running on EC2 instances.
- The example installation deploys a sample application in ECS using the EC2 launch type.