Upload a picture to s3:
Amazon S3 supports HTTP POST requests so that users can upload
content directly to Amazon S3. By using POST, end users can
authenticate requests without having to pass data through a
secure intermediary node that protects your credentials. Thus,
HTTP POST has the potential to reduce latency.
This demo will let you upload a picture to an S3-bucket. This
upload will trigger a Lambda-function that does 2 things:
- Create an thumbnail
- Save the Thumbnail to another S3-bucket
After a successfull upload you will redirected to the
"Redirect-page". On this page you have to choice to upload another
picture or to view the results on the Album-page.
What to do:
-
Click the button:
Choose File
- select a picture from your local computer
- The maximum filesize is 1 Mb
- The file will be publicly visible after you upload it
- Press: Upload
-
You will be redirected to the page that is defined as a
"success_action_redirect" in the form.