Is it recommended to have multiple MongoDB Docker containers on the AWS Elastic Container Service (ECS) that share the same AWS Elastic File System (EFS)? Why? Why not?
It would depend on your requirements. Basically, EFS implements NFSv4 protocols. Usually NFS is slower than the block device. Didn't test it. But think EFS performance would be lower than EBS on the same SSD device. You could test your application with MongoDB on EFS. If performance is not a concern, it would be fine to use EFS.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With