在Opsworks中,您可以通過將底層實例可能執行的特定作業組合起來,在堆棧中共享層的「角色」以使用更少的資源。
層兼容性列表(只要安全組的設置是否正確):
HA Proxy : custom, db-master, and memcached.
MySQL : custom, lb, memcached, monitoring-master, nodejs-app, php-app, rails-app, and web.
Java : custom, db-master, and memcached.
Node.js : custom, db-master, memcached, and monitoring-master
PHP : custom, db-master, memcached, monitoring-master, and rails-app.
Rails : custom, db-master, memcached, monitoring-master, php-app.
Static : custom, db-master, memcached.
Custom : custom, db-master, lb, memcached, monitoring-master, nodejs-app, php-app, rails-app, and web
Ganglia : custom, db-master, memcached, php-app, rails-app.
Memcached : custom, db-master, lb, monitoring-master, nodejs-app, php-app, rails-app, and web.
參考:http://docs.aws.amazon.com/opsworks/latest/userguide/layers.html
這個問題有點題外話了#1,但可能不適合以及對ServerFault要麼...我提議一個像這樣的問題的新網站,如果你同意遵循! http://area51.stackexchange.com/proposals/82757/cloud-computing-platforms –