<div dir="ltr">Hi Barry,<div><br></div><div>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.</div><div><br></div><div>There are configs available in the Config module to specify under the section AWS Settings. Those will be read by the <a href="https://github.com/aces/Loris-MRI/blob/main/python/run_push_imaging_files_to_s3_pipeline.py">run_push_imaging_files_to_s3_pipeline.py</a> LORIS-MRI script.<img src="cid:ii_lbfgkypo0" alt="Screen Shot 2022-12-08 at 2.14.53 PM.png" width="542" height="316"><br><div><br></div><div>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</div><div><br></div><div>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.</div><div><br></div><div>Hope this helps answer your question,</div><div><br></div><div>Cécile</div><div><br></div><div><div><div class="gmail-im" style="color:rgb(80,0,80)"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">From: <strong class="gmail_sendername" dir="auto">Barry Tikalsky</strong> <span dir="auto"><<a href="mailto:tikal004@umn.edu" target="_blank">tikal004@umn.edu</a>></span><br>Date: Wed, Dec 7, 2022 at 12:37 PM<br>Subject: [Loris-dev] S3 bucket for Imaging Uploads<br>To: <<a href="mailto:loris-dev@bic.mni.mcgill.ca" target="_blank">loris-dev@bic.mni.mcgill.ca</a>><br></div><br><br><div dir="ltr">Hello LORIS devs,<div>Is it possible to send all data uploaded from the imaging uploader to an S3 bucket instead of the file system?</div><div>I have seen references to S3 in the code base but I'm failing to find documentation on how to configure this.</div><div><div><br></div>--<br><div dir="ltr"><div dir="ltr"><div><img width="200" height="22" src="https://ci3.googleusercontent.com/mail-sig/AIorK4zzG9KDQY8i-LlvcMAmvBjv6cOqz5OsO6R35ImOJeHc2w_4SnDV6d4YCC8OAVr0OpnfwMw9d1w" class="gmail-CToWUd" style="color: rgb(136, 136, 136);"><br></div><div><div><span style="color:rgb(136,136,136)">Barry Tikalsky</span></div><span style="color:rgb(136,136,136)">Research Professional | Developmental Cognition and Neuroimaging Labs | Masonic Institute for the Developing Brain</span><br></div></div></div></div></div>_______________________________________________<br>Loris-dev mailing list<br><a href="mailto:Loris-dev@bic.mni.mcgill.ca" target="_blank">Loris-dev@bic.mni.mcgill.ca</a><br><a href="https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev" rel="noreferrer" target="_blank">https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev</a><br></div><br clear="all"><div><br></div></div></div><font color="#888888">--<br><div dir="ltr"><div dir="ltr"><div><div style="font-size:12.8px">Research Project Officer<br><a href="mailto:christine.rogers@mcgill.ca" target="_blank">christine.rogers@mcgill.ca</a><br>McGill Centre for Integrative Neuroscience | MCIN.ca</div><div style="font-size:12.8px">Montreal Neurological Institute-Hospital</div><div style="font-size:12.8px">McGill University | Montreal | Canada</div></div></div></div></font></div></div></div>