I am creating an iphone app that will connect to a web server for login and for viewing videos.
Here is the workflow for sending a video to another user using the app:
The iphone app will connect to a ec2 instance (multiple instances can be launched and destroyed based on traffic) where a php script will get information about the video (video sender, video recipient, assign video unique id, etc) and store this information in an amazon RDS instance. The actual video will then be stored in amazon s3 with the same unique id that was stored in the RDS.
Is this a good way to go about this or would another way be better?