Preparations

Before enabling Istio for a cluster, perform the following operations.

Creating a VPC

Virtual Private Cloud (VPC) provides a logically isolated, configurable, and manageable virtual network environment, improving resource security and simplifying network deployment.

  1. Log in to the VPC console.

  2. Click Create VPC in the upper right corner.

  3. Configure the parameters as prompted and click Create Now.

Creating a Key Pair

Create a key pair for identity authentication upon remote node login.

  1. Log in to the Elastic Cloud Server (ECS) console.

  2. In the navigation pane, choose Key Pair. On the page displayed, click Create Key Pair in the upper right corner.

  3. Enter a key pair name and click OK.

  4. Manually or automatically download the private key file. The file name is the specified key pair name with a suffix of .pem. Securely store the private key file. In the dialog box displayed, click OK.

    Note

    For security purposes, a key pair can be downloaded only once. Keep it secure to ensure successful login.

Creating a Load Balancer

A load balancer will be used as the external access entry of a service mesh, which will route the traffic to backend services.

  1. Log in to the Elastic Load Balance (ELB) console.

  2. Click Create Elastic Load Balancer in the upper right corner.

  3. VPC and Subnet: Select the VPC and subnet created in Creating a VPC, configure other parameters as prompted, and click Create Now.

Creating a Cluster

  1. Log in to the CCE console.

  2. Then, click Create CCE Cluster in the upper right corner.

  3. Configure the following parameters:

    • Cluster Name: Enter a cluster name, for example, cluster-test.

    • VPC and Subnet: Select the VPC and subnet created in Creating a VPC.

    Retain the default settings of other parameters.

  4. Click Next: Select Add-on.

  5. Click Next: Confirm. Read the product constraints and select I am aware of the above limitations. Review the configured parameters and specifications.

  6. Submit the order.

    It takes about 6 to 10 minutes to create a cluster. You can click Back to Cluster List to perform other operations on the cluster or click Go to Cluster Events to view the cluster details.

(Optional) Creating a Namespace

  1. Log in to the CCE console and click the cluster name to access the cluster console.

  2. In the navigation pane on the left, choose Namespaces. In the upper right corner, click Create Namespace.

  3. Enter a namespace name and click OK.

Creating a Workload and a Service

  1. Log in to the CCE console and click the cluster name to access the cluster console.

  2. Choose Workloads > Deployments. In the the upper right corner, click Create Workload.

  3. Create a workload and a Service by referring to CCE User Guide.