tencent cloud

Cloud Object Storage

Release Notes and Announcements
Release Notes
Announcements
Product Introduction
Overview
Features
Use Cases
Strengths
Concepts
Regions and Access Endpoints
Specifications and Limits
Service Regions and Service Providers
Billing
Billing Overview
Billing Method
Billable Items
Free Tier
Billing Examples
Viewing and Downloading Bill
Payment Overdue
FAQs
Getting Started
Console
Getting Started with COSBrowser
User Guide
Creating Request
Bucket
Object
Data Management
Batch Operation
Global Acceleration
Monitoring and Alarms
Operations Center
Data Processing
Content Moderation
Smart Toolbox
Data Processing Workflow
Application Integration
User Tools
Tool Overview
Installation and Configuration of Environment
COSBrowser
COSCLI (Beta)
COSCMD
COS Migration
FTP Server
Hadoop
COSDistCp
HDFS TO COS
GooseFS-Lite
Online Tools
Diagnostic Tool
Use Cases
Overview
Access Control and Permission Management
Performance Optimization
Accessing COS with AWS S3 SDK
Data Disaster Recovery and Backup
Domain Name Management Practice
Image Processing
Audio/Video Practices
Workflow
Direct Data Upload
Content Moderation
Data Security
Data Verification
Big Data Practice
COS Cost Optimization Solutions
Using COS in the Third-party Applications
Migration Guide
Migrating Local Data to COS
Migrating Data from Third-Party Cloud Storage Service to COS
Migrating Data from URL to COS
Migrating Data Within COS
Migrating Data Between HDFS and COS
Data Lake Storage
Cloud Native Datalake Storage
Metadata Accelerator
GooseFS
Data Processing
Data Processing Overview
Image Processing
Media Processing
Content Moderation
File Processing Service
File Preview
Troubleshooting
Obtaining RequestId
Slow Upload over Public Network
403 Error for COS Access
Resource Access Error
POST Object Common Exceptions
API Documentation
Introduction
Common Request Headers
Common Response Headers
Error Codes
Request Signature
Action List
Service APIs
Bucket APIs
Object APIs
Batch Operation APIs
Data Processing APIs
Job and Workflow
Content Moderation APIs
Cloud Antivirus API
SDK Documentation
SDK Overview
Preparations
Android SDK
C SDK
C++ SDK
.NET(C#) SDK
Flutter SDK
Go SDK
iOS SDK
Java SDK
JavaScript SDK
Node.js SDK
PHP SDK
Python SDK
React Native SDK
Mini Program SDK
Error Codes
Harmony SDK
Endpoint SDK Quality Optimization
Security and Compliance
Data Disaster Recovery
Data Security
Cloud Access Management
FAQs
Popular Questions
General
Billing
Domain Name Compliance Issues
Bucket Configuration
Domain Names and CDN
Object Operations
Logging and Monitoring
Permission Management
Data Processing
Data Security
Pre-signed URL Issues
SDKs
Tools
APIs
Agreements
Service Level Agreement
Privacy Policy
Data Processing And Security Agreement
Contact Us
Glossary

Private Network Access to Metadata-Accelerated Bucket

PDF
Focus Mode
Font Size
Last updated: 2026-01-07 17:31:32

Overview

This document details how to access Tencent Cloud COS Metadata Acceleration Buckets via Direct Connect using VPC Endpoint Service. The Metadata Acceleration feature is a high-performance file system feature launched by COS for big data services. Its underlying layer adopts excellent metadata management capabilities, supporting accessing object storage services via HDFS semantics, which can achieve hundreds of GBs-level bandwidth, hundreds of thousands of QPS, and millisecond-level latency.

Prerequisites

Before starting the configuration, ensure that the following conditions are met:
Network Environment: A cloud infrastructure supporting VPC access has been configured, managed by the Network and VPC team.
Endpoint Service: The Endpoint Service for COS and COS Metadata Acceleration has been created, managed by the COS Metadata-Acceleration team.
Allowlist Authorization: Your account UIN has been added to the Endpoint Service allowlist, managed by the COS Metadata-Acceleration team.
Metadata-Accelerated Bucket: A bucket with the metadata-acceleration feature enabled has been created.

Fee Instructions

Using Endpoint Service will incur additional fees charged by the VPC product. For detailed billing descriptions and examples, see Billing Overview.

Operation Steps

Create COS Endpoint

1. Log in to the VPC Console.
2. Switch to the region where the Metadata Acceleration Bucket you want to access is located. Click New and configure the following parameters to create the endpoint.

Name: Custom endpoint name.
Region: Select the same region as your bucket.
Affiliated Network: Select your VPC network.
Subnet: Select your subnet (the VIP created by the endpoint will be within this subnet range).
IP Address: Select Automatic Assignment.
Service Type: Select Private Service.
Peer Account Type: Select Other Account.
Peer Account UIN: Enter 2832742109. This is the UIN used by the COS endpoint service and remains unchanged.
Endpoint Service ID: Enter the endpoint service ID corresponding to the region where your bucket is located. The regions where COS has deployed endpoints and their corresponding service IDs are as shown in the following table:
Region
Endpoint Service ID
Region
ID of the Endpoint Service
Beijing
vpcsvc-j7f6u7y8
Beijing Finance
vpcsvc-hsuy2wpj
Shanghai
vpcsvc-pp00vfky
Shanghai Finance
vpcsvc-pny969zd
Guangzhou
vpcsvc-okzzl947
Thailand
vpcsvc-i0q3t2v6
Chengdu
vpcsvc-la3dnfti
East US
vpcsvc-fdpg3nm1
Chongqing
vpcsvc-1snqqeih
Brazil
vpcsvc-5edkepjj
Nanjing
vpcsvc-mmoajwvt
West US
vpcsvc-l6fn15sr
Hong Kong (China)
vpcsvc-jejpq2xo
Germany
vpcsvc-r70hxf29
Japan
vpcsvc-q8mwrk38
South Korea
vpcsvc-ocuykgps
Singapore
vpcsvc-71louv91
Indonesia
vpcsvc-8nrq4era
Shanghai Autonomous Driving
vpcsvc-mu3yl0ov
-
-
3. Verify and create. Click Validate to verify. After verification passes, click Confirm to create the endpoint. The system will automatically generate a VIP address. Please record this VIP for subsequent configuration.


Create an Endpoint for the COS Metadata Acceleration Service

1. Log in to the VPC Console.
2. Switch to the region where the metadata accelerated bucket you want to access is located, and create a new endpoint. For configuration instructions, refer to Create a COS Endpoint. Note that the COS metadata acceleration service uses different endpoint services. The regions where endpoints have been deployed and their corresponding service IDs are shown in the table below:
Region
ID of the Endpoint Service
Beijing
vpcsvc-dabvvd8k
Note:
If the region where your Metadata Accelerated Bucket is located does not have a corresponding endpoint service, you can contact us to add it.
3. Verify and create. Click Validate to verify. After verification passes, click Confirm to create the endpoint. The system will automatically generate a VIP address. Please record this VIP for subsequent configuration.

DNS Configuration

After completing the creation of the endpoint, you next need to configure DNS resolution in your local environment. In total, you need to configure resolution for two domain names:
1. DNS Resolution for the COS Metadata Acceleration Service
Domain name format: *.chdfs.<region>.myqcloud.com.
Target address: the VIP address generated by Create COS Metadata Acceleration Service Endpoint.
2. DNS Resolution for the Standard COS Object Storage Service
Format of the domain name: *.cos.<region>.myqcloud.com.
Target address: the VIP address generated by Create COS Endpoint.
Note:
The local hosts file does not support wildcard DNS resolution. If you are configuring via hosts, replace the "*" in the wildcard domain name with the specific bucket-appid. Example: .
10.0.0.12 examplebucket-1250000000.chdfs.ap-beijing.myqcloud.com
10.0.0.13 examplebucket-1250000000.cos.ap-beijing.myqcloud.com

Verification and Testing

1. Basic Connectivity Test
Verify the port connectivity of the endpoint VIP using the telnet command:
telnet <VIP> 80 # Verify the HTTP port
telnet <VIP> 443 # Verify the HTTPS port
2. Verification of Private Network Access
On your compute node, use the nslookup command to resolve the COS domain name and the domain name for metadata acceleration. If it returns the VIP of the endpoint, then it indicates that domain name resolution is successful.
3. Feature Test
Refer to the content of Mount Metadata-Accelerated Bucket to access the metadata-accelerated bucket from the compute node and check whether the feature is functioning properly.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback