Skip to content

Inquiry Regarding Limits and Considerations for Using Amazon EFS with ECS Fargate and Future EKS Integration

0

We are planning to use Amazon EFS (Elastic File System) for ECS Fargate volumes to meet a specific requirement. Could you please clarify if there are any limits on the number of tasks that can be attached to a single EFS volume? Additionally, are there any considerations we should be aware of when implementing this setup?

We are also planning to transition to EKS (Elastic Kubernetes Service) in the near future, so we would appreciate any guidance on how this might impact our approach.

2 Answers
1

Hello.

Judging from the table in the document below, I think it is possible to connect up to 25,000.
https://docs.aws.amazon.com/efs/latest/ug/limits.html#limits-efs-resources-per-account-per-region
a

Additionally, are there any considerations we should be aware of when implementing this setup?

Since EFS is shared storage, performance can be affected by simultaneous access from multiple tasks.
It is possible to change EFS performance, but please note that some actions can only be performed once every 24 hours.
https://docs.aws.amazon.com/efs/latest/ug/performance.html#throughput-modes

Switching from Provisioned throughput mode to Elastic or Bursting throughput mode.
Decreasing the Provisioned throughput amount.

We are also planning to transition to EKS (Elastic Kubernetes Service) in the near future, so we would appreciate any guidance on how this might impact our approach.

In the case of EKS, it should be possible to mount it in the same way as ECS, so I don't think there is anything to be careful about.

EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago
EXPERT
reviewed 2 years ago
0

Hello,

You can connect up to 25,000 ECS Fargate tasks to a single Amazon EFS volume, according to AWS limits. However, when using EFS as shared storage, it's important to consider that simultaneous access by multiple tasks can impact performance. You can modify the EFS throughput settings, but note that some changes, such as switching between Provisioned and Elastic or Bursting throughput modes, can only be performed once every 24 hours.

As for your future transition to EKS, EFS can be mounted in EKS in a similar manner as in ECS, so the integration should be straightforward. However, it's important to consider the same performance implications and limitations when planning your EKS setup.

EXPERT
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.