- create lamda function
- create bucket in aws name it change permission to be public
- add triger to lambda function link the bucket you created
- convert code (index.js & package.json & node modules) to zip extension
- upload the file in lambda function
- in bucket you can upload the image with changing of permission to be public
https://iamgelambda.s3.amazonaws.com/alex-block-mMLfPgG_cWc-unsplash.jpg