Circuit Self-managed infrastructure, programmatic monitoring and orchestration
Overview
In this tutorial we are going to build an example cloud-based key/value store, based MySQL and Node.js,
using the circuit and Amazon EC2 as a host provider.
We are going to build and deploy the application step-by-step and from scratch. The high-level process
is as follows:
First, prepare an Ubuntu host image with all software that we might need
(such as circuit, MySQL, Node.js, etc.).
Second, launch multiple host instances based on the prepared image and
link them into a single circuit cluster.
Third, implement a circuit app in the Go language, which orchestrates
the execution of the cloud-based key/value store, by assembling its components.
Finally, launch the key/value store by connecting into the circuit cluster
and running the circuit app.
Steps 1 and 2 constitute the startup procedure for your circuit cluster.
Whereas steps 3 and 4 demonstrate the execution of a circuit application on the cluster.
Once the cluster is running, it can be reused for multiple executions and terminations
of circuit applications.
To follow through this tutorial, you will need an Amazon EC2
account to provision virtual host instances.