[Loris-dev] S3 bucket for Imaging Uploads

Cecile Madjar cecile.madjar at mcin.ca
Thu Dec 8 14:51:18 EST 2022


Hi Barry,

For the imaging side, we currently support sending NIfTI/MINC files
inserted into LORIS to an S3 bucket in the latest versions of LORIS. This
feature is still fairly new to LORIS.

There are configs available in the Config module to specify under the
section AWS Settings. Those will be read by the
run_push_imaging_files_to_s3_pipeline.py
<https://github.com/aces/Loris-MRI/blob/main/python/run_push_imaging_files_to_s3_pipeline.py>
LORIS-MRI
script.[image: Screen Shot 2022-12-08 at 2.14.53 PM.png]

For the frontend to be able to read the images, two apache environment
variables need to be set with the user's S3 access keys: AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY

Currently, this has been mainly tested for images converted from DICOMs to
BIDS (via the python side of LORIS) but the script should work as well
after having run the DICOM to MINC pipeline via our usual perl pipeline.

Hope this helps answer your question,

Cécile

From: Barry Tikalsky <tikal004 at umn.edu>
Date: Wed, Dec 7, 2022 at 12:37 PM
Subject: [Loris-dev] S3 bucket for Imaging Uploads
To: <loris-dev at bic.mni.mcgill.ca>


Hello LORIS devs,
Is it possible to send all data uploaded from the imaging uploader to an S3
bucket instead of the file system?
I have seen references to S3 in the code base but I'm failing to find
documentation on how to configure this.

--

Barry Tikalsky
Research Professional | Developmental Cognition and Neuroimaging Labs |
Masonic Institute for the Developing Brain
_______________________________________________
Loris-dev mailing list
Loris-dev at bic.mni.mcgill.ca
https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev


--
Research Project Officer
christine.rogers at mcgill.ca
McGill Centre for Integrative Neuroscience | MCIN.ca
Montreal Neurological Institute-Hospital
McGill University | Montreal | Canada
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20221208/3a21475c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2022-12-08 at 2.14.53 PM.png
Type: image/png
Size: 83594 bytes
Desc: not available
URL: <http://mailman.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20221208/3a21475c/attachment-0001.png>


More information about the Loris-dev mailing list