Giter VIP home page Giter VIP logo

Comments (7)

jpignata avatar jpignata commented on July 17, 2024

Shared data volumes are for sharing data between containers within an instance of a running task. Since the CLI really only supports one container running per task, there's not much utility in defining volumes today. What did you have in mind in terms of using volumes via the CLI?

from fargatecli.

siddarthsreeni-zz avatar siddarthsreeni-zz commented on July 17, 2024

I was looking through the json and we could specify a shared data volume. Like a shared file etc. This could help save producer consumer related problems by using the volume as a semaphore etc. I had been trying to implement such a service instead. If a data volume could be specified like --data-volume whole running fargate clusters would be so much helpful in many situations.

from fargatecli.

siddarthsreeni-zz avatar siddarthsreeni-zz commented on July 17, 2024

Yea I agree it's one container per task. But multiple tasks can be run, which would all try to access the same shared data volume.

from fargatecli.

jpignata avatar jpignata commented on July 17, 2024

Gotcha. Yeah, shared data volumes are actually only accessible within a given task, not throughout an entire cluster. If AWS Fargate ships a feature to allow persistence across an entire cluster, I'll certainly immediately support it. Until then, I think this proposal is blocked.

from fargatecli.

luisbebop avatar luisbebop commented on July 17, 2024

https://github.com/rog555/aws_batch_efs

from fargatecli.

jpignata avatar jpignata commented on July 17, 2024

from fargatecli.

themotu avatar themotu commented on July 17, 2024

@jpignata This seems to exist https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-task-storage.html

from fargatecli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.