Install Package dependencies separately over Cloud
I am working on a project that sets up packages on the cloud.
For example, If i want to setup Drupal, i need seperate machines to maintain separate tasks, like mysql in one machine(cloud instance/node 1), apache server in another machine(cloud instance/node 2), etc.
So if drupal.rpm has dependencies apache.rpm(has deps too) and mysql.rpm(has deps too)
Is it possible in rpm package manager(yum) to handle such customizations & above requirement?
please suggest any other way to implement the same.