The TencentDB for MongoDB console makes working with database instances simple without having to write code or run programs.
You have registered a Tencent Cloud account and completed identity verification.
To register a Tencent Cloud account:
To verify your identity:
Log in to the TencentDB for MongoDB purchase page with a Tencent Cloud account.
Specify instance configurations as needed. Required configuration items are as follows.
Configuration Item | Description |
---|---|
Billing Mode | Pay-as-you-go is supported. For more information, see Billing Overview. |
Region | Select a region where your instance resides. We recommend you select a region closest to you to reduce access latency.
|
Availability Zone | Both single-AZ and multi-AZ deployment schemes are supported.
|
Configuration Type | Select the configuration type of the instance. Ten-Gigabit High IO is selected by default. |
Version | Select the database version. MongoDB 4.2, 4.0, 3.6, and 3.2 are supported. For more information, see Storage Engine and Version. |
Engine | The default storage engine is WiredTiger. Only MongoDB 3.2 supports Rocks. For more information, see Storage Engine and Version. |
Instance Type | Select the instance architecture. Replica set and sharded cluster are supported. For more information, see System Architecture.
|
Shard Quantity | Set the number of shards for a sharded cluster instance. Value range: [2,20]. The more the shards, the larger the cluster storage capacity. |
Nodes per Shard | Set the number of nodes per shard for a sharded cluster instance. By default, each shard has one primary node and two secondary nodes, which currently cannot be modified. |
mongos Specs | You can select the mongos specification for a MongoDB 4.2 sharded cluster instance. |
mongos Quantity | You can set the number of mongos for a MongoDB 4.2 sharded cluster instance. Value range: [3,32]. |
configServer Specs | For a MongoDB 4.2 sharded cluster instance, the default specification of configServer is 1 core, 2 GB memory, 20 GB storage, and three replicas, which cannot be modified. |
configServer Storage | For a MongoDB 4.2 sharded cluster instance, the default specification of configServer is 1 core, 2 GB memory, 20 GB storage, and three replicas, which cannot be modified. |
mongod Specs | Select the computing specification for your database instance. For available computing specifications, see Billing Overview. |
Capacity | It is the disk capacity of each mongod node. After you select the mongod computing specification, the default disk capacity will be matched, and you can also select another capacity on the slider as needed. Here, the default oplog storage space is 10% of the selected storage capacity. |
Network | Both VPC (recommended) and classic network are supported. If you select the private network, only devices in the selected subnet can access the database instance. If you select the classic network, only devices in the selected classic network can access the database instance. If you need new networks, you can create VPCs or subnets. |
IP Version | IPv6 address access is currently not supported. |
Project | Assign your instance to a project for easy management. |
Tag | Add tags to your instance for easy classification and management. Click Add to select tag keys and values. |
Instance Name | You can select Set After Creation or Set Now. The instance name can contain up to 60 letters, digits, or symbols (-_). |
Set a password | Set Now is selected by default. |
Username | Default instance username. In MongoDB 3.2, `rwuser` and `mongouser` are the default users. In versions later than MongoDB 3.2, `mongouser` is the default user. After the instance is created, you can create custom accounts. |
Password | Set a password for the default instance user. Required password strength:
|
Confirm Password | Enter your password again. |
Security Group | Set security group rules to control the inbound/outbound traffic to/from your instance. You can either select a security group from the Existing Security Groups drop-down list or click Custom Security Groups to create one and set inbound/outbound rules. For more information, see Security Group. |
Quantity | You can purchase up to 30 pay-as-you-go instances in each region and up to ten instances each time. |
Click Billing Details to view product pricing and confirm the total fees.
Click Buy Now. After the purchase success message is displayed, click Go to Console to enter the instance list page. After the instance's status becomes Running, you can use it.
For more information on how to create TencentDB instances via the API, see CreateDBInstanceHour.
Was this page helpful?