All Products
Search
Document Center

Serverless App Engine:Configure host bindings

Last Updated:Sep 03, 2024

SAE supports application instances. It uses host bindings to resolve host names and enable you to access application instances based on host names. This topic describes how to set host bindings in the SAE console.

Procedure

Configure host bindings during application creation

  1. Log on to the SAE console.

  2. In the left-side navigation pane, click Applications. In the top navigation bar, select a region. Then, click Create Application.

  3. In the Basic Information step, configure the parameters and click Next: Application Deployment Configurations.

  4. In the Deployment Configurations step, configure the Technology Stack Programming Language and Application Deployment Method parameters and the corresponding settings.

  5. In the Hosts Binding Settings section, enter the host binding configuration items.
    Hosts
  6. Click Next: Confirm Specifications.

  7. In the Specification Confirmation step, view the details of the application and the fee for the selected specifications. Then, click Confirm.

    The Creation Completed step appears. You can click Application Details to go to the Basic Information page of the application.

  8. Verify the results.
    The host bindings take effect after you create the application. You can use the domain name to access the application.

Configure host bindings during application deployment

Warning

After you redeploy an application, the application is restarted. To prevent unpredictable errors such as business interruptions, we recommend that you deploy applications during off-peak hours.

The procedure that can be performed to update an application varies based on the number of instances in the application. This section provides an example on how to configure the required features for an application in which the number of instances is greater than or equal to 1. For information about how to update an application in which the number of instances is 0, see Update an application.

  1. Log on to the SAE console.

  2. In the left-side navigation pane, click Applications. In the top navigation bar, select a region. Then, click the name of an application.

  3. In the upper-right corner of the Basic Information page, click Deploy Application.

  4. In the Hosts Binding Settings section, enter the host binding configuration items.
    Hosts
  5. After you configure the settings, click Confirm.
  6. Verify the results.
    The host bindings take effect after you deploy the application. You can use the domain name to access the application.