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

Querying and Accessing a VPC Endpoint

Updated on 2022-01-25 GMT+08:00

Scenarios

After a VPC endpoint is created, you can query its details and access it.

Querying a VPC Endpoint

Perform the following operations to query details about a VPC endpoint, including the ID, associated VPC endpoint service name, VPC, and status.

  1. Log in to the management console.
  2. Click in the upper left corner and select the required region and project.
  1. Choose Service List > Networking > VPC Endpoint.

    On the displayed page, locate the target VPC endpoint by entering a keyword in the search box in the upper right corner:

    • Search by VPC endpoint service name or VPC endpoint ID.
      1. Select VPC endpoint service name or ID in the filter box.
      2. Enter a keyword in the search box.
      3. Click to start the search.

        VPC endpoints containing the keyword are displayed in the VPC endpoint list.

    • Search by preset tag.
      1. Click in Search by Tag.
      2. Enter a tag and a value.

        Enter a key or value or select a key or value from the drop-down list.

        You can use a maximum of 10 tags to search for a VPC endpoint.

      3. Click Search.

        VPC endpoints containing the specified tag are displayed in the VPC endpoint list.

        If you set multiple tags, VPC endpoints containing all the specified tags will be displayed.

  2. In the VPC endpoint list, click before the target VPC endpoint to view its details.

    After a VPC endpoint is created, a private IP address is assigned.

    Table 1 Required parameters

    Parameter

    Description

    VPC Endpoint Service Name

    Specifies the name of the VPC endpoint service that the VPC endpoint is used to access.

    Private IP Address

    Specifies the IP address for accessing the VPC endpoint.

    Private Domain Name

    Specifies the private domain name for accessing the VPC endpoint.

Accessing a VPC Endpoint Using a Private IP Address

Perform the following operations to access a VPC endpoint using its private IP address:

  1. In the VPC that the VPC endpoint belongs to, log in to the backend resource, for example, an ECS.
  2. Select a command based on the backend resource type and run the command to access the VPC endpoint. The command format is as follows:

    Command Private IP address:Port number

    The following is a command example:

    curl Private IP address:Port number

Accessing a VPC Endpoint (Using a Private Domain Name)

You can access a VPC endpoint using its private domain name if you select Create a Private Domain Name when creating the endpoint.

The system automatically creates a private zone for the generated domain name and adds A record set for the private zone to resolve the domain name into the private IP address of the VPC endpoint.

You can view the corresponding private zone and its resolution records on the DNS console.

Viewing the record set of the private domain name

  1. Log in to the management console.
  2. In the service list, choose Network > Domain Name Service.

    The DNS console is displayed.

  3. In the navigation pane, choose Private Zones.

    The Private Zones page is displayed.

  1. In the private zone list, click the name of the target private zone.

    The record set page is displayed.

  2. In the record set list, locate the target A record set and view its information.

    When the value in the Status column changes to Normal, the resolution takes effect.

Accessing a VPC endpoint using a private domain name

  1. In the VPC that the VPC endpoint belongs to, log in to the backend resource, for example, an ECS.
  2. Select a command based on the backend resource type and run the command to access the VPC endpoint. The command format is as follows:

    Command Private domain name:Port number

    The following is a command example:

    curl Private domain name:Port number

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