Serverless Photo Application
Let's say we have to architect a solution where we have to design a serverless image application where we have to send an image through an image web app and our serverless architecture. We will utilize AWS to send our data from our image web application which is hosted on the EC2 instance and then it puts the data in the queue which will trigger the Lambda function. Lambda function is designed to take the image and save it to S3, and send a message to the email mentioning if the image has been successfully uploaded or not.
- AWS Lambda
- AWS S3
- AWS SES
- AWS SQS
- AWS Route53
- AWS EC2
- AWS IAM
- Configure your server to run aws cli
- Create a config.ini file in this format
[SQS]
connection_string=<your-connection-string>
- Commands to confiure the application
git clone [email protected]:codexponent/serverless-photo-app.git
pip install -r requirements.txt
python main.py