Create a Cluster
MongoDB Atlas for Government-managed Atlas deployments, or "clusters", can be either a replica set or a sharded cluster. This tutorial walks you through creating a replica set.
Atlas for Government Considerations
AtlasGov clusters must be tier
M20
or higher. Atlas does not support free, flex, and shared clusters .You must designate projects for either standard or government (
gov
) region usage upon creation. You cannot deploy clusters across government and standard regions in the same project.
Procedure
To deploy a cluster in MongoDB Atlas for Government:
Navigate to the Clusters page for your project.
Click the Context drop down in the top left corner to select the project in which to deploy your cluster.
Tip
See also: Atlas documentation
To learn more about creating and managing organizations and projects, see Manage Organizations and Manage Projects.
Select your preferred Cloud Provider & Region.
From the Cloud Provider & Region section, you can also choose to deploy your cluster across multiple regions. Multi-region clusters can better withstand data center outages and may contain dedicated geographic regions for localized reads, thereby improving performance.
Important
You cannot deploy clusters across government and standard regions.
Tip
See also: Atlas documentation
To learn more about multi-region clusters, see High Availability and Workload Isolation Options.
Select a Cluster Tier.
The selected tier dictates the memory, storage, and IOPS specification for each data-bearing server [1] in the cluster.
MongoDB Atlas for Government clusters support Cluster Auto-Scaling. When auto-scaling is enabled, AtlasGov automatically scales your cluster tier, storage capacity, or both in response to cluster usage. Consider enabling auto-scaling to allow your cluster to adapt to your current workload and reduce the need to make manual optimizations.
Cluster storage scaling automatically increases your cluster storage capacity when 90% of disk capacity is used. This setting is on by default to help ensure that your cluster can always support sudden influxes of data.
Cluster tier scaling automatically scales your cluster tier up or down in response to various cluster metrics. You must manually opt-in to cluster tier scaling.
When you enable cluster tier scaling, you set:
A maximum cluster tier to which your cluster can automatically scale up, and
(Optional) A minimum tier to which your cluster can scale down.
Tip
See also: Atlas documentation
To learn more about selecting appropriate cluster tier and storage settings for your workload, see Select Cluster Tier and Customize Cluster Storage.
[1] | For replica sets, the data-bearing servers are the servers hosting the replica set nodes. For sharded clusters, the data-bearing servers are the servers hosting the shards. For sharded clusters, AtlasGov also deploys servers for the config servers; these are charged at a rate separate from the cluster costs. |
Next Steps
To access your cluster, you must allow your IP address.