2 Answers
- Newest
- Most votes
- Most comments
0
Hello Ognif,
A good shared storage solution in ECS is either EFS or Amazon FSx for Windows File Server, or Bind mounts. Refer this AWS Documentation for more https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html
answered 2 years ago
0
Hi,
You can share EBS volumes or EFS across containers in ECS: see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html
The following article details how to share some EBS volumes across the various containers of an ECS task: https://medium.com/@dipandergoyal/aws-ecs-sidecar-share-data-between-containers-16a992480cb
Best,
Didier

While it is a good technical solution you have to consider cost and speed. It is multiple times more expensive than EBS.