Coder Social home page Coder Social logo

Check clean up of EBS volumes about dandi-hub HOT 9 OPEN

satra avatar satra commented on July 17, 2024
Check clean up of EBS volumes

from dandi-hub.

Comments (9)

satra avatar satra commented on July 17, 2024 1

Is the /shared mount the same type of single-zone infrequent-access EFS?

yes

from dandi-hub.

asmacdo avatar asmacdo commented on July 17, 2024 1

Is the /shared mount the same type of single-zone infrequent-access EFS?

yes

https://github.com/dandi/dandi-hub/blob/do-eks/helm/jupyterhub/dandihub.yaml#L183-L199

from dandi-hub.

asmacdo avatar asmacdo commented on July 17, 2024 1

I deleted old staging-volumes that are no longer attached to resources. Next time we bring the whole thing down and backup we need to check if this is still happening, leaving open.

from dandi-hub.

asmacdo avatar asmacdo commented on July 17, 2024

Not sure if I understand correctly-- does this mean we do not need persistent volumes for the users?

from dandi-hub.

satra avatar satra commented on July 17, 2024

in the current hub the user persistent volumes come from EFS not EBS. i believe EBS is more expensive than EFS.

from dandi-hub.

CodyCBakerPhD avatar CodyCBakerPhD commented on July 17, 2024

i believe EBS is more expensive than EFS.

EFS is more expensive in terms of amount per unit time (assuming standard billing at $0.30/GB-month), but is only billed for total instantaneous usage over time

EBS is technically cheaper and has a lot more options for optimizing I/O speeds (let's just use $0.08/GB-month as baseline), but it has to be pre-allocated at a certain size on spawn of the instance or mount of the volume (I don't know what/how the Hub handles that) and you get billed for that full amount regardless of how much disk space the user actually utilizes on the volume over that time

So which is more expensive depends on (i) Hub configuration settings and (ii) user behavior

The way Luiz and I usually answer the question of which is more expensive for a non-theoretical application is to look at the billing information after usage, which delivers total summary amounts for each approach - is that available in this case?

from dandi-hub.

satra avatar satra commented on July 17, 2024

@CodyCBakerPhD - just to make sure we are comparing the costs as it stands, in dandi hub right now, we use single zone, infrequent-access for the EFS volume, which ends up being lower than EBS.

from dandi-hub.

satra avatar satra commented on July 17, 2024

however EBS can have quota's since K8s can provision them on the fly and attach to a pod. while EFS, currently cannot have quota's at least in the traditional sense. one could technically run an NFS service to then map EFS with quotas to the pods.

from dandi-hub.

CodyCBakerPhD avatar CodyCBakerPhD commented on July 17, 2024

just to make sure we are comparing the costs as it stands, in dandi hub right now, we use single zone, infrequent-access for the EFS volume, which ends up being lower than EBS.

Ahh OK thanks for clarifying. Single zone definitely makes sense

Seems the biggest difference between the types as advertised is latency and throughput speeds. But I haven't run benchmarks for read/write speeds between standard and infrequent EFS, but hope to get answers on that sometime this year as a part of the NWB Benchmark projects

Is the /shared mount the same type of single-zone infrequent-access EFS?

from dandi-hub.

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.