atlas cluster create
Create one cluster in the specified project
Options
Name | Description |
---|---|
--backup | If true, enables Continuous Cloud Backup for your deployment |
--biConnector | If true, enables BI Connector for Atlas on the deployment |
--diskSizeGB <diskSizeGB> | Capacity, in gigabytes, of the host's root volume |
--file, -f <file> | File name to use, optional file with a json cluster configuration |
--mdbVersion <mdbVersion> | MongoDB version of the cluster to deploy |
--members, -m <members> | Number of members in the replica set |
--output, -o <output> | Output format. Valid values are json, json-path, go-template, or go-template-file |
--projectId <projectId> | Project ID to use. Overrides the settings in the configuration file or environment variable |
--provider <provider> | Name of your cloud service provider. Valid values are AWS, AZURE, or GCP |
--region, -r <region> | Physical location of your MongoDB cluster. For a complete list of supported AWS regions, see: https://docs.atlas.mongodb.com/reference/amazon-aws/#amazon-aws. For a complete list of supported Azure regions, see: https://docs.atlas.mongodb.com/reference/microsoft-azure/#microsoft-azure. For a complete list of supported GCP regions, see: https://docs.atlas.mongodb.com/reference/google-gcp/#google-gcp |
--shards, -s <shards> | Number of shards in the cluster |
--tier <tier> | Tier for each data-bearing server in the cluster |
--type <type> | Type of the cluster that you want to create. Valid values are REPLICASET or SHARDED |