I am creating an iPhone application so that users can upload and share photos. Currently, uploaded photos are stored on my 1and1 cloud server, which I subscribed to. Now I want to try AWS. I signed up for the AWS Linux EC2 free tier and configured php / mysql. My question is, for scaling purposes, where should I store custom images: EC2 or S3? And how to connect EC2 to S3, so the photos uploaded by the user will be saved in S3? I understand that when a user uploads a photo to my EC2 instance, it is saved in EC2, and it will soon fill up the space, since I have only 5 GB of space.
With limited AWS knowledge, my question may sound st ** d, but any help and advice would be appreciated!
100calorie
source share