On the top navigation bar, click Business Apps, and then select Applications from the App Management menu.
Click Create Application to enter the Basic Settings page. For information about configuring basic settings, see "Basic settings."
Click Next to enter the Application Configuration page. For information about application configuration steps and parameters, see "Advanced settings."
Click Next to enter the Confirm Deployment page, and click Create. To modify the application, click Previous.
Table-1 Configuring basic settings
Parameter |
Description |
|
Version |
Specify a version for the application. You can select a history version to roll back to during a rollback operation. |
|
Application Group |
Select an existing application group or click Create Application Group to create a new one. For more information about creating application groups, see "Create an application group." |
|
Software Package |
Select a software package type. Options include Container Image, Jar Package, War Package, and Helm Package, Legacy Package, and Front-end Resources Package.
|
|
Resource Type |
Select the type of the resource where the application will be deployed. |
|
Configure Instance |
Cloud Hosts: Virtual hosts managed by cloud services/cloud host services in this system. To configure a cloud host instance: 3. Click Configure Instance. 4. Enter filter criteria and click Filter to display matching cloud host instances. Filter criteria include AZ, network type, network, IP address, instance name, and deployed applications. You can also create a cloud host instance by clicking Create Instance. 5. Select one or more cloud host instances and enter the root user password of each cloud host instance. A cloud host instance uses the x86 or ARM architecture. If you select multiple cloud host instances, make sure they use the same architecture. 6. Click OK. |
|
Application Port |
Enter the port of a JAR package, WAR package, or front-end resources package. This port must be the one that is actually used by the application. |
|
Access Mode |
Not Configure |
Use the host IP address and application port to access applications. |
Application Domain Name |
Use the domain name to access an application.
|
|
IaaS Load Balancing |
Use the virtual IP address of a load balancer and the listening port of a listener to access an application.
|
|
Cookie Name |
Enter a cookie name, a string of 1 to 32 characters. The name cannot start or end with a dot (.) and cannot contain full-width characters (except Chinese words) or the following special characters: \ /*?"<>| |
|
App Access Path |
After an application is deployed, it can be accessed through IP (domain name):port number/path. |
Table-2 Configuring basic settings for deploying a host application
Parameter |
Description |
Application Installation Package |
Select an installation package from the private or public repository, or upload an installation package as described in "About application repository service." |
Environment Variables |
Configure user-defined environment variables for cloud hosts. You can use the environment variables to edit the configuration of cloud hosts after application deployment. User-defined environment variables cannot be the same as system-defined environment variables as shown in Table-3. You can configure user-defined environment variables by using the following methods:
|
JDK Version |
Select an JDK version for the JAR package. Options include 1.8 and 1.11. |
JVM Parameter |
Configure JVM parameters for the JAR or WAR package. |
Tomcat Version |
Select a Tomcat version for the JAR package. Options include 8.5 and 9.0. |
Tomcat Configuration |
The system provides a default configuration file named server.xml. You can click Change Configuration to upload your file to replace the default configuration. |
Nginx Version |
Specify a Nginx version. Only version 1.20 is supported in the current software version. This parameter appears only when you deploy a front-end resources package. |
Enable HTTPS |
Choose to whether to enable HTTPS. If you enable HTTPS, you must upload a pair of public key certificate and private key certificate. This parameter appears only when you deploy a front-end resources package. |
Public Key Certificate/Private Key Certificate |
Upload a public key certificate or private key certificate: 7. Click upload. 8. Drag a certificate to the window or click click to upload to upload a certificate. |
Nginx Configuration |
Upload a configuration file: 9. Click upload. 10. Drag a configuration file to the window or click click to upload to upload a configuration file. |
Table-3 System-defined environment variables
Software package type |
Environment variables |
WAR package |
|
JAR package |
|
Click Show Advanced Settings to configure advanced settings.
Table-4 Configuring advanced settings for deploying a host application
Parameter |
Description |
Probe Enabling State |
Choose whether to enable probing. Probing can be enabled only if you have installed application diagnostics cloud services. |
Log rotation |
Configure a log rotation policy, If you do not configure a log rotation policy, the system performs a log rotation operation at 4:30 a.m. every day. A log rotation policy defines a rotation period through a CRON expression |