aws / copilot-cli

The AWS Copilot CLI is a tool for developers to build, release and operate production ready containerized applications on AWS App Runner or Amazon ECS on AWS Fargate.
https://aws.github.io/copilot-cli/
Apache License 2.0
3.48k stars 400 forks source link

Support EFS Elastic Throughput #5573

Open ytanay opened 8 months ago

ytanay commented 8 months ago

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)?

Lou1415926 commented 8 months ago

@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
cmaerz commented 2 weeks ago

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.