Mendix Cloud Overview
Table of contents
- How Can I Run Mendix on Mendix Cloud
- What Does Mendix Cloud Architecture Look Like?
- What Mendix Cloud Regions Are Available?
- Can I Have My Own Mendix Cloud Region?
- How Does Mendix Cloud Support High Availability?
- How Does Horizontal & Vertical Scaling Work in the Mendix Cloud?
- How Does Mendix Cloud Support Backup & Recovery?
- What Is the Uptime Guarantee for the Mendix Cloud?
- How Can My App Get Access to My On-Premises Services Without Using a VPN?
- How Can the Mendix Support Team Assist Me When Running in the Mendix Cloud?
How Can I Run Mendix on Mendix Cloud
Mendix Cloud is the deployment solution in which Mendix provides hosting environments for customers. Mendix Cloud is built on top of Cloud Foundry and Amazon Web Services (AWS), is available in multiple regions around the globe, and comes with high availability options.
Mendix Cloud is the most optimized cloud to run Mendix Applications. It comes standard with deep insights, alerting, high availability, and backups, all of which is self-service available. For more information, see Mendix Cloud Features.
What Does Mendix Cloud Architecture Look Like?
Mendix Cloud is a PaaS-based cloud architecture using Cloud Foundry running on top of AWS. A Mendix application runs within fully isolated containers, consuming platform-as-a-service (PaaS) services like databases and storage.
For each region, Mendix Cloud architecture is set up as fully high-available (HA) and divided into multi-availability zones. This means there is a fully reliable offering for disaster recovery.
What Mendix Cloud Regions Are Available?
Mendix Cloud is available in the following regions:
- Australia (Sydney)
- Brazil (São Paulo)
- Canada (Montreal)
- EU (Frankfurt, Germany)
- EU (Dublin, Ireland)
- India (Mumbai)
- Indonesia (Jakarta)
- Japan (Osaka, Tokyo)
- Singapore (Singapore)
- South Africa (Cape Town)
- South Korea (Seoul)
- UK (London)
- US East (North Virginia)
- US West (Oregon)
New applications can be placed in any of the available regions. Mendix adds new regions based on customer demand.
Can I Have My Own Mendix Cloud Region?
Yes, you can. Mendix Cloud provides a specific edition that offers a customer-specific Mendix Cloud instance. This edition is called Mendix Cloud Dedicated.
Mendix Cloud Dedicated makes it possible to have a single instance of Mendix Cloud running on an AWS account dedicated to the customer. This instance is fully managed and operated by Mendix for a minimal administrative burden on the customer’s end. The instance consists of a full Mendix Cloud region setup, running within two availability zones of AWS, connected to the private (corporate) network of the customer. The user experience, capabilities, and the architecture are identical to Mendix Public Cloud.
How Does Mendix Cloud Support High Availability?
Mendix applications consist of five components that are critical for application functionality. These all have to be HA:
File storage service
HTTPS routing layer
Because Mendix is hosted on Amazon Web Services (AWS), the file storage service, HTTPS routing layer, and network are HA by default. Mendix provides Premium plans for mission-critical apps which add HA for the Mendix Runtime and database, making your app highly available.
The Mendix Runtime supports out-of-the-box horizontal scaling with Premium plans. When you have at least two instances, these will run in different AZs giving you highly available Runtime. You can easily scale your application up or down without downtime.
The database comes with a fallback option with Premium plans. This replicates the database of your application in a different AZ within the same cloud region. If an AZ becomes unavailable, your horizontally-scaled instances can use the secondary database.
Mendix Cloud also offers a regional fallback option, available with Premium Plus plans. This replicates the database of your application to a different zone within a different cloud region. With that, you can choose to temporarily move your app to this different region in the case of a full outage of the primary region.
How Does Horizontal & Vertical Scaling Work in the Mendix Cloud?
A Mendix Application relies on these three basic components:
- Mendix Runtime
- Amazon S3 (file) storage
The Mendix Runtime instances can be scaled horizontally by adding more instances and vertically by adding more memory for each instance. As the Runtime is stateless, no additional effort is needed to run your Mendix app in cluster mode.
By moving a slider in the Mendix Developer Portal, your application will scale up or down without application downtime.
For the database, vertical scaling is applied. Because Mendix makes use of standard AWS RDS Postgres instances, it is possible to scale up to a gigantic database with 32 cores and 244 GB of memory.
How Does Mendix Cloud Support Backup & Recovery?
Cloud uses incremental backups with a 15-minute recovery point objective (RPO) for disaster recovery purposes. Nightly backups (with an RPO of 24 hours) are available on a self-service basis. Next to the automatic backups, it is also possible to trigger a backup manually using the Mendix Developer Portal or API.
This video presents how you can create a backup:
What Is the Uptime Guarantee for the Mendix Cloud?
The Mendix Cloud guarantees 99.5% or 99.95% uptime of the cloud infrastructure, depending on your SLA. The 99.95% guarantee only applies to the Mendix Enterprise Edition when the fallback add-on is purchased and the application has been scaled horizontally to two or more instances.
How Can My App Get Access to My On-Premises Services Without Using a VPN?
The best practice for setting up a secure connection between the Mendix Cloud and your on-premises solution is by using a reverse-proxy with client-server certificates. This allows you to set up a peer-to-peer connection between your application in the cloud and the on-premises solution.
Mendix supports this way of connecting because a VPN comes with significant more maintenance as well as security risk overhead. This is because a VPN will connect to another network not at the application level but at the TCP level. The consequence of this is that, unless you secure your own network with an extra firewall, you are potentially opening your on-premises network to a public network. This is not a best practice and thus not supported by Mendix.
If peer-to-peer integration is not possible because of corporate policies, it is also possible to use Mendix Cloud Dedicated.
See for more details: How does Mendix Cloud support Virtual Private Cloud?
How Can the Mendix Support Team Assist Me When Running in the Mendix Cloud?
When approved by the user, Mendix Support can gain access to the graphs and activity logs of a Mendix Cloud application. For troubleshooting customer tickets, Mendix Support uses this data to more effectively assist users. This is only done with the customer’s consent in order to follow specific laws for data privacy.
In addition, Mendix Support utilizes their own experience to advise on app cloud resource pack sizing, performance tuning, app optimization, and more.