Docs Menu

Docs HomeLaunch & Manage MongoDBAtlas CLI

Manage Local and Cloud Deployments from the Atlas CLI

On this page

  • Supported Actions
  • Tutorials

Use the Atlas CLI to work with Atlas, including using Atlas Search and Atlas Vector Search, throughout the entire software development lifecycle from your local environment to the cloud.

Important

Public Preview

The atlas deployments command and subsequent related commands are available as a Public Preview. The feature and corresponding documentation may change at any time in the Public Preview stage. To ask questions and provide feedback, see the Atlas CLI Local Development Community Forum.

With the atlas deployments commands, you can perform the following actions:

  • Create and manage local Atlas deployments. Local Atlas deployments reside on your computer and provide a non-production environment for development.

  • Create and manage Atlas cloud deployments. Cloud Atlas deployments reside in the cloud for non-production and production use.

  • Manage Atlas Search and Atlas Vector Search indexes for your local and cloud Atlas deployments.

Note

For local Atlas deployments, you can manage only deployments that you created with the atlas deployments command. If you created a local Atlas deployment without using the Atlas CLI, you can't manage that deployment with the Atlas CLI.

You can use only atlas deployments Atlas CLI commands with local Atlas deployments. You can use all Atlas CLI commands, including atlas deployments commands, with cloud Atlas deployments.

You can perform the following actions with the atlas deployments command for local and cloud Atlas deployments including, but not limited to:

To learn all of the actions that the atlas deployments command supports, see atlas deployments.

Use the following resources for step-by-step guidance to run atlas deployments commands:

Tutorial
Objective
Create a Local Atlas Deployment
Use the atlas deployments command to create a local Atlas deployment. This tutorial deploys a single-node replica set on your local computer.
Use the atlas deployments command to create a local Atlas deployment with Docker.
Use the atlas deployments search indexes create command to manage Atlas Search indexes and work with Atlas Vector Search locally and in the cloud.
← Create an Atlas Cluster Using a Configuration File