On our opsworks stack, we have a stack with 2 App Servers - 1 Java and 1 PHP. Each App Server currently has 1 instance each.
We also have several apps in this stack - 1 app is deployed to the Java app server / instance, while the rest are deployed to the PHP server / instance.
When we deploy an app, under "Advanced >>", both App Servers are ticked. We are wondering if there is a way to setup each app, such that the deployment for it defaults to the app server its currently on. For example, deploying a PHP app, to only the PHP App Server.
Right now, it's not a major problem, because deploying an app, say a PHP app to both app servers means the PHP App Server deployment succeeds, while the Java App Server deployment fails (and fails quite quickly) without impacting the success of the PHP App Server deployment.
This is more a case of tidying up loose ends.