I’m a little confused about the best way to use Uppy with AWS Multipart uploading. To my understanding, Uppy has a frontend component that allows users to dynamically choose what content they want to upload.
However, Companion seems to be a server-side feature, as it requires inputting key/secret information, but the multipart API seems to be frontend (AWS S3 Multipart — Uppy). So if I understand right:
- We use the main Uppy AWS multipart library to make calls from the frontend via the companionUrl
- We have a companion service on a server/serverless framework running in the backend. The frontend calls get handled by this companion service, which makes calls to S3 on our behalf
- The companion service sends back the S3 urls to the frontend, which then uses this to upload content.
So then is the companion service necessary? Where else would we specify some endpoint to send frontend requests to?