Web+ is a platform-based service that allows you to create and deploy applications with ease. This topic describes how to use the console create and deploy an application that runs in a Tomcat-based application container.

Prerequisites

Activate related services and authorize roles

Step 1: Create and deploy an application

Before deploying an application, please follow these steps.

  1. Log on to the Web+ console.
  2. On the Overview page, click Create in the upper-right corner of the Last Updated environments section.
  3. Configure the required settings in the Basic Information step, and click Next after the configuration is complete.
    Setting Description
    Tech Stack Type The type of the technology stack. You can select Tomcat, Java, Node.js, Go, PHP, Python, ASP.NET Core, Ruby or Native. Each technology stack type is different from one another. This topic takes Tomcat as an example. A Tomcat application container supports deployment packages of the WAR or ZIP type.
    Application Name The name of the application. Enter doc-test.
    Application Description (optional) The description of the application. Enter document testing.
  4. In the Environment Information step, configure the required environment and deployment package settings. Click Creation Complete after the configuration is complete. Then, click OK in the Note dialog box to complete the creation of the environment.
    Setting Description
    Technology Stack Version The version of the technology stack. You can select a technology stack version from the drop-down list. An option marked with a star icon indicates a recommended technology stack version.
    Environment Name The name of the environment. Enter test-env.
    Environment Description The description of the environment. Enter an environment for document testing.
    Deployment Package Source You can select Upload Local Application or Use Sample Application. Select Use Sample Application. You can use the deployment package of a default sample application that is provided by Web App Service rather than uploading a deployment package.
    Deployment Package Version Web App Service provides a default deployment package version. However, you can change the default deployment package version.
    Version Description The description of a version for the deployment package. Enter deployment package V1.
  5. In the Creation Complete step, you can view the progress of the application.
    • Click View Application or Creation Complete to open the Application Details page.
    • Select Versions to view a list of environment versions.
    • Select Logs to view a list of environment events.

Step 2: Access the homepage of an application

After creating the application and environment, you can view the public IP address of the application on the Overview tab of the Environment Details page in the Web+ console.

  1. Log on to the Web+ console.
  2. On the Overview page, click View All in the upper-right corner of the Last Updated Environments section. On the Applications and Environments page, click an application ID to open the Application Details page.
    Note After you open the Application Details page, the Overview page is displayed by default. If you are not directed to the Overview page, click Overview in the left-side navigation pane.
  3. Click a deployment name in the Environments section to open the Overview tab of the Environment Details page.
  4. If an application is running, you can click the link next to the Public IP Address to go to the homepage of the application.

Step 3: Delete an application

Before deleting an application, you must release all related environments. After you release these environments, resources that are included in these environments will be released. These resources include Elastic Compute Service (ECS) and Server Load Balancer (SLB) instances. Then, you will no longer be charged for these released resources.

  1. Release a environment:
    1. Log to the Web+ console.
    2. On the Overview page, click View All in the upper-right corner of the Last Updated Environments section. On the Applications and Environments page, click the ID of an application to be deleted to go to the Application Details page.
      Note After you go to the Application Details page, the Overview page is displayed by default. If you are not directed to the Overview page, click Overview in the left-side navigation pane.
    3. Click the more choice icon in the upper-right corner of a environment card and select Release from the drop-down list.
    4. In the Confirm Environment Release dialog box, enter the name of a environment to be deleted and click OK.
    5. If an application is deployed in multiple environments, repeat the preceding steps to release all environments that run the application.
  2. Go to the Application Details page. Click Delete Application in the Confirm Application Deletion dialog box, click OK to complete the deletion.

More information