Deployment Mode

Console Deployment

  • Deploying an application using CCE

    Cloud Container Engine (CCE) provides highly scalable, high-performance, enterprise-class Kubernetes clusters and supports Docker containers. With CCE, you can easily deploy, manage, and scale containerized applications on the cloud platform.

    You can deploy applications on the CCE cluster. The following table describes the parameters that need to be set.

    Table 1 Deployment parameter description

    Parameter

    Description

    *Cluster

    Select the cluster where the application component is located.

    *Instances (Pods)

    Number of instances in an application component. An application component can have one or more instances. You can specify the number of instances as required.

    Configuring multiple instances for an application can ensure high reliability of the application. For such an application, if an instance is faulty, the application can still run properly.

    Resource Quota

    If the application component cannot be scheduled to a node whose available resources are less than the applied resources, you can view available resources on the Node tab page of the Infrastructure > K8S Cluster page. For details about how to configure resources, see Managing Compute Resources for Containers.

  • Deploying an application component using VM

    An Elastic Cloud Server (ECS) provides a virtual computing environment, including the CPU, memory, operating system (OS), disk, and bandwidth. ECSs integrate Virtual Private Cloud (VPC), virtual firewalls, and multi-data-copy capabilities to create an efficient, reliable, and secure computing environment. You can deploy application components on the ECS VM. The following table describes the parameters that need to be set.

    Table 2 Deployment parameter description

    Parameter

    Description

    *AS Groups

    AS group and AS instance of the application component.

    *ECS

    ECS to which the application component belongs.

    An AS group consists of a collection of cloud servers that have the same properties and apply to the same scenario. It is the basis for enabling or disabling AS policies and performing scaling actions.

    Scenarios supporting application component deployment using VM are listed in the following table.

    Table 3 Scenarios supporting application component deployment using VM

    Framework or Runtime System

    Source Code Repository

    WAR Package

    Template

    Docker

    x

    x

    x

    Tomcat8

    x

    √

    x

    php7

    x

    x

    x

    Node.js8

    x

    √

    x

    Java8

    x

    √

    x

    Python3

    x

    x

    x

    Wordpress

    x

    x

    x

    Magento

    x

    x

    x

    Mesher

    x

    x

    x

  • Deploying an application using CCI

    Cloud Container Instance (CCI) is a serverless container engine that allows you to run containers without creating or managing server clusters.

    You can deploy application components on the CCI namespace. The following table describes the parameters that need to be set.

    Table 4 Deployment parameter description

    Parameter

    Description

    *Namespaces

    CCI namespace. For details about how to create a namespace, see CCI Namespaces.

    *Instances (Pods)

    Number of instances in an application component. An application component can have one or more instances. You can specify the number of instances as required.

    Configuring multiple instances for an application can ensure high reliability of the application. For such an application, if an instance is faulty, the application can still run properly.

    *Resource Quota

    Application components cannot be scheduled to nodes whose residual resource value is lower than the request value. For details about how to configure the Request and Limit parameters, see Managing Compute Resources for Containers.