Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to model a Rails application that does video processing using Amazon AWS resources (EC2).

Application allows users to convert videos. Videos are uploaded by users. Right now it is running on one instance, but I see the need to scale up / change things.


Does it make sense to create two instances:

1) Application front-end. Handles uploads, database stuff.

2) Video processing instance. Something high-memory, that is getting hit by the application N1.

Will it be more efficient? Is there a way to have instance N2 working not constantly, but only when it is needed to process the video?

Will I see any benefits as opposed to just scaling to a larger instance size and keeping things on the same instance?


locked by HopelessN00b Mar 16 '15 at 15:34

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

closed as not constructive by EEAA, Ward, rnxrx, Michael Hampton, dunxd Sep 20 '12 at 10:56

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

This is one of those "it depends" situations. There are a large number of variants where you will benefit from being able to scale your application front-end separately from your cpu-intensive work. You should definitely read up on AWS Spot Instances and auto-scaling.

OTOH, if your video-processing requests are relatively constant over time, and their CPU needs won't overwhelm a single server's resources, you may find that sizing up your instance is a better way to go. Personally, I find the scale-out issues (more servers doing specialized tasks) to be more fun, but YMMV.


Not the answer you're looking for? Browse other questions tagged or ask your own question.