I once mused that we could skip Bubble’s 50mb upload limit by going directly to an Amazon S3 bucket. I mentioned that I might need to do that one day, but that day has come (sooner than expected!) I was hunting around the Amazon documentation for instructions on how to do it, and they have a pretty clean writeup of how to do it using an HTML form. Here’s the link: http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-post-example.html
My question is this: who wants to help me figure out how to do this using Bubble? I’m not a pro with HTML Forms by any means, but my first thought looks something like this:
Create a data type in Bubble that will store all the info needed to POST to S3
Have a form or step-by-step flow in Bubble that captures required information
Final step of the flow is an HTML element that let’s the user pick a file and upload
When the user hits submit, we execute the POST using all the information entered in the above steps, and the file specified in the HTML element
I have no idea if that will work. I also don’t know how to get the resulting S3 link back to our Bubble DB. Like I said, we’re going to need to figure this out together
Anybody up for an adventure?
I hired a developer to do this through an HTML element. It took him about two hours to do, and this was before Bubble opened up the plugin system. I’m not sure uploading large files to the shared Bubble S3 bucket makes the most sense. If we had the ability to point to our own S3 bucket, and our uploads wouldn’t impact the Bubble infrastructure, it might be worth investigating.
I don’t have the app anymore (it was a client project, and we already handed it off), so I don’t have anything tangible to share with you. The dev we hired isn’t interested in jobs less than $15k right now, so he’s not a viable option, either.
Any updates on this please. I know there is a 3rd party AWS S3 upload plugin, but it has serious security issues as it requires our bucket to be public. It would be amazing if Bubble has some sort of AWS S3 integration. I use S3 with another online service and with them it is as easy as entering my AWS S3 API key.