Deploy Amazon S3, AWS Lambda and Amazon DynamoDB resources using AWS CloudFormation

The following AWS CloudFormation template will create these resources:

  • Two Amazon S3 buckets:
    • RiderPhotoS3Bucket stores the photos uploaded by the riders
    • A few test images will be copied into the RiderPhotoS3Bucket bucket
    • ThumbnailS3Bucket stores the resized thumbnails of the rider photos
  • One Amazon DynamoDB table RiderPhotoDDBTable that stores the metadata of the rider’s photo with rider’s profile
  • AWS Lambda functions that perform the processing steps
  • IAM role StateMachineRole that gives the Step Functions state machine to invoke Lambda functions

Click on the link for the region you have chosen:

Region Code Launch
US East (N. Virginia) us-east-1 Launch Module in us-east-1

AWS CloudFormation Launch Instructions

  1. Click the Launch Stack link above for the region of your choice.

  2. Click Next on the Select Template page.

  3. On the Specify Details page, leave all the defaults and click Next.

  4. On the Options page, leave all the defaults and click Next.

  5. On the Review page, Click the checkboxes to give AWS CloudFormation permission to “create IAM resources”, “create IAM resources with custom names”, and “CAPABILITY_AUTO_EXPAND”

  6. Click “Create Stack” in the Transforms section

  7. Wait for the wildrydes-step-module-resources stack to reach a status of CREATE_COMPLETE.

  8. With the wildrydes-step-module-resources stack selected, click on the Outputs tab. These resources will be referenced in the later steps.

You may want to copy & paste the contents of the Outputs tab of the CloudFormation stack to a separate text editor for ease of access later.