Updated on 2025-03-21 GMT+08:00

Quick Start

This topic describes how to create a VPC and an ECS to set up an IPv4 private network on the cloud and bind an EIP to the ECS to allow the ECS to access the Internet.

For details, see Setting Up a Network with a VPC and an EIP to Access the Internet.

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 ECS-A01

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.