Uploading files directly to S3 using Pre-signed POST request

Pre-signed POST request allows for securely uploading large files directly to S3 via a signed expirable url, bypassing the 30 seconds Heroku time limit.It’s easy to create a form in Rails which can upload a file to the backend. The backend, can then take the file and upload it to S3. We can do that by using gems like paperclip or carrierwave. Or if we are using Rails 5.2, we can use Active Storage.
Uploading files directly to S3 using Pre-signed POST request #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/uploading-files-directly-to-s3-using-pre-signed-post-request

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles