Please advice me, what products(amazon aws) should I use for my application (quite simple).
- Its a mobile application
- user takes picture and upload to server
- Others users will be able to load pictures from images
Q1. I am thinking of using EC2. (I am not sure if S3 can be elastic, easily extend the storage or not). Thus please, advice which products I needed for my apps? (EC2, RDS, S3, SImpleDB etc)
Q2. If I were using EC2, should I install httpd, mysql, php on 1 instance? Or should I separate it?
Q1. EC2 + EBS.
Q2. It is up to you, but I would put everything on a single instance (it will cost you less and you can always reconfigure later). When necessary, you can separate mysql to a separate instance (or rather create new instance with httpd/php and continue to use mysql from your old one). Bear in mind, that data on Amazon instances is not persisted if instance is terminated, i.e. it will not survive relaunch (it will survive reboot though). So, you will need to keep your data either on a separate EBS volume or use EBS instance. Do some reading - Amazon has pretty decent docs on these topics.
Hope this helps.