copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

Support EFS Elastic Throughput

Open ytanay opened this issue 2 years ago • 2 comments

Copilot currently creates an environment-level EFS filesystem set to Bursting throughput mode.

For some of our workloads we've seen that Elastic Throughput is more appropriate (and it also seems to be the AWS recommended default).

Would it be possible to expose this configuration (presumably - at the environment level)?

ytanay avatar Dec 19 '23 18:12 ytanay

@ytanay Hi! I think yaml patch can help you achieve it. I haven't tested this snippet but I'd imagine you'd need a patch like this:

# In copilot/environments/overrides/cfn.patches.yml
- op: replace
  path: /Resources/FileSystem/Properties/ThroughputMode
  value: elastic

Lou1415926 avatar Dec 19 '23 21:12 Lou1415926

Yeah i did the same. Tbh that should be the standard mode. Bursting killed us our website for 8 hrs before we noticed it was EFS.

cmaerz avatar Aug 22 '24 06:08 cmaerz