• HashiCorp Developer

  • HashiCorp Cloud Platform
  • Terraform
  • Packer
  • Consul
  • Vault
  • Boundary
  • Nomad
  • Waypoint
  • Vagrant
Consul
  • Install
  • Tutorials
  • Documentation
  • API
  • CLI
  • Try Cloud(opens in new tab)
  • Sign up
Consul Home

Documentation

Skip to main content
  • Documentation
  • What is Consul?



    • Overview
    • Requirements
    • Task Resource Usage
    • Architecture
    • Consul Enterprise
    • Configuration Reference
    • Compatibility Matrix

  • HCP Consul


  • Resources

  • Tutorial Library
  • Certifications
  • Community Forum
    (opens in new tab)
  • Support
    (opens in new tab)
  • GitHub
    (opens in new tab)
  1. Developer
  2. Consul
  3. Documentation
  4. AWS ECS
  5. Task Resource Usage
  • Consul
  • v1.13.x
  • v1.12.x
  • v1.11.x
  • v1.10.x
  • v1.9.x
  • v1.8.x

ยปResource Usage for Consul on AWS Elastic Container Service (ECS)

We ran performance tests of Consul on ECS to determine the resource usage of the sidecar containers Consul on ECS injects along with the ACL controller. The architecture page describes each Consul on ECS component in depth.

We used the following procedure to measure resource usage:

  • Executed performance tests while deploying clusters of various sizes. We ensured that deployment conditions stressed Consul on ESC components.
  • After each performance test session, we recorded resource usage for each component to determine worst-case scenario resource usage in a production environment.
  • We used Fargate's minimum allowed CPU (256 shares) and memory settings (512 MB) on ECS during performance testing to demonstrate that Consul on ECS along with application containers can run on the smallest ECS tasks.

Here is the maximum resource usage we observed for each container:

ContainerCPUMemory
ACL Controller5%43 MB
Health Sync6%35 MB
Consul Client10%87 MB
Envoy18%55 MB

The containers added by Consul on ECS consume resources well below the minimum CPU and memory limits for an ECS Task. Use the memory and cpu settings for the task definition if additional resources are necessary for your application task.

Edit this page on GitHub
Give Feedback(opens in new tab)
  • Certifications
  • System Status
  • Terms of Use
  • Security
  • Privacy
  • Trademark Policy
  • Trade Controls
  • Give Feedback(opens in new tab)