Today I setup an EC2 instance. I'm wondering what is the typical architecture on amazon cloud for web applications. I think its something like this but I'm missing something:
- EC2 instance for Webserver (apache/nginx) and PHP - S3 for storage (videos, images...) - ?? for MongoDB, MySQL or anything else
I'm not sure how these things work. For example, how to setup simple image uploading service where every picture is uploaded through PHP and then saved on S3. Later, when somebody visits a link its displayed from S3.