-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filesystem concept (Feb.) #1313
Comments
@mguidon could you please edit the issue description with more info / tasks? |
First brainstorming took place with @sanderegg, @mguidon, @matusdrobuliak66. We would like to experiment with AWS Elastic File System in three stages:
We may potentially investigate the AWS DataSync option, but for now, we prefer to stick with RClone. Why?
![]() |
@matusdrobuliak66 @sanderegg @mguidon why was rclone discarded? Has anybody thought about This will allow us to start services without waiting. Also saving will go to S3 directly. So once the user is done interacting with the FS, it's as if the file was already on S3. |
@GitHK rclone is not discarded. we go stepwise. and until fixed, RClone presents some bad habit of blowing up without anyone knowing why. |
@GitHK Indeed, we did not discarcd it, we go step by step. For now |
After some issues with rclone, it will be phased out in favour of |
InvestigationCaching imagesWe want to have a quick startup time and get rid of buffer machines. 1. EFS (docker image save/load)
2. EFS (moving Image data to EFS via symbolic link)
3. EBS snapshot/volume (pre-baked AMI)
4. Multi-attach EBS
Caching workspace1.
|
One of them links that I already did before |
Investigation (Part 2)Caching Images
Caching WorkspaceTwo working examples (mounting EFS to docker container):
docker volume create --driver local --opt type=none --opt device=/mnt/efs/fs1/matus_docker_volume --opt o=bind my_limited_volume
docker run -d --name my_container -v my_limited_volume:/data redis
version: "3.7"
services:
wp_gary_gitton:
image: wordpress:6.3
volumes:
- wp_gary_gitton:/var/www/html/wp-content
volumes:
wp_gary_gitton:
driver_opts:
type: nfs
o: addr=fs-<some-number>.efs.us-east-1.amazonaws.com,rw,nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport
device: :/docker_compose_test It seems there is not straight forward option how to limit docker volume size when mounting. EFS doesn't support quotas. In any case I think it is not necessary. We can use CloudWatch and for example Lambda to monitor and manage EFS usage programmatically.
|
@matusdrobuliak66 about differences between shutdown and termination, please look here: AWS reference, this link was also already referenced from before. Another question, how do you setup the EBS volumes without EC2s? |
Conclusion/Summary
|
Thanks @matusdrobuliak66. This looks like a plan. Lets keep rclone on the radar for mounting other filesystems (e.g. |
EFS Experimentationtesting:
Outputs:
EFS (Bursting Mode)
EFS (Elastic Mode)
Note:
|
Mounting EFS to the Simcore node: |
This is how you can enable it for testing purposes: |
As agreed in the pre-planning meeting of the MartinKippenberger sprint, this ticket was split into three seperate tickets: |
NIH milestone
This is also a milestone for NIH, due by Y8Q2 (Feb. 2025)
Large Files
Improve handling of large files and reduce file-transfer operations as much as possible. This requires some research. The solution should ideally also work on-premise. Storage might need to be compeletey overhauled.
Data Accessibility [This is a Milestone for NIH Year 8 Q2]
Provide infrastructure to users to inspect/download/zip/delete files. This is a Milestone in NIH Year 8 Q2 (see #1635)
Shared Folder(s) - Advanced
Provide users the possibility to mount arbitrary data into their services:
Tasks
Eisbock
The text was updated successfully, but these errors were encountered: