Change Storage location to AWS S3

1. What is the issue? Please be detailed.
I have set up an ec2 machine for odk central. I want to modify the storage process to store any media attachments associated with the forms to directly get uploaded to S3. Is there any way to modify the settings to achieve this?

2. What steps can we take to reproduce this issue?

3. What have you tried to fix the issue?

4. Upload any forms or screenshots you can share publicly below.

I would think you might be able to mount an S3 bucket to the EC2 instance such as described here:

And then adapt the instructions for adding external storage to your ODK Central installation:

I think OP wants to keep the media out of the DB and instead put it on blob storage like S3. There's a similar feature request here: Storing images on AWS S3 for ODK Central. Do I have it right, @abhinav_sinha?

Can you tell me more about what's driving this need? Is it because of DB performance? Because you want to link directly to the files?

1 Like