Updated on 2024-06-17 GMT+08:00

Registering a Multi-cloud Cluster

Register a UCS on AWS cluster. After the registration is complete, the cluster is automatically connected to UCS through the public network.

Constraints

Only Huawei Cloud accounts or users with AWS account permissions can register multi-cloud clusters.

Prerequisites

  • You have applied for a multi-cloud cluster trial on the UCS console.
  • The UCS cluster quota and AWS resource quota are sufficient.
  • An access key has been created on the AWS console. See How Do I Obtain an Access Key (AK/SK)?

Procedure

  1. Log in to the UCS console. In the navigation pane, choose Fleets.
  2. Click Register Cluster in the card view of the multi-cloud cluster.
  3. Enter the basic information of the cluster to be registered as listed in the following table. The parameters marked with an asterisk (*) are mandatory.

    Table 1 Parameter settings of registering a cluster

    Parameter

    Description

    Cluster Type

    Select Multi-cloud cluster.

    Cloud Resource Provider

    Select AWS.

    Cluster Name

    Enter a cluster name. Only digits, lowercase letters, and hyphens (-) are allowed, and the name must start with a lowercase letter and cannot end with a hyphen (-).

    Region

    Select the region where the cluster is located, that is, the AWS region. Ensure that the resource quota in the selected region is sufficient.

    Version

    Select 1.23.

    High Availability

    Select Yes. Three EC2s will be automatically created as the master nodes of the cluster.

    Cluster Label

    Optional. You can add labels in the form of key-value pairs to classify clusters. A key or value can contain a maximum of 63 characters starting and ending with a letter or digit. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed.

    Fleet

    Select the fleet that the cluster belongs to.

    A cluster can be added to only one fleet. Fleets are used for fine-grained access management. If you do not select a fleet, the cluster will be displayed on the Clusters Not in Fleet tab upon registration. You can add it to a fleet later.

    When registering a cluster, you cannot select a fleet with cluster federation enabled. To add your cluster to the fleet with cluster federation enabled, register your cluster with UCS first. For details about cluster federation, see Enabling Cluster Federation.

    For details about how to create a fleet, see Managing Fleets.

    Access Key ID*

    Access key ID obtained from AWS IAM, that is, AccessKeyID.

    Secret Access Key*

    Secret access key obtained from AWS IAM, that is, SecretAccessKey.

    Container CIDR Block*

    Container CIDR block of the created Kubernetes cluster.

    Service CIDR Block

    Service CIDR block of the created Kubernetes cluster.

  4. Click OK. After the cluster is registered, wait for automatic connection.