Deployment

Last update: Download PDF Edit

1 Introduction

A Mendix application can be deployed in different ways. You can deploy to your local machine for development and testing. You can deploy to the Mendix cloud, which is the default location for both free and licensed apps. You can also deploy to IBM Cloud, SAP Cloud Platform, Cloud Foundry-based platforms, Docker containers, Azure, or to a server you configured yourself.

This section of the Developer Portal Guide contains step-by-step instructions, and additional reference material, to help you to deploy and manage your Mendix apps in the cloud or on premises. It is split into a number of sections:

  • General – contains information which applies to deployments in many different environments
  • Environment-specific – contains instructions for deployment and maintenance of apps in specific environments: Mendix Cloud or SAP Cloud Platform, for example
  • Mobile App – contains instructions for publishing your mobile app: to the Apple or Google stores, for example
  • App Services – describes what can be published to the Mendix App Store, and how to do this

2 Locally

You can click Run Locally in the toolbar to run your app locally. Use the View button to directly jump to your app running at localhost.

If you plan to deploy to version 3 (V3) of the Mendix Cloud later on, and your project contains Java actions, you should enable the Emulate Cloud Security setting. For more information, see V3: Java in Mendix Cloud.

3 Mendix Cloud

The Mendix Cloud is the default deployment option when you get started with the Mendix Platform. As an integrated solution, a licensed node on the Mendix Cloud includes multiple environments, backups, monitoring, high availability, and more.

From within the Desktop Modeler, you can view the cloud nodes you have available in the Mendix Cloud. You can create a deployment package (MDA) in the Developer Portal and, from there, you can transport it and start running your application. For more information, see Mendix Cloud.

4 IBM Cloud

If you create your app from an IBM Starter App, or an IBM Starter Kit on IBM Cloud, then the Developer Portal will lead you through the creation of an environment on IBM Cloud. You can then deploy your app to your IBM environment directly from within the Modeler.

For more information, see IBM Cloud.

5 SAP Cloud Platform

If you create your app from an SAP Starter App, the Developer Portal will lead you through the creation of an environment on SAP Cloud Platform. You can then deploy your app to your SAP Cloud Platform environment directly from within the Modeler.

For more information, see SAP Cloud Platform.

6 Cloud Foundry

From within the Modeler, you can deploy directly to Cloud Foundry-based platforms. To get started, see Cloud Foundry and the Cloud Foundry Buildpack:Cloud Foundry Mendix Buildpack.

7 Docker and Kubernetes

Mendix can be deployed in a Docker container to provide highly scalable solutions and automated delivery pipelines (CI/CD).

Instructions for using the buildpack are available here: Build a Docker Image from a Mendix App Project, and the Docker buildpack is available here: Mendix Docker Buildpack

8 Azure

Deploying to Azure is possible from the Azure Marketplace. For details on how to deploy, see Azure: Deploy.

9 On-Premises

To learn how to deploy your Mendix application on-premises, see How to Deploy Mendix on Microsoft Windows and U*ix Deployment.