The Mendix Cloud is a public cloud service for Mendix applications; this is the default deployment option for Mendix applications. You can deploy either a limited Free App or an app running on a licensed cloud node.
1.1 Free App
If you are new to the Mendix community and would like to deploy and share your own app, you can do so for free on our public cloud offering. The Free App environment (sometimes referred to as the Sandbox) allows any Mendix developer to create and share their applications with their users. Note that a Free App does not support complex or large applications.
Free apps are part of our community edition and require Mendix version 6 or higher.
If you are not currently a customer but would prefer to use a licensed cloud node you can find more information on our pricing page: Mendix Platform Pricing.
If you are an existing customer, you should deploy into your licensed cloud node.
A Free App will go to sleep after an hour or so of inactivity. If you access it while it is inactive, you will see the image below. If, after a couple of minutes, your app does not wake up, please contact our support team at support.mendix.com.
You can upgrade a Free App to a licensed node with a node in the Mendix Cloud. The following documents describe how to do this:
- How To Upgrade Your Free App to a Licensed App
- How To Unlink Your Free App from a Sandbox Environment
- How To Link a Different App to a Cloud Node
1.2 Licensed App
A licensed app runs on a node which has a minimum of two environments: production and acceptance. A third environment, test, can be added, if required. Your licensed app is linked to a node and can be deployed to any of these environments.
By default, apps are deployed to the Mendix Cloud v4. Features which are covered in the default documentation are for v4. Some customers with special requirements may use Mendix Cloud v3, and will have to refer to the v3 documentation where the features differ from v4.
2 Deploying an App to the Mendix Cloud
It has never been easier to deploy a Mendix application to the cloud. This how-to will explain the options a developer has to deploy applications to a connected cloud node.
This how-to will teach you how to do the following:
- Deploy a licensed app to the Mendix Cloud
- Deploy via the Mendix Modeler
- Deploy the app to an environment
- Deploy a Free App to the Mendix Cloud
Before starting this how-to, make sure you have completed the prerequisites described below.
2.1 Prerequisites for a Licensed App
- Your app must be linked to a licensed cloud node
- You must have deployment permissions
- Your Google Authenticator must be enabled
2.1 Prerequisites for a Free App
- You must have created an app
3 Deploying a Licensed App to the Mendix Cloud
There are two methods for deploying your app to the Mendix Cloud. The first option is directly via the Mendix Modeler, and the second is through the Developer Portal.
3.1 Deploying via the Modeler
- Open the Modeler.
- Open the licensed app.
Click Project in the top menu bar and select Deploy to licensed cloud node:
The deployment is now in progress. To see the uploaded package, click Show online:
3.2 Creating a Package from Team Server in the Developer Portal
An app can also be deployed without using the Modeler. To do this, follow these steps:
- Go to the Developer Portal.
- Click Apps in the top navigation panel.
- Select your app.
- Go to Environments.
- Click Create package from team server.
- Select the preferred branch and revision and click Next.
- Give the build a version number and click Build this revision.
The package will now be deployed to the cloud.
4 Deploy the App to an Environment
The previous steps explained how to deploy a deployment package to the Mendix Cloud, but the actual app is not running yet! To deploy a deployment package to a node environment, follow these steps:
- Open the Developer Portal.
- Open your app.
- Go to Environments.
- In the Deployment Package Repository, choose the preferred deployment package and click Deploy.
- Select the preferred environment, and then click Continue.
- Click Transport. If asked to do so, clean the environment.
- Configure the constants (if necessary) by clicking Constants and Edit constants value. This can also be done in a later stage in the settings.
- Click Continue.
- Click Start application. If asked, click Synchronize database.
The app is now deployed and the administrative account can be configured.
5 Deploying a Free App to the Mendix Cloud
With a Free App, it’s only possible to deploy your app to a Sandbox environment using a Mendix Modeler. There are two methods to do that.
5.1 Method 1
Once you have created and worked on your App, you will want to share it with others in the Free App. You can deploy your Free App to a Sandbox environment by clicking Run at the top of your Mendix Modeler. This will automatically deploy your app to a Sandbox.
5.2 Method 2
If you want to choose whether you want to run your app locally or in the Sandbox, you can enable the Sandbox option by clicking Run:
6 Related Content
- AppCloudServices; the AppCloudServices module allows your app to integrate with services on the Mendix Cloud
- How to Configure Custom Domains
- How to Link a Different App to a Cloud Node
- How to Link Your Free App to a Licensed Cloud Node
- How to Manage Company & App Roles
- Company & App Roles
- How to Set Up Two-Factor Authentication With Google Authenticator
- How to Upgrade Your Free App to a Licensed App