The Apps page lets you create application definitions for any applications deploying to our registry. Doing this creates an 'inventory' of your applications that are part of the registry. Creating an application definition also prepares it for deployment. Refer to our Tutorial: Deploying an application to the MobiledgeX platform for steps on how to deploy a sample application.
The following actions may be performed on this page:
Filter your apps by region
Create a new app definition
Access the quick access menu under Actions to either Update, Delete, or Create Instance.
To specify your application definition:
Navigate to the submenu Apps and click the + sign.
Once the Create App page opens, populate all required fields.
Note: When typing in an application name, do not use underscores.
Warning: Validation between ports/names are not performed automatically. Therefore, when specifying your ports/names, you must ensure that there are no conflicts between them. Otherwise, your deployment will not succeed.
Application version is used as a key within the MobiledgeX platform. This means a given Application is identified by the following:
Although it is a key, the application version is not checked or parsed by the MobiledgeX platform; this is purely provided as a reference for the developer. Any versioning scheme can be used to identify the app version, for example, you can use a github commit ID, an image tag name, or even a string description to identify the app version.
When a new version of an application is created, the MobiledgeX platform will prompt you to upgrade any Application Instances that are on a version of the application that is older than the most recently deployed version. Note that this does not perform any check of the data entered into the version field; it simply checks to see if there is an updated Application with a new version key.
To set up application versioning:
Create a new application version from the Applications screen.
Within the Application Instances screen, you will see the option to upgrade an application in the Actions menu. Additionally, you will see an up-arrow next to the Application Region column. You may upgrade each application instances on this screen by clicking Upgrade on the application instance. Upgrading allows you to upgrade each application instance at your own pace.
To perform a bulk upgrade to all application instances in a specific region, click Upgrade from the Applications screen. The platform will upgrade all the application instances that have been launched from that application.
Note: The platform does not enforce any versioning standards; any value may be added in this field.
Direct vs. Load Balancer Access Type
When creating an application instance, you can determine how the traffic is routed to that application instance.
Dedicated: Select this option to route traffic directly to your application instance. This option is advised for applications that require a range of ports to be opened.
Load Balancer: Select this option to use a load balancer to route traffic to your application instances. Load Balancer provides statistical information that can be used to monitor your application's performance and data points, like the number of connections active, and the amount of data transferred. With the information provided by the Load Balancer, you can make informed decisions about whether to scale up or down your application instances, depending upon performance expectations.
Securing application access with TLS
MobiledgeX provides two ways to quickly and securely deploy your applications using TLS, allowing you to either have full control over your connections or rely on MobiledgeX to manage your TLS connections for you. The following sections explains how to set up TLS connections using either of these options.
For manual control over your connection, first ensure that you have a domain with the ability to add DNS records.
Within the Create Apps page, enable Direct as the Access Type.
Deploy your application instance(s).
Retrieve the URL for your application instance.
Add a DNS CNAME to your DNS configuration that points to the FQDN part of the URI retrieved from the previous step.
Verify that the CNAME resolves appropriately.
Create/retrieve the Certs that correspond to your CNAME, or alternatively a wildcard Cert for your domain.
Configure the application instance to use the Certs.
Finally, test your connection.
MobiledgeX offers TLS termination at the load balancer. With TLS termination, the resulting traffic is sent directly to your application instance, allowing you to quickly and securely deploy your application. Enable the TLS option when you specify your port(s) within the Create Apps page. The TLS option removes the need to generate and manage Certs, and eliminates the requirement to configure your application for TLS.
Within the Create Apps page, Select Load Balancer as the Access Type.
Enable TLS for each port(s) desired.
Ensure your application is listening on the ports enabled; TLS termination will be performed at the load balancer, so you do not need to enable TLS/SSL in your application.