Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Step 2: Buy a VPC Endpoint

Updated on 2025-01-14 GMT+08:00

Scenarios

After you create a VPC endpoint service, you also need to buy a VPC endpoint to access the VPC endpoint service.

This section describes how to buy a VPC endpoint in another VPC of your own.

NOTE:

Select the same region and project as those of the VPC endpoint service.

Procedure

  1. Go to the VPC endpoint list page.
  2. On the VPC Endpoints page, click Buy VPC Endpoint.

    The Buy VPC Endpoint page is displayed.

  3. Configure required parameters.
    Table 1 VPC endpoint parameters

    Parameter

    Example Value

    Description

    Region

    CN-Hong Kong

    Specifies the region where the VPC endpoint is to be located. This region is the same as that of the VPC endpoint service.

    Billing Modes

    Pay-per-use

    Specifies the billing mode of the VPC endpoint. VPC endpoints can be used or deleted at any time.

    VPC endpoints support only pay-per-use billing based on the usage duration.

    Service Category

    Find a service by name

    There are two options:

    • Cloud services: Select this value if the target VPC endpoint service is a cloud service.
    • Find a service by name: Select this value if the target VPC endpoint service is a private service of your own.

    In this example, select Find a service by name.

    VPC Endpoint Service Name

    -

    This parameter is available only when you select Find a service by name for Service Category.

    Enter the VPC endpoint service name recorded in 6 and click Verify.

    • If "Service name found." is displayed, proceed with subsequent operations.
    • If "Service name not found." is displayed, check whether the region is the same as that of the VPC endpoint service or whether the name entered is correct.

    Create a Private Domain Name

    -

    If you want to access a VPC endpoint using a domain name, select Create a Private Domain Name.

    This parameter is mandatory when the VPC endpoint will be used to access an interface VPC endpoint service.

    VPC Endpoint Type

    Interface

    This parameter is displayed based on the type of the VPC endpoint service to be connected.

    • If you are going to connect to an interface VPC endpoint service, Interface is displayed by default.
    • If you are going to connect a gateway VPC endpoint service, Gateway is displayed by default.

    VPC Endpoint Edition

    Professional

    This parameter is mandatory when you are going to connect to an interface VPC endpoint service.

    Professional is selected by default.

    Professional VPC endpoints are available in the CN East2, ME-Riyadh, CN East-Qingdao, and AF-Cairo regions. A VPC endpoint supports up to 10 Gbit/s of bandwidth and IPv4 and IPv6 dual stack.

    Network Type

    IPv4

    This parameter is mandatory when you are going to connecting to an interface VPC endpoint service whose Mode is Advanced.

    This parameter can be set to IPv4 or Dual stack.

    • IPv4: Only IPv4 networks are supported.
    • Dual stack: Both IPv4 and IPv6 networks are supported.

    VPC

    -

    Specifies the VPC where the VPC endpoint is to be deployed.

    Subnet

    -

    Specifies the subnet where the VPC endpoint is to be located.

    IPv4 Address

    -

    IPv4 addresses can be automatically assigned or manually specified.

    IPv6 Address

    -

    This parameter is mandatory when you select Professional for VPC Endpoint Edition and Dual stack for Network Type.

    IPv6 addresses can be automatically assigned or manually specified.

    Access Control

    Enable

    This parameter is available only when you create a VPC endpoint for connecting to an interface VPC endpoint service.

    It controls IP addresses and CIDR blocks that are allowed to access the VPC endpoint.

    • If Access Control is enabled, only IP addresses or CIDR blocks in the whitelist are allowed to access the VPC endpoint.
    • If Access Control is disabled, any IP address or CIDR block can access the VPC endpoint.

    Whitelist

    -

    This parameter is available only when you create a VPC endpoint for connecting to an interface VPC endpoint service.

    It lists the IP addresses or CIDR blocks that are allowed to access the VPC endpoint. You can add a maximum of 20 records.

    Policy

    -

    Specifies the VPC endpoint policy.

    VPC endpoint policies are a type of resource-based policies. You can configure a policy to control which principals can use the VPC endpoint to access VPC endpoint services.

    Tag

    example_key1

    example_value1

    Specifies the tag that is used to classify and identify the VPC endpoint.

    This parameter can be modified after you buy a VPC endpoint.

    Description

    -

    Provides supplementary information about the VPC endpoint.

    Table 2 Tag requirements for VPC endpoints

    Parameter

    Requirement

    Tag key

    • Cannot be left blank.
    • Must be unique for each resource.
    • Can contain a maximum of 36 characters.
    • Can contain only letters, digits, hyphens (-), and underscores (_).

    Tag value

    • Cannot be left blank.
    • Can contain a maximum of 43 characters.
    • Can contain only letters, digits, hyphens (-), and underscores (_).
  4. Confirm the settings and click Next.
    • If all of the settings are correct, click Submit.
    • If any of the settings are incorrect, click Previous to modify the parameter settings as needed, and click Submit.
  5. Manage the connection of the VPC endpoint.
    If the status of the VPC endpoint changes to Accepted, the VPC endpoint is connected to the required VPC endpoint service. If the status is Pending acceptance, connection approval is enabled for the VPC endpoint service, ask the owner of the VPC endpoint service to perform the following operations:
    1. Locate the VPC endpoint service and click its name.
    2. On the displayed page, select the Connection Management tab.
      • If you allow a VPC endpoint to connect to this VPC endpoint service, locate the VPC endpoint and click Accept in the Operation column.
      • If you do not allow a VPC endpoint to connect to this VPC endpoint service, click Reject in the Operation column.
    3. Go back to the VPC endpoint list and check whether the status of the target VPC endpoint changes to Accepted. If yes, the VPC endpoint is connected to the VPC endpoint service.
  6. In the VPC endpoint list, click the ID of the target VPC endpoint to view its details.

    After a VPC endpoint is created, a private IP address is assigned together with a private domain name if you select Create a Private Domain Name during creation.

    You can use the private IP address or private domain name to access the VPC endpoint service.

Configuration Verification

Remotely log in to an ECS in VPC 1 by running an SSH command and access the private IP address or private domain name of the VPC endpoint, as shown in the following figure.

ssh -p Terminal port IP address of the VPC endpoint
CAUTION:

According to the SSH protocol, set the service port to 22 when creating a VPC endpoint service. Or, the SSH command cannot be used for verification.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback