Code for "Processing Images with Amazon Web Services" Tutorial

Sample Code & Libraries>Amazon SQS>Code for "Processing Images with Amazon Web Services" Tutorial
Community Contributed Software

  • Amazon Web Services provides links to these packages as a convenience for our customers, but software not authored by an "@AWS" account has not been reviewed or screened by AWS.
  • Please review this software to ensure it meets your needs before using it.

Example code that accompanies the tutorial, "Processing Images with Amazon Web Services."

Details

Submitted By: John Fronckowiak
AWS Products Used: Amazon EC2, Amazon S3, Amazon SQS, Amazon SimpleDB
Language(s): PHP
License: GNU General Public License (GPL version 2)
Created On: June 26, 2008 8:47 PM GMT
Last Updated: September 21, 2008 7:49 PM GMT
Download
Processing images can be a tedious, error-prone, and repetitive task. It may involve many moving parts, and bandwidth or processor time that you don't have (or can't easily afford). Setting up a system that allows you to process images provided by web users could bog you down if you don't have enough disk space or enough CPU to handle the demand. We decided to create a straightforward solution that would allow users to upload an image and then process that image with Amazon Web Services (AWS). For simplicity's sake, the only processing step taken during the procedure is to thumbnail an image; however, for all practical purposes, we could have set up any number of processing steps. The solution we created involves these pieces:
  • An Amazon Elastic Cloud Computing (EC2) instance running Apache and PHP (including PEAR and GD to support our processing needs)
  • An Amazon Simple Storage Service (S3) account to hold uploaded images
  • An Amazon SimpleDB account, to hold metadata about those images
  • An Amazon Simple Query Service (SQS) account, to send and receive messages that involve those images
©2014, Amazon Web Services, Inc. or its affiliates. All rights reserved.