Build a Web Upload Form that transfers files to an Amazon S3 directory

With the API, you can quickly create a data feed that loads files into Amazon S3 file storage from an upload form component on a web page.


This template shows how to create a serverless data feed that powers an upload form component you can add to any web page, including static sites. When the upload form is used, the data feed performs the work of copying the selected files to Amazon S3.

Code template

Common uses

For simple upload forms, this is a handy way to upload data to an S3 bucket without complicated server-side code handling the form post.

  • The logic for the upload (and any possible conversions) is stored with the client code
  • No server-side script necessary
  • S3 credentials are securely stored in your keychain