How to mount S3 bucket to ecs fargate container

Viewed 5390

I have an aws ecs fargate cluster. it is a ecs-fargate cluster not an ecs-ec2 cluster. 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?

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)

1 Answers

As mentioned in the comments, mounting S3 is a bad idea, and it won't work in your Fargate containers anyway. Currently the only option for mounting external volumes in Fargate is to use Amazon EFS.

Related