AMP Cluster Structure
A basic overview of the AMP Cluster structure is show in the diagram below.
Management AMP
This AMP instance launches and manages the other components of the system. This is the AMP from which the AMP Cluster blueprint is launched. This AMP is also used to scale the cluster.
AMP Cluster Interface
The AMP Cluster interface is a stand-alone application installed automatically by the AMP Cluster blueprint. It connects to both the AMP Instances and the Database. When a request to deploy comes in, it picks an AMP instance and launches the app. When a request to search applications comes in, it looks up its host AMP in the database and returns that to the user.
AMP Cluster
Each AMP instance in the AMP Cluster manages a set of user applications. Upon creation or destruction of these applications it updates the database with information on these applications.
Database Cluster
The Database Cluster is a cluster of CouchDB instances which hold the locations and states of all running user applications. This database allows the AMP Cluster Interface to look up which applications are running on different AMP instances.