tencent cloud

TencentDB for MongoDB

Release Notes and Announcements
Release Notes
Announcements
User Guide
Product Introduction
Overview
Strengths
Use Cases
Cluster Architecture
Product Specifications
Features
Regions and AZs
Terms
Service Regions and Service Providers
Purchase Guide
Billing Overview
MongoDB Pricing
Billing Formula
Payment Overdue
Backup Space Billing
Configuration Adjustment Billing
Getting Started
Quickly Creating an Instance
Connecting to a TencentDB for MongoDB Instance
Reading/Writing Database
Operation Guide
Access Management
Instance Management
Node Management
Version Upgrade
Network Configuration
Monitoring
Backup and Rollback
Database Audit
Data Security
SSL Authentication
Log Management
Database Management
Multi-AZ Deployment
Disaster Recovery/Read-Only Instances
Parameter Configuration
Recycle Bin
Task Management
Performance Optimization
Data Migration Guide
Practical Tutorial
Optimizing Indexes to Break Through Read/Write Performance Bottlenecks
Troubleshooting Mongos Load Imbalance in Sharded Cluster
Considerations for Using Shard Clusters
Sample of Reading and Writing Data in MongoDB Instance
Methods for Importing and Exporting Data Based on CVM Connected with MongoDB
What to Do for Errors of Repeated Instance Creation and Deletion of Databases with the Same Names?
Troubleshooting MongoDB Connection Failures
Shard Removal Task: Guide for Confirming the Progress and Troubleshooting Issues
Performance Fine-Tuning
Ops and Development Guide
Development Specifications
Command Support in Sharded Cluster v3.2
Command Support in v3.6
Development Ops
Troubleshooting
Increased Slow Queries
Number of Connections Exceeding Limit
API Documentation
History
Introduction
API Category
Making API Requests
Instance APIs
Backup APIs
Account APIs
Other APIs
Task APIs
Introduction
Data Types
Error Codes
Instance Connection
Shell Connection Sample
PHP Connection Sample
Node.js Connection Sample
Java Connection Sample
Python Connection Sample
Python Read/Write Sample
Go Connection Sample
PHP Reconnection Sample
Product Performance
Test Environment
Test Method
Test Result
FAQs
Cost
Features
Sharded Cluster
Instance
Rollback and Backup
Connection
Data Migration
Others
Service Agreement
Service Level Agreement
Terms of Service
Glossary
Contact Us

Quickly Creating an Instance

PDF
フォーカスモード
フォントサイズ
最終更新日: 2025-11-26 10:21:14

Scenarios

You can quickly configure your first TencentDB for MongoDB instance as described in this document.

Prerequisites

A Tencent Cloud account has been registered with identity verification completed.
To register a Tencent Cloud account: Click here to register a Tencent Cloud account.
To complete identity verification: Click here to complete identity verification.
Regions and AZs for database instances have been planned. See Region and AZs.
Virtual Private Clouds (VPCs) and security groups for database instances have been planned. See Creating VPC and Configuring Security Group. Public network access is not supported currently.

Operation Steps

1. Log in to the TencentDB for MongoDB purchase page with a Tencent Cloud account.
2. See the table below to configure default specifications.

Parameter Name
Parameter Description
Billing Mode
Select Pay as You Go. For billing details, see Billing Overview.
Region
Select a region for the instance. You can select the nearest region to reduce access latency.
Once an instance is created successfully, the region cannot be changed. Please select the region with caution.
Please select a region the same as that of Cloud Virtual Machine (CVM) instances. Otherwise, communication through a private network cannot be achieved.
Specification Type
Select a specification type for the database instance.
General: a long-term stable database service deployed on servers with high performance and sufficient bandwidth, with resources isolated and allocated to different instances. It offers a managed MongoDB service featuring high performance, high reliability, and easy management.
Cloud Disk: a database service with a cloud-native architecture and based on various cloud services such as CVM and Cloud Block Storage (CBS). It fully integrates the capabilities of Tencent Cloud's underlying cloud services. It supports quick adjustment of computing specifications and provides quick backup and rollback through cloud disk snapshots, which can facilitate product usage.
Database Version
Select the latest database version.
General Edition (10GE High-I/O Edition): 7.0, 6.0, 5.0, 4.4, 4.2, and 4.0.
Cloud Disk Edition: 6.0, 5.0, 4.4, 4.2, and 4.0.
Architecture Type
Select Replica Set.
Mongod Specs
Use default minimum specifications.
Disk Capacity
Use default specifications.
Number of primary and secondary nodes
Use the default configuration of 3 nodes (1 primary node and 2 secondary nodes).
Network
Only VPC can be selected.
IPv4 Network
Select a specific VPC and its subnet.
Security Group
Set security group rules for the instance to control inbound traffic to the database.
Parameter Template
Use the default configuration.
Instance Name
Set an instance name. Use an easy-to-recognize name. The name can contain any characters with a length of 1 to 128 characters.
Password
Set an access password for the instance. Password complexity requirements:
The length should be between 8 and 32 characters.
Allowed characters include uppercase letters A–Z, lowercase letters a–z, and digits 0–9.
Allowed special characters include "!", "@", "#", "%", "^", "*", "()", and "_".
The password should not consist of only letters or only digits.
Confirm Password
Confirm the username and password again.
3. Select Terms of Service, and click Buy Now in the bottom right corner. A purchase successful prompt is displayed. Then, click Go to the Console, wait for the instance status to become Running in the instance list. At this point, the instance can be used normally.

Subsequent Operations

Use CVM to directly access the private network address of the database instance. See Connecting to TencentDB for MongoDB Instance.
View the information in the instance list and instance details. For more information, see Viewing Instance Details.

Related APIs

API Name
API Feature
Creating a TencentDB for MongoDB Instance (Pay-as-You-Go)

ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック