-
aws cli setup with credentials
- update variables in config.json
Make sure you're in your
${GOPATH}/src
directory, then run:
make
sls deploy
- Endpoint to upload image to s3
- - Save image to s3
- - Save metadata (image, user, s3 destination credentials)
- Lambda function to resize image on s3
- Lambda function save results to s3 destination bucket
- Control and register user requests (API keys)
Downloaded 1700700 bytes REPORT RequestId: 7ac49325-4732-11e8-a3d4-cb703b18e9f2 Duration: 6619.20 ms Billed Duration: 6700 ms Memory Size: 1024 MB Max Memory Used: 131 MB
Downloaded 3300624 bytes REPORT RequestId: 4ca640dd-4736-11e8-afff-f50762fb573d Duration: 9996.33 ms Billed Duration: 10000 ms Memory Size: 1024 MB Max Memory Used: 224 MB
Downloaded 5254922 bytes REPORT RequestId: 7a7879bb-4733-11e8-abec-21ad946dacd3 Duration: 10561.86 ms Billed Duration: 10600 ms Memory Size: 1024 MB Max Memory Used: 216 MB