• Cloud Container Engine

cce
  1. Help Center
  2. Cloud Container Engine
  3. User Guide 2.0
  4. Cluster Management
  5. Creating a Node in a VM Cluster

Creating a Node in a VM Cluster

A node is a virtual or physical machine that provides computing resources. You must have sufficient node resources in your cluster to ensure that operations, such as creating applications can be performed.

Prerequisites

  • A cluster is available. For more information about how to create a cluster, see Creating a VM Cluster.
  • A key pair has been created for identity authentication during remote node login. For more information about how to create a key pair, see Creating a VPC and a Key Pair.

Creating a Node

  1. Log in to the CCE console.
  2. In the navigation pane, choose Resource Management > VM Clusters. Click Create Node for the cluster where you want to create a node.
  3. Set the parameters for creating a node.

    Table 1 Parameters for creating a node

    Parameter

    Description

    AZ

    Physical location where resources use independent power supplies and networks. AZs are physically isolated but interconnected through an internal network. To improve application reliability, you are advised to create cloud servers in different AZs.

    Node Name

    Name of the node to be created.

    Specifications

    • General-purpose: provides general computing, storage, and network configurations for the majority of application scenarios; typically used for web servers, development and test environments, and small database applications.
    • Memory-optimized: provides instances with a larger memory size; typically used for memory-intensive applications that process a large amount of data, such as relational databases and NoSQL databases.

    DeH

    A Dedicated Host (DeH) is a physical server dedicated for your use. You can create nodes on a DeH to physically isolate the nodes from those of other tenants.

    • Skip: Skip this setting.
    • Configure: Select an existing DeH.

    OS

    Only EulerOS 2.2 is supported.

    OS upgrade is not supported in the current version.

    Nodes

    Number of nodes.

    EIP

    An independent public IP address. If a node needs to access the Internet, assign a new EIP or use an existing EIP.

    NOTE:

    By default, the SNAT function of VPCs is disabled on CCE. If SNAT is enabled, EIPs are not required for accessing external networks.

    • Do not use: A cloud server without an EIP cannot access the Internet. It can be used only as a cloud server for deploying services or clusters on a private network.
    • Automatically assign: An EIP with exclusive bandwidth is automatically assigned to each cloud server. When creating an ECS, ensure that the EIP quota is sufficient. Set the specifications and bandwidth as required.
    • Specify: An existing EIP is assigned to the cloud server.

    Disk

    Disk type, which can be System Disk or Data Disk.

    • The system disk capacity is configurable and ranges from 40 to 1024 GB. The default value is 40 GB.
    • The data disk capacity is configurable and ranges from 100 to 32678 GB. The default value is 100 GB.

    Data disks deliver three levels of I/O performance:

    • Common I/O: EVS disks of this level provide reliable block storage and a maximum IOPS of 1000 per disk. They are suitable for key applications.
    • High I/O: EVS disks of this level provide a maximum IOPS of 3,000 and a minimum read/write latency of 1 ms. They are suitable for RDS, NoSQL, data warehouse, and file system applications.
    • Ultra-high I/O: EVS disks of this level provide a maximum IOPS of 20,000 and a minimum read/write latency of 1 ms. They are suitable for RDS, NoSQL, and data warehouse applications.

    Key Pair

    Used for identity authentication when you remotely log in to a node. Select an existing key pair.

    If no key pair is available, click Create a key pair and create one.

    Advanced Settings

    • Do not configure: Skip the advanced settings.
    • Configure now: Currently, advanced settings contain only File Injection.
      NOTE:

      Use the file injection function to inject script files into ECSs to:

      • Simplify ECS configuration.
      • Initialize ECS OS configuration.
      • Upload your scripts to an ECS during ECS creation.
      1. Click Add File.
      2. Enter the file path or the file name. In Linux, enter the file path that contains the file name (for example, /etc/foo.txt). The file name can contain only letters and digits.
      3. Click Select File, and select a script that meets the OS requirements.

  4. Click Create Now, review the details, and click Submit.

Logging In to a VM Node

Use the key authentication mode to log in to a VM node created by CCE. For more information, see Login Using an SSH Key.
NOTE:

If you use a Windows OS to log in to a Linux node, set the image username (that is, Auto-login username) to root.

Deleting a Node

Deleting a node will also delete applications and services running on the node. Exercise caution when performing this operation.

  1. Log in to the CCE console. In the navigation pane, choose Resource Management > Nodes.
  2. Click Delete for the node to be deleted.
  3. Follow the prompts to delete the node.