---
title: MongoDB Atlas
description: "# How to Connect PeaSoup S3 to MongoDB Atlas Follow these steps to configure MongoDB Atlas to store backups or archives on PeaSoup S3. Since PeaSoup provides an S3-compatible API, it can be used as a cloud storage solution for…"
url: "https://peasoup.cloud/docs/mongodb-atlas/"
updated: "2024-11-06"
category: "S3-compatible Storage Knowledge Base / Connecting S3 Clients"
---

# MongoDB Atlas

# How to Connect PeaSoup S3 to MongoDB Atlas

Follow these steps to configure MongoDB Atlas to store backups or archives on PeaSoup S3. Since PeaSoup provides an S3-compatible API, it can be used as a cloud storage solution for backing up your MongoDB data.

## Prerequisites

- **PeaSoup S3 Access**: Ensure you have the following details:
  - Access key
  - Secret key
  - Bucket name
  - PeaSoup S3 endpoint URL https://**s3.eu-west-1.peasoup.cloud**
- **MongoDB Atlas** account with admin privileges and access to backups.

## Steps to Connect PeaSoup S3 to MongoDB Atlas

1. **Log into MongoDB Atlas**:
   - Go to the [MongoDB Atlas Dashboard](https://cloud.mongodb.com/) and log in using your MongoDB Atlas account credentials.
2. **Create a Custom Backup Policy (Optional)**:
   - In the MongoDB Atlas dashboard, navigate to the *Backups* section.
   - Here you can review your existing backup policies or create a custom backup policy to define when and how frequently data is backed up.
3. **Set Up PeaSoup S3 for Backup Storage**:
   - MongoDB Atlas allows the use of custom S3-compatible storage for backing up and archiving your data. To configure PeaSoup S3 as the destination for backups:
     - Go to the *Cloud Backup Settings* section in MongoDB Atlas.
     - Select **Custom S3 Storage** as the storage provider.
     - Enter the following details:
       - **Access Key**: Enter your PeaSoup S3 access key.
       - **Secret Key**: Enter your PeaSoup S3 secret key.
       - **Bucket Name**: Enter the name of your PeaSoup S3 bucket where backups will be stored.
       - **Endpoint URL**: Enter the PeaSoup S3 endpoint URL https://**s3.eu-west-1.peasoup.cloud**
       - **Region**: Enter the region if required by PeaSoup (optional).
   - Click *Save* to add the PeaSoup S3 configuration.
4. **Configure Snapshot Schedule (Optional)**:
   - In the MongoDB Atlas backup settings, you can configure the snapshot schedule for your backups.
   - Set the frequency (e.g., daily, weekly) and the retention period for your snapshots to be stored in PeaSoup S3.
   - This ensures that MongoDB backups are regularly copied to your PeaSoup S3 bucket.
5. **Test the Backup Configuration**:
   - Once PeaSoup S3 is set up as a custom S3 storage target, run a test backup to ensure everything is working correctly.
   - Monitor the backup logs in MongoDB Atlas to verify that the backup data is being successfully stored in PeaSoup S3.
6. **Restore Data from PeaSoup S3 (Optional)**:
   - If you need to restore your MongoDB Atlas data from PeaSoup S3, navigate to the *Restores* section in MongoDB Atlas.
   - Select the desired backup snapshot from PeaSoup S3 and initiate the restoration process.
   - Follow the prompts to restore the data back to your MongoDB Atlas cluster or a new environment.

## Optional: Configure PeaSoup S3 for Continuous Backup

- MongoDB Atlas also offers continuous backup options. You can use PeaSoup S3 for storing these continuous backup snapshots by ensuring the appropriate credentials and settings are configured as described above.

## Notes

- Ensure that PeaSoup S3 is accessible from MongoDB Atlas and that the appropriate network and firewall settings are in place to allow communication between MongoDB Atlas and PeaSoup S3.
- PeaSoup’s S3-compatible API makes it an excellent option for MongoDB Atlas users looking for flexible, scalable backup storage solutions.
