Updated on 2025-10-29 GMT+08:00

Quick Start

This topic describes how to use a VPC to provide an ECS with an IPv4 private network on the cloud and bind an EIP to the ECS to allow the ECS to communicate with the Internet.

For details, see Enabling an ECS to Access the Internet Using an EIP.

Operation Process

Procedure

Description

Preparations

Before using cloud services, sign up for a HUAWEI ID and enable Huawei Cloud services.

Step 1: Create a VPC and Subnet

Create a VPC with an IPv4 CIDR block and create a subnet in the VPC.
  • VPC IPv4 CIDR block: 192.168.0.0/16
  • Subnet IPv4 CIDR block: 192.168.0.0/24

Step 2: Buy an ECS

Buy an ECS in the subnet you have created and configure security group rules for the ECS.

Step 3: Buy an EIP and Bind It to the ECS

Buy an EIP and bind it to the ECS so that the ECS can access the Internet.

Step 4: Test Network Connectivity

To test ECS connectivity, you can:

  1. Log in to the ECS from the local PC.
  2. Access the Internet from the ECS using an EIP.