Studio Pro Deployment Settings
Introduction
If you have a licensed app in Mendix Cloud, you can deploy it directly to an environment from Studio Pro. To do this, designate a target environment in Apps, then click App > Deploy to Licensed Cloud Node in Studio Pro. These steps are described in detail below.
Selecting the Target Environment
By default, the target environment is set to Build Only. If you have Build Only selected, clicking App > Deploy to Licensed Cloud Node places your MDA in the Deployment Package Repository in the Mendix Portal rather than directly deploying it to an environment.
If an environment is designated as the deployment target, you can see this on its Environment Details page; the Studio Pro Target line will read Yes.
To select a target environment for Studio Pro deployment, do the following:
-
From Apps, click Environments on your app.
-
In the Deploy tab, click Setup Studio Pro Deployment.
Only the Technical Contact can see the Setup Studio Pro Deployment button and click it. -
In the Setup Studio Pro Deployment dialog box, select your desired target environment from the Select target environment menu.
-
Click Save.
You have selected the target environment and can now deploy your app to that environment from Studio Pro.
Deploying from Studio Pro
Once the app has a target deployment environment, you can directly deploy your app from Studio Pro. Follow these steps:
-
Open the licensed app in Studio Pro.
-
In the top menu bar, click App > Deploy to Licensed Cloud Node.
-
In the Deploy to the cloud dialog box, click Deploy.
-
You will see a dialog box with the following message: “Successfully started cloud deployment.” It will automatically upload your MDA to the Mendix Portal, deploy it to the target environment, and restart the target environment.
Alternatively, you can click App > Create Deployment Package if you want to upload your MDA to the Deployment Package Repository without directly deploying it to your target environment.