Skip to content

Instantly share code, notes, and snippets.

@matthewjberger
Last active November 21, 2025 10:18
Show Gist options
  • Select an option

  • Save matthewjberger/6edfff5649d297bcc454a295c552dc5a to your computer and use it in GitHub Desktop.

Select an option

Save matthewjberger/6edfff5649d297bcc454a295c552dc5a to your computer and use it in GitHub Desktop.
Valid cpu/memory combinations for AWS ECS Fargate Tasks: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-cpu-memory-error.html
CPU value Memory value (MiB)
256 (.25 vCPU) 512 (0.5GB), 1024 (1GB), 2048 (2GB)
512 (.5 vCPU) 1024 (1GB), 2048 (2GB), 3072 (3GB), 4096 (4GB)
1024 (1 vCPU) 2048 (2GB), 3072 (3GB), 4096 (4GB), 5120 (5GB), 6144 (6GB), 7168 (7GB), 8192 (8GB)
2048 (2 vCPU) Between 4096 (4GB) and 16384 (16GB) in increments of 1024 (1GB)
4096 (4 vCPU) Between 8192 (8GB) and 30720 (30GB) in increments of 1024 (1GB)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment