Skip to content

Commit e71bfe1

Browse files
Merge pull request #11382 from mendix/kk-pad-move
move PAD to main Deployment node
2 parents a0476c8 + 73a1d46 commit e71bfe1

23 files changed

Lines changed: 283 additions & 198 deletions

File tree

content/en/docs/deployment/docker-deploy/_index.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

content/en/docs/deployment/general/pad/_index.md

Lines changed: 0 additions & 79 deletions
This file was deleted.

content/en/docs/deployment/general/subscription-management/licensing-apps.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ You will need to add the license credentials and configure the license in the Me
109109

110110
### Cloud Foundry{#cloudfoundry}
111111

112-
The following steps describe activating the license for deployments using the Cloud Foundry Buildpack. If you are deploying using Portable App Distribution, follow the steps in the [Portable App Distribution](#portableappdistribution) section below.
112+
The following steps describe activating the license for deployments using the Cloud Foundry Buildpack. If you are deploying using Mendix Portable Runtime, follow the steps in the [Mendix Portable Runtime](#portableappdistribution) section below.
113113

114114
To activate a license on your app running on Cloud Foundry, you need the license credentials provided by Mendix Support.
115115

@@ -124,7 +124,7 @@ Then restart the app so that the environment variables are read, and the license
124124

125125
### Docker
126126

127-
The following steps describe activating the license for deployments using the Docker Buildpack. If you are deploying using Portable App Distribution, follow the steps in the [Portable App Distribution](#portableappdistribution) section below.
127+
The following steps describe activating the license for deployments using the Docker Buildpack. If you are deploying using Mendix Portable Runtime, follow the steps in the [Mendix Portable Runtime](#portableappdistribution) section below.
128128

129129
To activate a license on your app running in a Docker container, you need the license credentials provided by Mendix Support.
130130

@@ -156,7 +156,7 @@ For full instructions on how to do this, see [Activate a Mendix License on Micro
156156

157157
### Unix-Like Server
158158

159-
The following steps describe activating the license for deployments using the M2EE tool. If you are deploying using Portable App Distribution, follow the steps in the [Portable App Distribution](#portableappdistribution) section below.
159+
The following steps describe activating the license for deployments using the M2EE tool. If you are deploying using Mendix Portable Runtime, follow the steps in the [Mendix Portable Runtime](#portableappdistribution) section below.
160160

161161
To license a Mendix app on Linux or another Unix-like operating system, follow these steps:
162162

@@ -167,9 +167,9 @@ To license a Mendix app on Linux or another Unix-like operating system, follow t
167167

168168
For more instructions on how to do this, see [Linux Deployment](/developerportal/deploy/linux/).
169169

170-
### Portable App Distribution{#portableappdistribution}
170+
### Mendix Portable Runtime{#portableappdistribution}
171171

172-
To activate the license for a Mendix app using Portable App Distribution on Docker, Cloud Foundry, or Unix-like servers, follow these steps:
172+
To activate the license for a Mendix app using Mendix Portable Runtime on Docker, Cloud Foundry, or Unix-like servers, follow these steps:
173173

174174
1. Open the `$ConfigName.conf` in `etc/configurations`.
175175
2. Add the `LicenseID` and `LicenseKey` to your runtime configuration:
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: "Buildpacks"
3+
url: /developerportal/deploy/buildpacks/
4+
weight: 60
5+
description: "Describes how to deploy your Mendix app to a Docker environment."
6+
no_list: false
7+
description_list: true
8+
aliases:
9+
- /developerportal/deploy/docker/
10+
---
11+
12+
## Introduction
13+
14+
This section describes how to deploy your Mendix app with a buildpack. This is an optional deployment mechanism offered for customers who require this option. For the standard Mendix deployment mechanism, see [Mendix Portable Runtime](/developerportal/deploy/portable-app-distribution-deploy/).
15+
16+
## Documents in This Section

content/en/docs/deployment/on-premises-design/cloud-foundry/cloud-foundry-deploy.md renamed to content/en/docs/deployment/on-premises-design/buildpacks/cloud-foundry-deploy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ aliases:
2222
## Introduction
2323

2424
{{% alert color="warning" %}}
25-
Cloud Foundry buildpack deployment from Studio Pro is deprecated in version 10 and removed in version 11. Consider using the [Portable App Distribution for Cloud Foundry](/developerportal/deploy/cloud-foundry-pad/) option instead.
25+
Cloud Foundry buildpack deployment from Studio Pro is deprecated in version 10 and removed in version 11. Consider using the [Mendix Portable Runtime for Cloud Foundry](/developerportal/deploy/cloud-foundry-pad/) option instead.
2626

2727
The following documentation is provided for reference purposes only.
2828
{{% /alert %}}

content/en/docs/deployment/docker-deploy/docker-buildpack.md renamed to content/en/docs/deployment/on-premises-design/buildpacks/docker-buildpack.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Docker Buildpack"
33
url: /developerportal/deploy/docker-deploy/
4-
weight: 60
4+
weight: 20
55
description: "Describes how to deploy using a Docker image using a Docker Buildpack."
66
#If moving or renaming this doc file, implement a temporary redirect and let the respective team know they should update the URL in the product. See Mapping to Products for more details.
77
---

content/en/docs/deployment/on-premises-design/cloud-foundry/_index.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

content/en/docs/deployment/on-premises-design/linux/linux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ aliases:
77
- /developerportal/deploy/unix-like/
88
---
99

10-
{{% alert color="warning" %}} Linux deployment is only supported on Debian 10 (buster) for the [Mendix Runtime version 9, 10, and 11](/releasenotes/studio-pro/lts-mts/). We will not add support for any other versions of the Mendix Runtime. Consider using the [Portable App Distribution for Linux](/developerportal/deploy/linux-pad/) option instead. {{% /alert %}}
10+
{{% alert color="warning" %}} Linux deployment is only supported on Debian 10 (buster) for the [Mendix Runtime version 9, 10, and 11](/releasenotes/studio-pro/lts-mts/). We will not add support for any other versions of the Mendix Runtime. Consider using the [Mendix Portable Runtime for Linux](/developerportal/deploy/linux-pad/) option instead. {{% /alert %}}
1111

1212
## Introduction
1313

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
---
2+
title: "Mendix Portable Runtime"
3+
url: /developerportal/deploy/portable-app-distribution-deploy/
4+
weight: 15
5+
description: "Describes the Mendix Portable Runtime deployment method for Mendix apps."
6+
no_list: false
7+
description_list: true
8+
---
9+
10+
## Introduction
11+
12+
Mendix Portable Runtime (previously called Portable App Distribution) provides a flexible and straightforward method for isolated server-based deployments. By enabling customers to generate a bundled artifact packaged as a .zip file and run it directly, Mendix Portable Runtime simplifies the deployment process.
13+
14+
## Benefits
15+
16+
Mendix Portable Runtime offers the following benefits:
17+
18+
* Simplified deployment - Portable apps eliminate complex installation procedures, making it easier and faster to get software up and running across different machines. This reduces setup time and potential configuration errors.
19+
* Enhanced consistency - By bundling all dependencies, portable apps ensure a consistent operating environment for the application, regardless of the underlying system configuration.
20+
* Improved mobility and flexibility - Teams can easily move applications between workstations, virtual machines, or even cloud instances without the need for reinstallation, fostering greater agility in project work.
21+
* Reduced system impact - Portable apps often run in isolated environments, which can help prevent conflicts with other installed software and maintain system stability.
22+
* Streamlined updates - Managing updates can be more straightforward, as new versions of a portable application can often be deployed by simply replacing the package.
23+
* Layered configuration - Mendix Portable Runtime supports defining base configurations that can be extended with environment-specific or deployment-type-specific entries (for example, distinct configurations for development, testing, or production environments).
24+
25+
## Licensing
26+
27+
You can test Mendix Portable Runtime on a [Free App](/developerportal/deploy/mendix-cloud-deploy/#free-app). For more information about Free Apps and their limitations, as well as licensing apps outside of the Mendix Cloud, see [Licensing Apps](/developerportal/deploy/licensing-apps-outside-mxcloud/).
28+
29+
To license a Mendix app on the Mendix Portable Runtime, add it to your configuration. For more information, see [Obtaining a Mendix License](/developerportal/deploy/licensing-apps-outside-mxcloud/#get-license).
30+
31+
## Prerequisites
32+
33+
The Mendix Portable Runtime functionality is available in Mendix Studio Pro versions 10.24.19 LTS, 11.9, 11.6.5 MTS, and above. The functionality will be enabled for more Studio Pro versions in future releases.
34+
35+
You must also ensure that you have the supported version of [Java Runtime Environment](/refguide/system-requirements/#java).
36+
37+
## Creating a Mendix Portable Runtime File {#creating-a-portable-app-distribution-file}
38+
39+
In most production environments, deployment packages are created by using the [Mx-Build](/refguide/mxbuild/) command-line tool. However, you can also [manually create a deployment package](/refguide/create-deployment-package-dialog/) if required, for example, for a local test deployment.
40+
41+
## Deploying Your App
42+
43+
After you create the Mendix Portable Runtime file, deploy it to your environment.
44+
45+
### Deploying Locally {#deploy-local}
46+
47+
To run your app locally, perform the following steps:
48+
49+
1. Extract `..\releases\YourApp_portable_YYYYMMDD_hhmm.zip` to a local folder.
50+
2. Set the **M2EE_ADMIN_PASS** admin port password by performing one of the following actions:
51+
52+
* For Windows, run the command `set M2EE_ADMIN_PASS=<your password>`
53+
* For Linux, run the command `export M2EE_ADMIN_PASS=<your password>`
54+
55+
{{% alert color="info" %}}The Mendix admin port can be used to fetch metrics and other runtime data from an app. It requires a password for security reasons.
56+
{{% /alert %}}
57+
58+
3. Run the app by using one of the following commands:
59+
60+
* For Windows, run the command `<your folder location>\bin\start.bat`
61+
* For Windows Powershell, run the command `<your folder location>\bin\start.ps1`
62+
* For Linux, run the command `<your folder location>\bin\start`
63+
64+
{{% alert color="info" %}}
65+
On Linux, if the ZIP was extracted on Windows, the +x flag is not preserved. Windows does not have the executability bit. You need to run the command `chmod +x ./bin/start` first.
66+
{{% /alert %}}
67+
68+
### Deploying to a Self-Hosted Environment
69+
70+
For more information about deploying to a self-hosted environment, refer to the following topics:
71+
72+
* [Mendix Portable Runtime for Docker](/developerportal/deploy/docker-deploy-pad/)
73+
* [Mendix Portable Runtime for Linux](/developerportal/deploy/linux-pad/)
74+
* [Mendix Portable Runtime for Cloud Foundry](/developerportal/deploy/cloud-foundry-pad/)
75+
76+
## Frequently Asked Questions
77+
78+
### What Will Happen with my Windows Deployment using Windows Service Console?
79+
80+
The Windows Service Console will stay as it is. Mendix Portable Runtime does not replace the Windows Service Console scope. The goal of Windows Service Console is to provide customers a Windows UI experience that our other products cannot offer.
81+
82+
### Do I Need to Buy a New Subscription to Implement Mendix Portable Runtime?
83+
84+
Mendix Portable Runtime is included in the Server-Based subscription portfolio and uses the same license model. If you are entitled to the subscription, you can request a license to use with Mendix Portable Runtime. For more information, see [Licensing Apps](/developerportal/deploy/licensing-apps-outside-mxcloud/).
85+
86+
### Does Mendix Fully Support Deployments using Mendix Portable Runtime on Linux or Cloud Foundry Environments?
87+
88+
Unlike the traditional M2EE-based or Cloud Foundry buildpack deployment, where Mendix fully supports the tooling, handling, and execution of the Mendix application package end-to-end, the Mendix Portable Runtime approach shifts the responsibility model. With Mendix Portable Runtime, the package requires only Java to run, and while Mendix officially supports the Mendix Portable Runtime package itself, all implementation, configuration, and deployment activities are the sole responsibility of the customer, meaning that Mendix does not officially support Linux or Cloud Foundry deployment as a platform, but exclusively supports the Mendix Portable Runtime package and what Mx runtime supports. For more information, see [Support for Different Deployment Strategies](/support/deployment-strategy-support/).
89+
90+
## Read More

0 commit comments

Comments
 (0)