简体   繁体   中英

How do I connect EBS to ECS Fargate?

I am trying to connect the same EBS to multiple ECS instances running on Fargate. I have a Docker container of my app, the ECS Task and ECS Service are working as expected, but I can't find any way to connect EBS to the ECS Task.

Note: The app instances synchronize writes through a common agent so there won't be a problem with regards to concurrency.

You can't do that. It is not possible. EBS only works with EC2 instances. EBS is not supported by Fargate (at this time). You would need to use EFS with Fargate.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM