Create automatic thumbnails after uploading images to S3
- NodeJS 6+ installed
- AWS account with API credentials
- EC2 Amazon Linux machine with node >= 6.10 and gcc-c++ installed. You should clone the project inside this machine and npm install it.
SOURCE_BUCKET_NAME: # Define AWS Source S3 bucket name
TARGET_BUCKET_NAME: # Define AWS Target S3 bucket name
DYNAMODB_TABLE: # DynamoDB Table to save metadata
DYNAMODB_TABLE=<name-of-metadata-table> SOURCE_BUCKET_NAME=<path-to-your-source-s3-bucket> TARGET_BUCKET_NAME=<path-to-your-target-s3-bucket> npm run deploy