[英]How to mount S3 bucket to ecs fargate container
I have an aws
ecs fargate
cluster.我有一个aws
ecs fargate
集群。 it is a ecs-fargate cluster not an ecs-ec2 cluster.它是一个 ecs-fargate 集群,而不是一个 ecs-ec2 集群。 And I am running some containers where I need to mount a volume.我正在运行一些需要安装卷的容器。 Is it possible to mount an s3
bucket to this fargate container?是否可以将s3
存储桶安装到这个 fargate 容器?
If so, how can I do that?如果是这样,我该怎么做?
If not, what are the other options I can follow?如果没有,我可以遵循哪些其他选择? I want to preserve these data for later use (for disaster recovery and also for later access)我想保留这些数据以供以后使用(用于灾难恢复和以后访问)
As mentioned in the comments, mounting S3 is a bad idea, and it won't work in your Fargate containers anyway.正如评论中提到的,挂载 S3 是个坏主意,而且无论如何它都不会在您的 Fargate 容器中工作。 Currently the only option for mounting external volumes in Fargate is to use Amazon EFS .目前,在 Fargate 中挂载外部卷的唯一选择是使用Amazon EFS 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.