Cloud Architecture

1 What Does the Mendix Deployment Architecture Look Like?

Mendix Cloud is a PaaS-based cloud offering based on Cloud Foundry technology that runs on the IaaS layer of Amazon Web Services. A Mendix application will run in a container provided by Cloud Foundry. A container in Cloud Foundry has standard support for horizontal and vertical scaling and auto-healing.

Scaling up and down can be done without any downtime, as it is just a matter of adding or removing containers.

The Mendix Cloud Foundry layer is deployed in multiple availability zones for each AWS region. An availability zone is a physical data-center location of AWS within a region.

A Mendix application needs a database and file storage to operate. In the Mendix Cloud, these aPaaS services are directly consumed from the AWS service layer. For the database, the Mendix Cloud makes use of RDS PostgreSQL, and for the file storage, it makes use of S3. Both of these services are Multi-AZ configured, so data is replicated across data centers.

Cloud Deployment Architecture

2 Where Does Mendix Host My Application?

The Mendix Cloud can provide hosting facilities in the US, APAC, and the EU.

Mendix guarantees that the data will not leave the region, should your company require this.

For more information, see the Multi-Cloud Overview.

3 How Is Application Isolation Organized?

Within the Mendix Cloud, the logical term “app container” is used to describe the application isolation. Each application is fully separated from other apps for computing, memory, and storage. A Mendix app runs in one or more containers (where one container can only support a single application). Also, for each application, a dedicated database and S3 bucket is provisioned, in order to have full isolation on the data level as well.

Application Environment Runtime

4 How Does Mendix Cloud Offer High Availability?

The Mendix Cloud offers high availability for all app environments, ensuring zero downtime in the case of a Mendix Runtime outage. Users are able to scale Mendix app environments using the Cloud Portal. When selecting a minimum of two containers, the application will run in high availability mode.

Application Scaling

5 How Does Mendix Provide Disaster Recovery?

Mendix Cloud architecture automatically applies failover between availability zones, so database containers and file storage buckets are automatically replicated across multiple availability zones. All backups are copied to other data centers, but the data will not leave the region, should your company require this.

Application Disaster Recovery Chart

6 How Does Mendix Cloud Provide Auto-Recovery & Auto-Healing?

The Mendix Cloud enables auto-recovery and failover within the same availability zone, and the user load is balanced over two runtime containers. In the rare occurrence that a single runtime container crashes, the other runtime container automatically takes over all user requests while the Cloud Foundry Health Manager replaces the crashed runtime container with a new runtime container. Because of the stateless architecture of Mendix, end-users are not impacted in this scenario.

Application Auto-Recovery

Mendix, Win in a software-driven world.