MathML Cloud AWS Infrastructure

Version 5 by Ron Ellis
on Jul 06, 2016 07:01.

compared with
Version 6 by Ron Ellis
on Jul 06, 2016 07:16.

This line was removed.
This word was removed. This word was added.
This line was added.

Changes (4)

View Page History
h2. Amazon EC2 / EC2 Container Service

The [MathML Cloud Node.js backend API application|] runs inside a Docker container on the [BenetechLabsProjects ECS cluster|]

h2. MongoDB
The main database for the MMLC application.

The Benetech Labs MongoDB cluster was originally launched [using this Amazon using an [Amazon provided quick start guide|]. However, there have now been some modifications made to the systems to facilitate backups so they cannot be recreated from scratch using the template without manually migrating the backup service..

The cluster consists of three nodes spread across Amazon's us-east-1 region. As currently configured the cluster provided continued support for reads in the event the primary replica becomes unavailable.

h2. Amazon ElastiCache (Redis replacement)

Not really sure what this does.

h1. Deployment

h2. mmlc-app (frontend)

A [Jenkin's job|] is used to deploy the application into Amazon S3. The job clones the mmlc-app git repository and uses the AWS CLI to upload files to Amazon S3.

h2. mmlc-api (backend)

A [Jenkin's job|] is used to deploy the application container onto the Benetech Labs ECS cluster. The job builds a Docker container which provides the runtime environment for the Node.js backend API.