How To Upload the profile images to AWS S3 Bucket
Lia infraservices -being an AWS partner company, we always use AWS cloud migration services to ensure durable application for our customers. The AWS cloud migration is the path to reduce the TCO and increase the productivity of an organization. We have decided to use AWS S3 and the AWS Cognito service for any user to store their profile picture while registering into the mobile application. What we have done: Created an S3 bucket in the Bahrain region as our customer was from the Middle east, and so to reduce the latency, we wanted to have all the services in that region. Set up the permissions necessary like bucket policy and CORS. How to upload the profile images to AWS S3 bucket { “Version”: “2012-10-17”, “Id”: “Policy1626866950426”, “Statement”: [ { “Sid”: “Stmt1626866945113”, ...